:root {
    --telegram-blue: #0088cc;
    --telegram-light: #ebf5ff;
    --telegram-accent: #33c4ff;
    --discord-purple: #5865F2;
    --discord-dark: #404EED;
    --discord-neon: #ff73fa;
    --dark-bg: #0f0f13;
    --light-text: #f0f0f0;
    --accent-pink: #ff4d8d;
    --neon-blue: #00c6ff;
    --neon-green: #00ff9d;
    --crysix-signature: #7b2cbf;
    --glass-bg: rgba(30, 30, 42, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Parallax Background Layers */
.parallax-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.layer-1 {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" fill="none" stroke="rgba(51,196,255,0.05)" stroke-width="1"><circle cx="50" cy="50" r="40"/></svg>') repeat;
    opacity: 0.3;
}

.layer-2 {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50" fill="none" stroke="rgba(255,115,250,0.05)" stroke-width="1"><path d="M0 25 L50 25"/></svg>') repeat;
    opacity: 0.2;
}

.layer-3 {
    background: radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.1) 0%, transparent 50%);
    opacity: 0.4;
}

canvas#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    margin: 30px auto;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3rem;
    color: var(--light-text);
    position: relative;
    text-shadow: 0 0 15px rgba(255, 115, 250, 0.5);
    text-align: center;
    font-weight: 800;
    letter-spacing: -1px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--telegram-accent), transparent);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(51, 196, 255, 0.7);
}

/* Modal Trigger Button */
.modal-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--crysix-signature), var(--neon-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 
        0 0 20px rgba(123, 44, 191, 0.5),
        0 0 40px rgba(0, 198, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
    outline: none;
    animation: pulse 2s infinite;
}

.modal-trigger i {
    color: white;
    font-size: 1.5rem;
}

.modal-trigger:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 
        0 0 30px rgba(123, 44, 191, 0.7),
        0 0 50px rgba(0, 198, 255, 0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.modal-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: var(--glass-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(123, 44, 191, 0.3);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

/* Modal Header */
.modal-header {
    padding: 20px;
    background: linear-gradient(90deg, rgba(123, 44, 191, 0.3), rgba(0, 198, 255, 0.2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"><path d="M0 0 L100 100 M100 0 L0 100"/></svg>');
    opacity: 0.3;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title i {
    color: var(--neon-blue);
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    color: white;
}

.modal-close:hover {
    background: rgba(255, 77, 141, 0.3);
    transform: rotate(90deg);
    color: var(--accent-pink);
}

/* Modal Body */
.modal-body {
    padding: 30px;
    position: relative;
}

.modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="rgba(123,44,191,0.1)" stroke-width="0.5"><circle cx="10" cy="10" r="8"/></svg>');
    opacity: 0.3;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    position: relative;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.3), rgba(0, 198, 255, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--neon-blue);
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.2);
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    word-break: break-all;
}

/* Modal Footer */
.modal-footer {
    padding: 20px;
    text-align: center;
    background: linear-gradient(90deg, rgba(123, 44, 191, 0.1), rgba(0, 198, 255, 0.1));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.modal-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="20" viewBox="0 0 100 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"><path d="M0 10 L100 10"/></svg>');
    opacity: 0.3;
}

.status-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    font-style: italic;
}

.status-message::before, .status-message::after {
    content: '🖤';
    margin: 0 5px;
}

/* Neon Text Effect */
.neon-text {
    text-shadow: 
        0 0 5px rgba(0, 198, 255, 0.5),
        0 0 10px rgba(123, 44, 191, 0.3);
}

/* Contact Cards */
.contact-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    perspective: 1200px;
    width: 100%;
    position: relative;
}

/* Telegram Card */
.card-telegram {
    background: linear-gradient(135deg, #121218, #1e1e2a);
    border-radius: 20px;
    padding: 30px;
    width: 320px;
    box-shadow: 
        0 10px 30px rgba(0, 136, 204, 0.2),
        inset 0 0 0 1px rgba(51, 196, 255, 0.1),
        inset 0 0 20px rgba(123, 44, 191, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(123, 44, 191, 0.3);
}

.card-telegram::after {
    content: '13:00 ~ 17:00 МСК';
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    color: rgba(123, 44, 191, 0.7);
    letter-spacing: 1px;
    z-index: 2;
}

.card-telegram .pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24" fill="none" stroke="rgba(51,196,255,0.1)" stroke-width="1"><path d="M22 2L11 13"/><path d="M22 2l-7 20-4-9-9-4 20-7z"/></svg>') repeat;
    opacity: 0.3;
    transition: transform 0.5s ease, opacity 0.5s ease;
    animation: patternSway 10s ease-in-out infinite;
    z-index: 0;
    transform-style: preserve-3d;
}

@keyframes patternSway {
    0% { transform: translateX(0) translateY(0) rotateX(2deg) rotateY(2deg); }
    50% { transform: translateX(-10px) translateY(-10px) rotateX(-2deg) rotateY(-2deg); }
    100% { transform: translateX(0) translateY(0) rotateX(2deg) rotateY(2deg); }
}

.card-telegram:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 20px 50px rgba(0, 136, 204, 0.4),
        inset 0 0 0 1px rgba(51, 196, 255, 0.3),
        inset 0 0 30px rgba(123, 44, 191, 0.4);
    border-color: var(--telegram-accent);
}

.card-telegram:hover .pattern {
    transform: translateY(-20px) translateX(-20px);
    opacity: 0.5;
}

.card-telegram .icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.2), rgba(51, 196, 255, 0.2));
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(0, 136, 204, 0.3),
        inset 0 0 10px rgba(51, 196, 255, 0.3);
    transition: all 0.5s ease;
    z-index: 2;
}

.card-telegram:hover .icon-container {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 
        0 0 30px rgba(0, 136, 204, 0.5),
        inset 0 0 15px rgba(51, 196, 255, 0.5);
    background: linear-gradient(135deg, var(--telegram-blue), var(--telegram-accent));
}

.card-telegram .icon-container::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(51, 196, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    transition: none;
    animation: telegram-ring 1.5s ease-in-out infinite;
    z-index: -1;
}

.card-telegram:hover .icon-container::after {
    animation: telegram-ring 1.5s ease-in-out infinite;
}

@keyframes telegram-ring {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.card-telegram .icon {
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(51, 196, 255, 0.5);
    position: relative;
    z-index: 1;
}

.card-telegram .icon-bg {
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    color: var(--telegram-blue);
    z-index: 0;
}

.card-telegram h2 {
    color: var(--telegram-accent);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    transition: transform 0.4s ease;
    z-index: 2;
}

.card-telegram:hover h2 {
    transform: translateX(5px);
}

.card-telegram h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--telegram-blue), var(--telegram-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.card-telegram:hover h2::after {
    transform: scaleX(1);
}

.card-telegram p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    transition: transform 0.4s ease;
    z-index: 2;
}

.card-telegram:hover p {
    transform: translateX(5px);
}

.card-telegram .username {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, var(--telegram-blue), var(--telegram-accent));
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.card-telegram .username::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(51, 196, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.card-telegram .username:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.card-telegram .username:hover {
    transform: translateY(-3px) translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
}

/* Discord Card */
.card-discord {
    background: linear-gradient(135deg, #121218, #1e1e2a);
    border-radius: 20px;
    padding: 30px;
    width: 320px;
    box-shadow: 
        0 10px 30px rgba(88, 101, 242, 0.2),
        inset 0 0 0 1px rgba(255, 115, 250, 0.2),
        inset 0 0 20px rgba(88, 101, 242, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(123, 44, 191, 0.3);
}

.card-discord::after {
    content: '*Запрещен в РФ!';
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    color: rgba(123, 44, 191, 0.7);
    letter-spacing: 1px;
    z-index: 2;
}

.card-discord .pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="rgba(255,115,250,0.1)"><circle cx="5" cy="5" r="1"/></svg>') repeat;
    opacity: 0.3;
    transition: transform 0.5s ease, opacity 0.5s ease;
    animation: patternSway 10s ease-in-out infinite;
    z-index: 0;
    transform-style: preserve-3d;
}

.card-discord:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 20px 50px rgba(88, 101, 242, 0.4),
        inset 0 0 0 1px rgba(255, 115, 250, 0.4),
        inset 0 0 30px rgba(88, 101, 242, 0.3);
    border-color: var(--discord-neon);
    animation: crysix-pulse 2s infinite;
}

@keyframes crysix-pulse {
    0%, 100% { 
        box-shadow: 
            0 20px 50px rgba(88, 101, 242, 0.4),
            inset 0 0 0 1px rgba(255, 115, 250, 0.4),
            inset 0 0 30px rgba(88, 101, 242, 0.3);
    }
    50% { 
        box-shadow: 
            0 20px 50px rgba(88, 101, 242, 0.6),
            inset 0 0 0 1px rgba(255, 115, 250, 0.6),
            inset 0 0 40px rgba(88, 101, 242, 0.5);
    }
}

.card-discord:hover .pattern {
    transform: translateY(-10px) translateX(10px);
    opacity: 0.5;
}

.card-discord .icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(255, 115, 250, 0.2));
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(88, 101, 242, 0.3),
        inset 0 0 10px rgba(255, 115, 250, 0.3);
    transition: all 0.5s ease;
    z-index: 2;
}

.card-discord:hover .icon-container {
    transform: rotate(-15deg) scale(1.1);
    box-shadow: 
        0 0 30px rgba(88, 101, 242, 0.5),
        inset 0 0 15px rgba(255, 115, 250, 0.5);
    background: linear-gradient(135deg, var(--discord-purple), var(--discord-neon));
    animation: discord-vibrate 0.1s ease-in-out 3;
}

@keyframes discord-vibrate {
    0%, 100% { transform: rotate(-15deg) scale(1.1); }
    50% { transform: rotate(-15deg) scale(1.1) rotate(5deg); }
}

.card-discord .icon-container::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 115, 250, 0.4);
    border-radius: 50%;
    transform: scale(0);
    transition: none;
    animation: discord-ring 1.8s ease-in-out infinite;
    z-index: -1;
}

.card-discord:hover .icon-container::after {
    animation: discord-ring 1.8s ease-in-out infinite;
}

@keyframes discord-ring {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.card-discord .icon {
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
    position: relative;
    z-index: 1;
}

.card-discord .icon-bg {
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    color: var(--discord-purple);
    z-index: 0;
}

.card-discord h2 {
    color: var(--discord-neon);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    transition: transform 0.4s ease;
    z-index: 2;
}

.card-discord:hover h2 {
    transform: translateX(5px);
}

.card-discord h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--discord-purple), var(--discord-neon));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.card-discord:hover h2::after {
    transform: scaleX(1);
}

.card-discord p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    transition: transform 0.4s ease;
    z-index: 2;
}

.card-discord:hover p {
    transform: translateX(5px);
}

.card-discord .username {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, var(--discord-purple), var(--discord-neon));
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 2;
    cursor: default;
}

.card-discord .username::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 115, 250, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.card-discord .username:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.card-discord .username:hover {
    transform: translateY(-3px) translateX(5px);
    box-shadow: 0 8px 25px rgba(255, 115, 250, 0.5);
    animation: rgb-glow 2s infinite;
}

@keyframes rgb-glow {
    0% { box-shadow: 0 8px 25px rgba(255, 115, 250, 0.5); }
    50% { box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5); }
    100% { box-shadow: 0 8px 25px rgba(255, 115, 250, 0.5); }
}

/* Skills Section */
.skills-section {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    justify-items: center;
    max-width: 670px;
    width: 100%;
    perspective: 1200px;
}

.skill-item {
    width: 100%;
    max-width: 220px;
    background: linear-gradient(135deg, #121218, #1e1e2a);
    border-radius: 15px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    border: 1px solid rgba(123, 44, 191, 0.3);
    box-shadow: 
        0 5px 15px rgba(123, 44, 191, 0.2),
        inset 0 0 0 1px rgba(0, 198, 255, 0.1),
        inset 0 0 15px rgba(123, 44, 191, 0.2);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.skill-item::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.6rem;
    font-weight: bold;
    color: rgba(123, 44, 191, 0.7);
    letter-spacing: 1px;
    z-index: 2;
}

.skill-item .pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="rgba(123,44,191,0.1)" stroke-width="0.5"><path d="M10 0L20 5.7735V14.2265L10 20L0 14.2265V5.7735L10 0Z"/></svg>') repeat;
    opacity: 0.3;
    transition: transform 0.5s ease, opacity 0.5s ease;
    animation: patternSway 10s ease-in-out infinite;
    z-index: 0;
    transform-style: preserve-3d;
}

.skill-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 15px 30px rgba(123, 44, 191, 0.4),
        inset 0 0 0 1px rgba(0, 198, 255, 0.3),
        inset 0 0 20px rgba(123, 44, 191, 0.4);
    border-color: var(--crysix-signature);
}

.skill-item:hover .pattern {
    transform: translateY(-10px) translateX(10px);
    opacity: 0.5;
}

.skill-icon-container {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.2), rgba(0, 198, 255, 0.2));
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(123, 44, 191, 0.3),
        inset 0 0 8px rgba(0, 198, 255, 0.3);
    transition: all 0.5s ease;
    z-index: 2;
}

.skill-item:hover .skill-icon-container {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 
        0 0 25px rgba(123, 44, 191, 0.5),
        inset 0 0 12px rgba(0, 198, 255, 0.5);
    background: linear-gradient(135deg, var(--crysix-signature), var(--neon-blue));
}

.skill-icon-container::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 198, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    transition: none;
    animation: skill-ring 1.5s ease-in-out infinite;
    z-index: -1;
}

.skill-item:hover .skill-icon-container::after {
    animation: skill-ring 1.5s ease-in-out infinite;
}

@keyframes skill-ring {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.skill-icon {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 10px rgba(123, 44, 191, 0.5);
    position: relative;
    z-index: 1;
}

.skill-icon-bg {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    color: var(--crysix-signature);
    z-index: 0;
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    color: var(--light-text);
    transition: transform 0.4s ease;
    z-index: 2;
}

.skill-item:hover .skill-name {
    transform: translateX(5px);
}

.skill-progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 5px rgba(123, 44, 191, 0.3);
    z-index: 2;
}

.skill-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--crysix-signature), var(--neon-blue));
    width: 0%;
    transition: width 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
}

.skill-item:hover .skill-progress {
    width: var(--skill-level);
}

.skill-percent {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--neon-blue);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.skill-item:hover .skill-percent {
    opacity: 1;
}

/* Уровни навыков */
.skill-item[data-skill="Python"] { --skill-level: 60%; }
.skill-item[data-skill="Vue.js"] { --skill-level: 75%; }
.skill-item[data-skill="TypeScript"] { --skill-level: 60%; }
.skill-item[data-skill="C#"] { --skill-level: 75%; }
.skill-item[data-skill="HTML"] { --skill-level: 95%; }
.skill-item[data-skill="CSS"] { --skill-level: 90%; }
.skill-item[data-skill="JavaScript"] { --skill-level: 55%; }
.skill-item[data-skill="React"] { --skill-level: 25%; }
.skill-item[data-skill="Node.js"] { --skill-level: 77%; }
.skill-item[data-skill="MongoDB"] { --skill-level: 55%; }
.skill-item[data-skill="MSSQL"] { --skill-level: 75%; }
.skill-item[data-skill="PostgreSQL"] { --skill-level: 33%; }

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .contact-cards {
        gap: 20px;
    }

    .card-telegram, .card-discord {
        width: 100%;
        max-width: 350px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }

    .skill-item {
        padding: 20px 15px;
        max-width: 180px;
    }

    .modal-trigger {
        width: 50px;
        height: 50px;
    }

    .modal-trigger i {
        font-size: 1.3rem;
    }

    .modal-container {
        width: 95%;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-icon {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .skill-item {
        max-width: 100%;
        padding: 15px 10px;
    }

    .skill-icon-container {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .skill-icon {
        font-size: 1.5rem;
    }

    .skill-icon-bg {
        font-size: 2rem;
    }

    .skill-name {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .skill-progress-container {
        height: 6px;
    }

    .skill-percent {
        font-size: 0.7rem;
        top: -20px;
    }

    .modal-trigger {
        width: 40px;
        height: 40px;
    }

    .modal-trigger i {
        font-size: 1.1rem;
    }

    .modal-container {
        max-width: 320px;
        padding: 15px;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
    }

    .info-value {
        font-size: 1rem;
    }
}