/* ============================================
   MODERN NEO-BRUTALIST PORTFOLIO STYLES
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-yellow: #FFD93D;
    --primary-blue: #4ECDC4;
    --primary-green: #6BCB77;
    
    /* Accent Colors for Text Highlighting */
    --color-blue: #4A90E2;
    --color-green: #7ED321;
    --color-yellow: #F5A623;
    --color-purple: #BD10E0;
    --color-orange: #FF6B35;
    --color-cyan: #50C9CE;
    --color-pink: #FF6B9D;
    --color-red: #E74C3C;
    
    /* Backgrounds */
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-dark: #1A1A2E;
    
    /* Text Colors */
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --text-gray: #7F8C8D;
    
    /* Shadows & Effects */
    --shadow-sm: 3px 3px 0 rgba(0, 0, 0, 1);
    --shadow-md: 5px 5px 0 rgba(0, 0, 0, 1);
    --shadow-lg: 8px 8px 0 rgba(0, 0, 0, 1);
    --border-width: 3px;
    --border-radius: 12px;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   CUSTOM SCROLLBAR - Neo-Brutalist Style
   ============================================ */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-yellow) var(--bg-light);
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-left: 3px solid var(--text-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--primary-green) 50%, var(--primary-cyan) 100%);
    border: 2px solid var(--text-dark);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-cyan) 50%, var(--primary-purple) 100%);
}

/* Dark theme scrollbar */
body.dark-theme ::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-left: 3px solid var(--bg-white);
}

body.dark-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-cyan) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
    border: 2px solid var(--bg-white);
}

body.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--primary-green) 50%, var(--primary-cyan) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   FLOATING NAVIGATION
   ============================================ */

.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--bg-white);
    border: var(--border-width) solid var(--text-dark);
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 2rem;
    backdrop-filter: blur(10px);
    animation: floatDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes floatDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-container {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all var(--transition-normal);
    position: relative;
}

.nav-item:hover {
    background: var(--primary-yellow);
    transform: translateY(-2px);
}

.nav-item.active {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding-left: 1.5rem;
    border-left: 2px solid var(--text-dark);
}

.theme-toggle,
.lang-toggle {
    background: var(--text-dark);
    color: var(--bg-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all var(--transition-normal);
}

.theme-toggle:hover,
.lang-toggle:hover {
    transform: rotate(15deg) scale(1.1);
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.lang-toggle {
    font-size: 0.75rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 140px 0 0 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #E8F4F8 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 4rem;
}

.hero-content {
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.greeting {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wave {
    font-size: 3rem;
    display: inline-block;
    animation: wave 2.5s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(14deg); }
    20%, 40% { transform: rotate(-8deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(-6deg); }
}

.greeting-text {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    display: inline-block;
    transition: all var(--transition-normal);
}

.highlight:hover {
    color: var(--primary-green);
    transform: scale(1.05);
}

/* Color Accents for About Section */
.color-accent-blue { color: var(--color-blue); font-weight: 700; }
.color-accent-green { color: var(--color-green); font-weight: 700; }
.color-accent-yellow { color: var(--color-yellow); font-weight: 700; }
.color-accent-purple { color: var(--color-purple); font-weight: 700; }
.color-accent-orange { color: var(--color-orange); font-weight: 700; }
.color-accent-cyan { color: var(--color-cyan); font-weight: 700; }
.color-accent-pink { color: var(--color-pink); font-weight: 700; }
.color-accent-red { color: var(--color-red); font-weight: 700; }

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* Социальные иконки - белый фон */
.social-icon {
    min-width: 50px;
    height: 50px;
    background: var(--bg-white);
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.3rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.social-icon:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-md);
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.social-icon:active {
    transform: translate(0, 0);
    box-shadow: var(--shadow-sm);
}

/* Кнопка "Свяжитесь со мной" - оранжевая с белым текстом */
.contact-btn {
    min-width: 50px;
    height: 50px;
    background: var(--primary-green);
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1.2rem;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.contact-btn:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-cyan);
    color: var(--text-dark);
}

.contact-btn:active {
    transform: translate(0, 0);
    box-shadow: var(--shadow-sm);
}

.contact-btn span {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Dark theme для contact button */
body.dark-theme .contact-btn {
    background: var(--primary-green);
    color: var(--text-dark);
}

body.dark-theme .contact-btn:hover {
    background: var(--primary-cyan);
    color: var(--text-dark);
}

.cta-btn {
    background: var(--primary-blue);
    color: var(--bg-white);
    padding: 1.2rem 2.5rem;
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.cta-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-lg);
}

.cta-btn:active {
    transform: translate(0, 0);
    box-shadow: var(--shadow-sm);
}

/* Hero Image */
.hero-image {
    animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    perspective: 1000px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-container {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    border: 5px solid var(--text-dark);
    border-radius: 30% 70% 70% 30% / 50% 50% 70% 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12rem;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: morphing 10s ease-in-out infinite;
    transition: transform var(--transition-normal);
}

.avatar-placeholder:hover {
    transform: scale(1.05) rotate(2deg);
}

@keyframes morphing {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 50% 50% 70% 60%;
    }
    25% {
        border-radius: 70% 30% 50% 50% / 40% 70% 60% 50%;
    }
    50% {
        border-radius: 50% 50% 30% 70% / 70% 40% 50% 60%;
    }
    75% {
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 50%;
    }
}

.floating-icon {
    position: absolute;
    background: var(--bg-white);
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    font-size: 2.2rem;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
    transition: all var(--transition-normal);
}

.floating-icon:hover {
    transform: scale(1.15) rotate(5deg) !important;
}

.icon-code {
    top: 10%;
    left: -10%;
    color: var(--primary-yellow);
    animation-delay: 0s;
}

.icon-mobile {
    top: 50%;
    right: -15%;
    color: var(--primary-blue);
    animation-delay: 1.3s;
}

.icon-terminal {
    bottom: 10%;
    right: 5%;
    color: var(--primary-green);
    animation-delay: 2.6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(5deg);
    }
}

.badge {
    position: absolute;
    bottom: -15px;
    right: 30px;
    background: var(--primary-green);
    color: var(--bg-white);
    padding: 0.7rem 1.8rem;
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Wave Divider removed */

/* ============================================
   TECH STACK
   ============================================ */

.tech-stack {
    padding: 3rem 0;
    background: var(--bg-light);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tech-badge {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0.8rem 1.8rem;
    border: var(--border-width) solid var(--text-dark);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tech-badge:hover {
    transform: translate(-3px, -3px) rotate(-2deg);
    box-shadow: var(--shadow-md);
    background: var(--primary-yellow);
}

.tech-badge i {
    font-size: 1.3rem;
}

/* ============================================
   SECTIONS COMMON STYLES
   ============================================ */

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 4rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-yellow);
    border-radius: 3px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 6rem 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    line-height: 2;
}

.stats {
    display: grid;
    gap: 2rem;
}

.stat-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.stat-card:hover {
    transform: translate(-4px, -4px) rotate(-1deg);
    box-shadow: var(--shadow-lg);
    background: var(--primary-yellow);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* ============================================
   WORK / PROJECTS SECTION
   ============================================ */

.work {
    padding: 6rem 0;
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.project-card:hover {
    transform: translate(-5px, -5px) rotateY(2deg);
    box-shadow: var(--shadow-lg);
}

.project-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-yellow);
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.project-card:hover .project-icon {
    transform: rotate(10deg) scale(1.1);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags span {
    background: var(--primary-blue);
    color: var(--bg-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills {
    padding: 6rem 0;
    background: var(--bg-white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: var(--bg-light);
    padding: 2.5rem;
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.skill-category:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-yellow);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-item {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--text-dark);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 1);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.skill-item:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 1);
}

/* ============================================
   LANGUAGES SECTION
   ============================================ */

.languages {
    padding: 6rem 0;
    background: var(--bg-light);
}

.languages-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.language-card {
    background: var(--bg-white);
    padding: 2rem;
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.language-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-lg);
}

.language-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.language-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.language-level {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.language-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-light);
    border: 2px solid var(--text-dark);
    border-radius: 10px;
    overflow: hidden;
}

.language-progress {
    height: 100%;
    background: var(--primary-green);
    transition: width var(--transition-slow);
}

/* ============================================
   INTERESTS SECTION
   ============================================ */

.interests {
    padding: 6rem 0;
    background: var(--bg-white);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.interest-card {
    background: var(--bg-light);
    padding: 2rem;
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.interest-card:hover {
    transform: translate(-3px, -3px) scale(1.05);
    box-shadow: var(--shadow-md);
    background: var(--primary-yellow);
}

.interest-emoji {
    font-size: 3rem;
}

.interest-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.interest-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.interest-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-description {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border: var(--border-width) solid var(--text-dark);
    border-radius: var(--border-radius);
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.contact-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-blue);
    color: var(--bg-white);
}

.contact-card i {
    font-size: 3rem;
}

.contact-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .floating-nav {
        top: 10px;
        padding: 10px 20px;
    }
    
    .nav-container {
        gap: 1rem;
    }
    
    .nav-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .floating-nav {
        flex-direction: column;
        gap: 1rem;
        width: 90%;
        max-width: 400px;
    }
    
    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-actions {
        padding-left: 0;
        border-left: none;
        padding-top: 1rem;
        border-top: 2px solid var(--text-dark);
    }
    
    .hero {
        padding: 120px 0 0 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .image-container {
        width: 350px;
        height: 350px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DARK THEME
   ============================================ */

body.dark-theme {
    --bg-light: #1A1A2E;
    --bg-white: #2C2C4E;
    --text-dark: #FFFFFF;
    --text-gray: #BDC3C7;
    background: #0F0F1E;
}

.dark-theme .floating-nav {
    background: #2C2C4E;
}

.dark-theme .hero {
    background: linear-gradient(135deg, #1A1A2E 0%, #2C2C4E 100%);
}

/* Dark theme wave divider removed */

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Языковое переключение - по умолчанию показываем только русский */
.lang-en {
    display: none;
}

.lang-ru {
    display: block;
}

[data-lang="ru"] .lang-en {
    display: none !important;
}

[data-lang="ru"] .lang-ru {
    display: block !important;
}

[data-lang="en"] .lang-en {
    display: block !important;
}

[data-lang="en"] .lang-ru {
    display: none !important;
}
one;
}

/* About Section Updates */
.about-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-subtitle:first-child {
    margin-top: 0;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    margin-top: -2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    /* КРИТИЧЕСКИ ВАЖНО: убираем любые подчёркивания */
    text-decoration: none !important;
    background: none !important;
    background-image: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Interest Card Updates */
.interest-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.interest-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.interests-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Avatar Image */
.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.avatar-placeholder {
    overflow: hidden;
}

/* Updated Project Tags with 3D Effect */
.project-tags span {
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 1);
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    cursor: pointer;
}

.project-tags span:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 1);
    background: var(--primary-yellow);
    color: var(--text-dark);
}

/* Updated Skill Items with 3D Effect */
.skill-item {
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 1);
    cursor: pointer;
}

.skill-item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 1);
}

/* Updated Interests Grid to 3x3 */
.interests-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    gap: 2rem !important;
}

/* Responsive for Creative Directions */
@media (max-width: 768px) {
    .interests-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .interests-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Fix text readability in project cards */
.project-card p {
    color: var(--text-dark) !important;
    opacity: 0.85;
}

.project-card h3 {
    color: var(--text-dark) !important;
}

/* Fix text readability in skill categories */
.skill-category h3 {
    color: var(--text-dark) !important;
}

/* Make skill items more readable */
.skill-item {
    color: var(--text-dark) !important;
}

/* Improve interest card text */
.interest-name {
    color: var(--text-dark) !important;
}

.interest-desc {
    color: var(--text-dark) !important;
    opacity: 0.8;
}

/* Dark theme fixes */
.dark-theme .project-card p,
.dark-theme .interest-desc {
    color: #E0E0E0 !important;
}

.dark-theme .project-card h3,
.dark-theme .skill-category h3,
.dark-theme .skill-item,
.dark-theme .interest-name {
    color: var(--text-light) !important;
}

/* Creative Directions Icon Animations */
@keyframes float-rotate {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px var(--primary-cyan));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px var(--primary-cyan));
    }
}

.interest-emoji {
    animation: float-rotate 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.interest-card:hover .interest-emoji {
    animation: pulse-glow 0.6s ease-in-out infinite;
    transform: scale(1.2) rotate(360deg);
}

/* Different animation delays for each card */
.interest-card:nth-child(1) .interest-emoji { animation-delay: 0s; }
.interest-card:nth-child(2) .interest-emoji { animation-delay: 0.2s; }
.interest-card:nth-child(3) .interest-emoji { animation-delay: 0.4s; }
.interest-card:nth-child(4) .interest-emoji { animation-delay: 0.6s; }
.interest-card:nth-child(5) .interest-emoji { animation-delay: 0.8s; }
.interest-card:nth-child(6) .interest-emoji { animation-delay: 1s; }

/* ============================================
   ENHANCED MOBILE RESPONSIVE STYLES
   ============================================ */

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    /* Global Typography */
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation */
    .floating-nav {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
        max-width: 100%;
    }
    
    .nav-container {
        width: 100%;
        overflow-x: auto;
        gap: 0.5rem;
        padding: 0.5rem 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .nav-container::-webkit-scrollbar {
        display: none;
    }
    
    .nav-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
    }
    
    .nav-actions {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 8rem 0 3rem;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .greeting {
        justify-content: center;
        font-size: 1rem;
    }
    
    .wave {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-description,
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Hero Image */
    .hero-image {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .image-container {
        width: 280px;
        height: 280px;
    }
    
    .avatar-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        bottom: -5px;
        right: 15px;
    }
    
    /* Tech Stack */
    .tech-stack {
        padding: 2rem 0;
    }
    
    .tech-badges {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }
    
    .tech-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* About Section */
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Projects Grid */
    .work {
        padding: 3rem 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-card h3 {
        font-size: 1.25rem;
    }
    
    .project-card p {
        font-size: 0.9rem;
    }
    
    .project-tags {
        gap: 0.5rem;
    }
    
    .project-tags span {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Skills Section */
    .skills {
        padding: 3rem 0;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .skill-category h3 {
        font-size: 1.25rem;
    }
    
    .skill-list {
        gap: 0.5rem;
    }
    
    .skill-item {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
    
    /* Languages Section */
    .languages {
        padding: 3rem 0;
    }
    
    .languages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .language-card {
        padding: 1.25rem;
    }
    
    .language-name {
        font-size: 1rem;
    }
    
    .language-level {
        font-size: 0.85rem;
    }
    
    /* Interests Section */
    .interests {
        padding: 3rem 0;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .interest-card {
        padding: 1.5rem;
    }
    
    .interest-emoji {
        font-size: 2.5rem;
    }
    
    .interest-name {
        font-size: 1rem;
    }
    
    .interest-desc {
        font-size: 0.85rem;
    }
    
    /* Contact Section */
    .contact {
        padding: 3rem 0;
    }
    
    .contact-description {
        font-size: 0.95rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-card i {
        font-size: 2rem;
    }
    
    .contact-card span {
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0;
    }
    
    .footer p {
        font-size: 0.85rem;
        text-align: center;
    }
}

/* Medium Mobile Devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

/* Tablet Devices (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-methods {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 6rem 0 2rem;
    }
    
    .floating-nav {
        padding: 0.5rem 1.5rem;
    }
    
    .hero-container {
        flex-direction: row;
        gap: 2rem;
    }
    
    .hero-image {
        max-width: 300px;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .nav-item {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .project-card:hover,
    .skill-category:hover,
    .interest-card:hover,
    .contact-card:hover {
        transform: none;
    }
    
    .project-card:active,
    .skill-category:active,
    .interest-card:active,
    .contact-card:active {
        transform: translate(-2px, -2px);
        box-shadow: 4px 4px 0 var(--text-dark);
    }
    
    /* Disable custom cursor on touch devices */
    .cursor,
    .cursor-follower {
        display: none !important;
    }
    
    /* Disable parallax on touch devices */
    .hero-container {
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .floating-nav,
    .theme-toggle,
    .lang-toggle,
    .social-links,
    .cta-btn,
    .contact-btn {
        /* Оставляем кнопку "Свяжитесь со мной" видимой на всех размерах */
        display: flex;
    }
    
    .hero,
    .about,
    .work,
    .skills,
    .languages,
    .interests,
    .contact {
        page-break-inside: avoid;
    }
}

/* ============================================
   MOBILE BUG FIXES
   ============================================ */

/* Fix 1: Navigation overlapping hero text - ПОЛНОСТЬЮ ИСПРАВЛЕННАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    .floating-nav {
        position: fixed;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        gap: 0.75rem;
        max-width: 95%;
        padding: 1rem;
        border-radius: 20px;
        max-height: none !important;
        height: auto !important;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }
    
    .nav-container {
        width: 100%;
        display: flex;
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 0.5rem;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .nav-item {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 12px;
    }
    
    .nav-actions {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero {
        padding-top: 18rem !important;
    }
    
    body.dark-theme .floating-nav {
        background: rgba(26, 26, 46, 0.98);
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 20rem !important;
    }
    
    .nav-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Fix 2: Floating icons going outside container - УЛУЧШЕННАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    .hero-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 0 25px; /* Отступы чтобы иконки не вылезали */
    }
    
    .image-container {
        width: 100%;
        max-width: 280px;
        height: 280px;
        overflow: hidden;
        position: relative;
        margin: 0 auto;
    }
    
    .floating-icon {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.8rem !important;
        position: absolute;
    }
    
    /* Подальше от фото на tablet */
    .icon-code {
        top: 28% !important;
        left: 25% !important;
    }
    
    .icon-mobile {
        top: 33% !important;
        right: 25% !important;
    }
    
    .icon-terminal {
        bottom: 33% !important;
        left: 25% !important;
    }
    
    /* Минимальная амплитуда анимации */
    .floating-icon {
        animation: float-mobile 4s ease-in-out infinite;
    }
}

@keyframes float-mobile {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Fix 3: Yellow underline overlapping text - ПОЛНОСТЬЮ ПЕРЕРАБОТАННАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    .section-subtitle {
        position: relative;
        margin-top: 0.25rem !important;
        padding-top: 0.25rem !important;
        padding-bottom: 0.5rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.7 !important;
        min-height: auto !important;
        display: block !important;
    }
    
    /* Убираем псевдоэлементы на мобильных */
    .section-subtitle::after,
    .section-subtitle::before {
        display: none !important;
    }
    
    /* Специально для секции Creative Directions */
    .interests .section-subtitle {
        margin-top: 0.5rem !important;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        margin-bottom: 2.5rem !important;
        line-height: 1.7 !important;
    }
    
    /* Для очень маленьких экранов */
    @media (max-width: 480px) {
        .interests .section-subtitle {
            margin-top: 0.5rem !important;
            padding-top: 0.5rem !important;
            padding-bottom: 0.5rem !important;
            margin-bottom: 2.5rem !important;
            font-size: 0.95rem !important;
        }
    }
    
    /* Highlight элементы не должны перекрываться */
    .highlight {
        padding: 0.15rem 0.4rem;
        margin: 0 0.15rem;
        line-height: 1.7;
        display: inline;
        position: relative;
        z-index: 1;
    }
}

/* Additional mobile improvements */
@media (max-width: 480px) {
    /* Увеличиваем отступ для очень маленьких экранов */
    .hero {
        padding-top: 14rem !important;
    }
    
    /* Уменьшаем floating иконки ещё больше */
    .floating-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.7rem !important;
    }
    
    /* Дальше от фото на маленьких экранах */
    .icon-code {
        top: 30% !important;
        left: 28% !important;
    }
    
    .icon-mobile {
        top: 35% !important;
        right: 28% !important;
    }
    
    .icon-terminal {
        bottom: 35% !important;
        left: 28% !important;
    }
    
    /* Badge ближе к фото */
    .badge {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.6rem !important;
        bottom: -8px !important;
        right: 10px !important;
    }
    
    /* Уменьшаем амплитуду анимации */
    @keyframes float {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px); /* Было -20px */
        }
    }
}

/* Fix navigation height calculation */
@media (max-width: 768px) {
    .nav-container {
        max-height: 50px;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .floating-nav {
        max-height: 140px; /* Ограничиваем высоту навигации */
    }
}

/* Fix for section subtitle with highlight */
.section-subtitle {
    line-height: 1.8 !important;
}

@media (max-width: 768px) {
    .highlight,
    .section-subtitle .highlight {
        display: inline;
        padding: 0.2rem 0.4rem;
        margin: 0 0.2rem;
        line-height: 2;
    }
}

/* ============================================
   MARQUEE / БЕГУЩАЯ СТРОКА
   ============================================ */

.marquee-container {
    width: 100%;
    overflow: hidden;
    background: var(--primary-yellow);
    border-top: 3px solid var(--text-dark);
    border-bottom: 3px solid var(--text-dark);
    padding: 1rem 0;
    position: relative;
    margin: 3rem 0;
}

.marquee-content {
    display: flex;
    animation: marquee 35s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marquee-item i {
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.marquee-separator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--text-dark);
    border-radius: 50%;
    margin: 0 2rem;
    transform: translateY(-2px);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Dark theme для marquee */
body.dark-theme .marquee-container {
    background: var(--primary-cyan);
    border-color: var(--bg-light);
}

body.dark-theme .marquee-item {
    color: var(--text-dark);
}

body.dark-theme .marquee-separator {
    background: var(--text-dark);
}

/* Мобильная версия marquee */
@media (max-width: 768px) {
    .marquee-container {
        padding: 0.75rem 0;
        margin: 2rem 0;
    }
    
    .marquee-item {
        font-size: 1rem;
        padding: 0 2rem;
    }
    
    .marquee-item i {
        font-size: 1.2rem;
    }
    
    .marquee-separator {
        width: 8px;
        height: 8px;
        margin: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .marquee-container {
        margin: 1.5rem 0;
    }
    
    .marquee-item {
        font-size: 0.9rem;
        padding: 0 1.5rem;
    }
    
    .marquee-separator {
        margin: 0 1rem;
    }
}

/* Hover эффект на паузу (только для desktop) */
@media (hover: hover) {
    .marquee-container:hover .marquee-content {
        animation-play-state: paused;
    }
}

/* ФИНАЛЬНОЕ ИСПРАВЛЕНИЕ: ПОЛНОСТЬЮ убираем жёлтую полосу на мобильных */
@media (max-width: 768px) {
    /* Убираем ВСЕ фоновые изображения/линии/псевдоэлементы */
    .interests .section-subtitle::after,
    .interests .section-subtitle::before,
    .section-subtitle::after,
    .section-subtitle::before {
        display: none !important;
        content: none !important;
        background: none !important;
    }
    
    .interests .section-subtitle,
    .section-subtitle {
        background: none !important;
        background-image: none !important;
        background-size: 0 !important;
        text-decoration: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }
    
    /* Увеличиваем отступы для читабельности */
    .interests .section-subtitle {
        padding-bottom: 2rem !important;
        margin-bottom: 3rem !important;
        line-height: 1.8 !important;
    }
}

@media (max-width: 480px) {
    .interests .section-subtitle {
        padding-bottom: 2.5rem !important;
        margin-bottom: 3.5rem !important;
        font-size: 0.95rem !important;
    }
}

/* АБСОЛЮТНОЕ ИСПРАВЛЕНИЕ: убираем ВСЁ что может быть жёлтым на мобильных */
@media (max-width: 768px) {
    .interests p,
    .interests .section-subtitle,
    .section-subtitle.lang-en,
    .section-subtitle.lang-ru {
        text-decoration: none !important;
        background: transparent !important;
        background-image: none !important;
        background-color: transparent !important;
        border: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        outline: none !important;
    }
    
    /* Убираем все псевдоэлементы */
    .interests p::before,
    .interests p::after,
    .interests .section-subtitle::before,
    .interests .section-subtitle::after,
    .section-subtitle.lang-en::before,
    .section-subtitle.lang-en::after,
    .section-subtitle.lang-ru::before,
    .section-subtitle.lang-ru::after {
        display: none !important;
        content: none !important;
        background: none !important;
    }
}

/* Опускаем жёлтую полосу ниже на мобильных */
@media (max-width: 768px) {
    .section-title::after {
        bottom: -15px !important;
        height: 5px;
    }
}

@media (max-width: 480px) {
    .section-title::after {
        bottom: -12px !important;
        height: 4px;
    }
}


/* ============================================
   SCROLL TO TOP BUTTON - Neo-Brutalist Style
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--primary-yellow);
    border: 3px solid var(--text-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 5px 5px 0 var(--text-dark);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top i {
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

/* Hover effect */
.scroll-to-top:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 var(--text-dark);
}

.scroll-to-top:hover i {
    transform: translateY(-3px);
}

/* Active/Click effect */
.scroll-to-top:active {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 var(--text-dark);
}

/* Pulse animation when first appears */
.scroll-to-top.visible {
    animation: bounce-in 0.5s ease;
}

@keyframes bounce-in {
    0% {
        transform: translateY(100px) scale(0.8);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* Dark theme */
body.dark-theme .scroll-to-top {
    background: var(--primary-cyan);
    box-shadow: 5px 5px 0 var(--bg-white);
    border-color: var(--bg-white);
}

body.dark-theme .scroll-to-top i {
    color: var(--text-dark);
}

body.dark-theme .scroll-to-top:hover {
    background: var(--primary-purple);
    box-shadow: 8px 8px 0 var(--bg-white);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        box-shadow: 4px 4px 0 var(--text-dark);
    }
    
    .scroll-to-top i {
        font-size: 1.3rem;
    }
    
    .scroll-to-top:hover {
        transform: translateY(-3px);
        box-shadow: 5px 5px 0 var(--text-dark);
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-to-top i {
        font-size: 1.2rem;
    }
}

