/* Extracted from index.html <style> block on 2025-10-31 */
/* ========== ARTISTIC PORTFOLIO - MASTERPIECE EDITION ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0A0C10;
    --bg-surface: #0F1115;
    --bg-card: #131318;
    --text-heading: #FFFFFF;
    --text-subheading: #E6E6E6;
    --text-body: #CFCFCF;
    --text-muted: #9AA0A6;
    --accent-gold: #D9A066;
    --accent-cyan: #7CC6E8;
    --accent-magenta: #C17FD7;
    --accent-rose: #E89BA6;
    --success: #67C587;
    --glow-gold: rgba(217, 160, 102, 0.4);
    --glow-cyan: rgba(124, 198, 232, 0.3);
    --glow-magenta: rgba(193, 127, 215, 0.3);
}

html {
    scroll-behavior: auto;
    overflow-x: hidden;
}

body {
    font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" d="M5.5 3.21V20.8c0 .45.54.67.85.35l4.86-4.86a.5.5 0 0 1 .35-.15h6.87a.5.5 0 0 0 .35-.85L6.35 2.85a.5.5 0 0 0-.85.35Z"></path></svg>'), auto;
}

/* Hover cursor for interactive elements */
a, button, .cursor-pointer, input[type="submit"], input[type="button"], [onclick] {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" stroke-linejoin="round" d="M10 11V8.99c0-.88.59-1.64 1.44-1.86h.05A1.99 1.99 0 0 1 14 9.05V12v-2c0-.88.6-1.65 1.46-1.87h.05A1.98 1.98 0 0 1 18 10.06V13v-1.94a2 2 0 0 1 1.51-1.94h0A2 2 0 0 1 22 11.06V14c0 .6-.08 1.27-.21 1.97a7.96 7.96 0 0 1-7.55 6.48 54.98 54.98 0 0 1-4.48 0 7.96 7.96 0 0 1-7.55-6.48C2.08 15.27 2 14.59 2 14v-1.49c0-1.11.9-2.01 2.01-2.01h0a2 2 0 0 1 2.01 2.03l-.01.97v-10c0-1.1.9-2 2-2h0a2 2 0 0 1 2 2V11Z"></path></svg>'), pointer !important;
}

/* ========== ANIMATED BACKGROUND WITH FLOATING ORBS ========== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-gold), transparent 70%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
    top: 40%;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-magenta), transparent 70%);
    bottom: -250px;
    left: 20%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(40px, 10px) scale(1.05); }
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========== GLASSMORPHIC HEADER ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 17, 21, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.22, 0.9, 0.22, 1);
}

header.scrolled {
    padding: 12px 60px;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.logo {
    font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    transition: all 0.3s ease;
    position: absolute;
    left: 60px;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--glow-gold));
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: var(--text-subheading);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s cubic-bezier(0.22, 0.9, 0.22, 1);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
    transition: width 0.4s cubic-bezier(0.22, 0.9, 0.22, 1);
}

nav a:hover {
    color: var(--text-heading);
    transform: translateY(-2px);
}

nav a:hover::after {
    width: 100%;
}

/* ========== MOBILE MENU TOGGLE ========== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ========== HERO SECTION - CINEMATIC REVEAL ========== */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 60px 60px;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: blur(4px);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Ensure video fills properly on all devices */
@media (max-width: 768px) {
    .hero-video-bg {
        width: 100%;
        height: 100%;
        min-width: 100vw;
        min-height: 100vh;
        object-fit: cover;
    }
    
    .hero-video-bg video,
    .hero-video-bg img {
        width: 100%;
        height: 100%;
        min-width: 100vw;
        min-height: 100vh;
        object-fit: cover !important;
        object-position: center !important;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
}

.hero-label {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    font-weight: 600;
}

.hero h1 {
    font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #FFFFFF;
    opacity: 0;
    animation: heroTitleFadeIn 1.2s cubic-bezier(0.22, 0.9, 0.22, 1) forwards 0.3s;
    letter-spacing: -3px;
    position: relative;
}

/* Hero Title Fade In Animation */
@keyframes heroTitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero h1::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.5;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.3; filter: blur(40px); }
    50% { opacity: 0.6; filter: blur(60px); }
}

.hero-tagline {
    font-size: clamp(16px, 2vw, 22px);
    color: var(--text-subheading);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

/* Hero Social Links - Mobile Only */
.hero-social-mobile {
    display: none;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    opacity: 1;
}

body:not(.animations-disabled) .hero-social-mobile {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1s;
}

.hero-social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(217, 160, 102, 0.3);
}

.hero-social-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 1;
}

.hero-social-icon:hover img {
    opacity: 1;
}

.btn {
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.22, 0.9, 0.22, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #FFFFFF;
    color: #000;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 60px rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-heading);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

/* Social Icons Floating */
.social-links {
    position: fixed;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.22, 0.9, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.social-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(0.7);
}

.social-icon:hover {
    background: rgba(217, 160, 102, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: scale(1.15) translateX(-5px);
    box-shadow: 0 8px 24px var(--glow-gold);
}

.social-icon:hover img {
    filter: brightness(1) drop-shadow(0 0 8px var(--accent-gold));
    transform: scale(1.1);
}

/* Scroll Indicator - Triple Arrows */
.scroll-indicator-arrows {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
    z-index: 15;
}

.arrow-down {
    width: 16px;
    height: 16px;
    border-right: 2.5px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2.5px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: arrowBounce 2s infinite;
    margin: 0;
    padding: 0;
}

.arrow-down:nth-child(1) {
    opacity: 0.4;
    animation-delay: 0s;
}

.arrow-down:nth-child(2) {
    opacity: 0.6;
    animation-delay: 0.15s;
}

.arrow-down:nth-child(3) {
    opacity: 0.8;
    animation-delay: 0.3s;
}

.scroll-text {
    margin-top: 16px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.8;
    animation: textPulse 2s infinite;
    text-align: center;
}

@keyframes textPulse {
    0%, 100% { 
        opacity: 0.6;
    }
    50% { 
        opacity: 1;
    }
}

@keyframes arrowBounce {
    0%, 100% { 
        transform: rotate(45deg) translateY(0);
        opacity: 0.4;
    }
    50% { 
        transform: rotate(45deg) translateY(8px);
        opacity: 1;
    }
}

/* ========== ANIMATION TOGGLE BUTTON ========== */
.animation-toggle {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.animation-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.animation-toggle:active {
    transform: translateY(0);
}

/* Mobile Menu Animation Toggle */
.mobile-menu-toggle-wrapper {
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.animation-toggle-mobile {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    width: 100%;
    justify-content: flex-start;
}

.animation-toggle-mobile .toggle-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Physical Toggle Switch */
.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 2px 6px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(74, 222, 128, 0.4);
    flex-shrink: 0;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Add ON/OFF text inside switch */
.toggle-switch::before {
    content: 'ON';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.toggle-switch::after {
    content: 'OFF';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.3px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* Disabled State - Red */
.animation-toggle.animations-disabled .toggle-switch {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 
        inset 0 2px 6px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(239, 68, 68, 0.4);
}

.animation-toggle.animations-disabled .toggle-slider {
    left: 27px;
}

.animation-toggle.animations-disabled .toggle-switch::before {
    opacity: 0;
}

.animation-toggle.animations-disabled .toggle-switch::after {
    opacity: 1;
}

.toggle-text {
    white-space: nowrap;
    user-select: none;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .animation-toggle {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 13px;
        gap: 12px;
    }
    
    .toggle-switch {
        width: 46px;
        height: 24px;
    }
    
    .toggle-slider {
        width: 18px;
        height: 18px;
    }
    
    .animation-toggle.animations-disabled .toggle-slider {
        left: 24px;
    }
    
    .toggle-switch::before {
        font-size: 8px;
        left: 6px;
    }
    
    .toggle-switch::after {
        font-size: 7px;
        right: 5px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 110px;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--accent-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: rgba(217, 160, 102, 0.2);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(217, 160, 102, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

/* ========== SECTIONS - GLASSMORPHIC CARDS ========== */
section {
    position: relative;
    z-index: 10;
    padding: 120px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 0.9, 0.22, 1);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    font-weight: 600;
}

.section-header h2 {
    font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== ABOUT SECTION ========== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.22, 0.9, 0.22, 1);
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 24px;
    color: var(--text-body);
}

.about-text p:first-child {
    font-size: 22px;
    color: var(--text-subheading);
    font-weight: 300;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.22, 0.9, 0.22, 1);
}

.about-stats.visible {
    opacity: 1;
    transform: translateX(0);
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 60px 40px;
    transition: all 0.5s cubic-bezier(0.22, 0.9, 0.22, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 200px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 60px rgba(217, 160, 102, 0.2);
}

.stat-card h3 {
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.stat-card p {
    font-size: 48px;
    color: var(--text-heading);
    font-weight: 700;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== SERVICES / WHAT I OFFER ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.6s cubic-bezier(0.22, 0.9, 0.22, 1);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    overflow: hidden;
    text-align: center;
}

/* Staggered animation for service cards */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 0.06;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 60px rgba(124, 198, 232, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(
  135deg, 
  rgba(0, 255, 255, 0),  /* fully transparent cyan */
  rgba(255, 0, 255, 0)   /* fully transparent magenta */
);

    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: all 0.4s cubic-bezier(0.22, 0.9, 0.22, 1);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 40px var(--glow-cyan);
}

.service-card h3 {
    font-size: 22px;
    color: var(--text-heading);
    margin-bottom: 16px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.service-tag {
    padding: 6px 14px;
    background: rgba(124, 198, 232, 0.1);
    border: 1px solid rgba(124, 198, 232, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-cyan);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-card:hover .service-tag {
    background: rgba(124, 198, 232, 0.15);
    border-color: var(--accent-cyan);
}

/* ========== PROJECTS GRID - 3D TRANSFORM CARDS ========== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.7s cubic-bezier(0.22, 0.9, 0.22, 1), box-shadow 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    cursor: pointer;
}

/* Staggered animation for project cards */
.project-card:nth-child(1) { transition-delay: 0.1s; }
.project-card:nth-child(2) { transition-delay: 0.2s; }
.project-card:nth-child(3) { transition-delay: 0.3s; }
.project-card:nth-child(4) { transition-delay: 0.4s; }
.project-card:nth-child(5) { transition-delay: 0.5s; }
.project-card:nth-child(6) { transition-delay: 0.6s; }

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan), var(--accent-magenta));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 0.08;
}

.project-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 30px 80px rgba(217, 160, 102, 0.3);
}

.project-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a1d24, #0f1115);
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 10px;
    border-radius: 24px 24px 0 0;
}

.project-image::after {
 
    font-size: 64px;
    opacity: 0.3;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.22, 1);
    filter: brightness(0.85);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: brightness(1);
}

.project-info {
    padding: 32px;
    position: relative;
    z-index: 2;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    padding: 6px 14px;
    background: rgba(217, 160, 102, 0.1);
    border: 1px solid rgba(217, 160, 102, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.project-card:hover .tag {
    background: rgba(217, 160, 102, 0.15);
    border-color: var(--accent-gold);
}

.project-info h3 {
    font-size: 24px;
    color: var(--text-heading);
    margin-bottom: 12px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.project-card:hover .project-info h3 {
    color: var(--accent-gold);
}

.project-info p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Softer, more rounded project images on mobile */
@media (max-width: 768px) {
    .project-image {
        border-radius: 24px;
    }

    .project-image img {
        border-radius: 20px;
    }
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #FFFFFF;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    margin-top: 8px;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    transition: left 0.5s ease;
    z-index: -1;
}

.project-link:hover::before {
    left: 0;
}

.project-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 60px rgba(255, 255, 255, 0.5);
    gap: 14px;
}

/* Special project card with team info */
.project-team {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-team h4 {
    font-size: 13px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.project-team ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.project-team li {
    font-size: 13px;
    color: var(--text-body);
    padding: 6px 0;
}

.project-team li strong {
    color: var(--text-heading);
}

.project-achievement {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(217, 160, 102, 0.15), rgba(124, 198, 232, 0.15));
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 16px;
    animation: pulse 2s ease-in-out infinite;
}

.project-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.project-btn {
    padding: 10px 20px;
    background: rgba(217, 160, 102, 0.1);
    border: 1px solid rgba(217, 160, 102, 0.3);
    border-radius: 8px;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-btn:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--glow-gold);
}

.project-date {
    font-size: 13px;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    font-weight: 600;
}

.project-location {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ========== PUBLICATIONS - ELEGANT REVEAL ========== */
.publications-grid {
    display: grid;
    gap: 32px;
}

.publication-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.22, 0.9, 0.22, 1);
    position: relative;
    opacity: 0;
    transform: translateX(-60px);
    overflow: hidden;
}

.publication-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.publication-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-gold), var(--accent-cyan));
    transform: scaleY(0);
    transition: transform 0.5s cubic-bezier(0.22, 0.9, 0.22, 1);
}

.publication-card:hover::before {
    transform: scaleY(1);
}

.publication-card:hover {
    transform: translateX(8px);
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 60px rgba(217, 160, 102, 0.15);
}

.pub-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.publication-card:hover .pub-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px var(--glow-gold);
}

.pub-content h3 {
    font-size: 22px;
    color: var(--text-heading);
    margin-bottom: 8px;
    font-weight: 700;
}

.pub-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pub-content p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

.pub-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pub-btn {
    padding: 10px 24px;
    background: rgba(217, 160, 102, 0.1);
    border: 1px solid rgba(217, 160, 102, 0.3);
    border-radius: 8px;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pub-btn:hover {
    background: var(--accent-gold);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 8px 24px var(--glow-gold);
}

/* ========== EVENTS - ELEGANT SHOWCASE ========== */
.events-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured Events Grid */
.featured-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.event-card-featured {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.22, 0.9, 0.22, 1);
}

.event-card-featured.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.event-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan), var(--accent-magenta));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.event-card-featured:hover::before {
    opacity: 1;
}

.event-card-featured:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 30px 80px rgba(124, 198, 232, 0.25);
}

.event-hero-section {
    height: 220px;
    background: linear-gradient(135deg, rgba(217, 160, 102, 0.15), rgba(124, 198, 232, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.event-hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-magenta), transparent 70%);
    filter: blur(60px);
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

.event-icon-large {
    font-size: 80px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.22, 0.9, 0.22, 1);
}

.event-card-featured:hover .event-icon-large {
    transform: scale(1.15) rotate(5deg);
}

.event-content {
    padding: 36px;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(124, 198, 232, 0.1);
    border: 1px solid rgba(124, 198, 232, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 600;
}

.event-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(193, 127, 215, 0.1);
    border: 1px solid rgba(193, 127, 215, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent-magenta);
    font-weight: 600;
}

.event-content h3 {
    font-size: 26px;
    color: var(--text-heading);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.event-location-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    display: flex;
    align-items: start;
    gap: 8px;
}

.event-description {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 24px;
}

.event-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.event-tag {
    padding: 8px 16px;
    background: rgba(217, 160, 102, 0.1);
    border: 1px solid rgba(217, 160, 102, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.event-card-featured:hover .event-tag {
    background: rgba(217, 160, 102, 0.15);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.winner-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(217, 160, 102, 0.2), rgba(124, 198, 232, 0.2));
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    font-size: 16px;
    color: var(--accent-gold);
    font-weight: 800;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(217, 160, 102, 0.2);
}

.event-team-compact {
    margin-top: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-team-compact h4 {
    font-size: 13px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-weight: 700;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.team-member {
    font-size: 14px;
    color: var(--text-body);
    padding: 8px 0;
}

.team-member strong {
    color: var(--text-heading);
    display: block;
    margin-bottom: 2px;
}

.team-member span {
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 600;
}

.event-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.event-action-btn {
    padding: 12px 28px;
    background: rgba(124, 198, 232, 0.1);
    border: 1px solid rgba(124, 198, 232, 0.3);
    border-radius: 10px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.event-action-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--glow-cyan);
}

/* Compact Events Timeline */
.compact-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.event-card-compact {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s cubic-bezier(0.22, 0.9, 0.22, 1);
    overflow: hidden;
}

.event-card-compact.visible {
    opacity: 1;
    transform: translateY(0);
}

.event-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-magenta));
    transform: scaleY(0);
    transition: transform 0.5s cubic-bezier(0.22, 0.9, 0.22, 1);
}

.event-card-compact:hover::before {
    transform: scaleY(1);
}

.event-card-compact:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 15px 50px rgba(124, 198, 232, 0.2);
}

.compact-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.compact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.event-card-compact:hover .compact-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px var(--glow-cyan);
}

.compact-title {
    flex: 1;
}

.compact-title h4 {
    font-size: 18px;
    color: var(--text-heading);
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.3;
}

.compact-date {
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 600;
}

.compact-description {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
}

.compact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compact-tag {
    padding: 6px 12px;
    background: rgba(124, 198, 232, 0.1);
    border: 1px solid rgba(124, 198, 232, 0.2);
    border-radius: 16px;
    font-size: 11px;
    color: var(--accent-cyan);
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 var(--glow-gold); }
    50% { transform: scale(1.02); box-shadow: 0 0 20px var(--glow-gold); }
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Connect Box Hover Effects - Simple & Stable */
.connect-box:hover {
    border-color: rgba(217, 160, 102, 0.4);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 0 120px rgba(217, 160, 102, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.connect-box:hover .btn-primary span {
    transform: translateX(5px);
}

/* ========== GALLERY - ZOOM & BLUR EFFECTS ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a1d24, #0f1115);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.22, 0.9, 0.22, 1);
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.22, 1), filter 0.4s ease;
    filter: brightness(0.8);
}

.gallery-item:hover img {
    transform: scale(1.15);
    filter: brightness(1) blur(2px);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.22, 1);
    z-index: 3;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 14px;
    color: var(--text-body);
}

/* ========== CONTACT SECTION ========== */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-heading);
    font-size: 15px;
    font-family: 'Futura', 'Century Gothic', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(217, 160, 102, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    border: none;
    border-radius: 50px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 0.9, 0.22, 1);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 60px rgba(217, 160, 102, 0.5);
}

/* ========== MEDIA CLUB & MINECRAFT SECTIONS ========== */
.media-club-section {
    padding: 120px 60px;
    position: relative;
    z-index: 10;
}

.media-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.media-intro h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(217, 160, 102, 0.2);
    border-color: var(--accent-gold);
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 18px;
    color: var(--text-heading);
    margin-bottom: 12px;
    font-weight: 600;
}

.social-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.social-post-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.social-post-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(124, 198, 232, 0.15);
}

.social-post-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.social-post-info {
    padding: 20px;
}

.social-post-info p {
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.6;
}

.minecraft-section {
    padding: 80px 60px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.minecraft-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.minecraft-header {
    margin-bottom: 40px;
}

.minecraft-header h2 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #67C587, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.server-address {
    font-size: 28px;
    color: var(--accent-gold);
    font-weight: 600;
    padding: 16px 32px;
    background: rgba(217, 160, 102, 0.1);
    border-radius: 12px;
    display: inline-block;
    margin: 20px 0;
    border: 2px solid var(--accent-gold);
}

.minecraft-description {
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.8;
}

.access-steps {
    text-align: left;
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.access-steps h3 {
    font-size: 24px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-weight: 600;
}

.access-steps ul {
    list-style: none;
    padding: 0;
}

.access-steps li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-body);
    line-height: 1.6;
}

.access-steps li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 18px;
}

.discord-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(88, 101, 242, 0.5);
}

.minecraft-note {
    margin-top: 30px;
    padding: 20px;
    background: rgba(217, 160, 102, 0.05);
    border-left: 4px solid var(--accent-gold);
    border-radius: 8px;
    text-align: left;
    color: var(--text-muted);
    font-size: 14px;
}

/* ========== FOOTER ========== */
footer {
    position: relative;
    z-index: 10;
    padding: 50px 40px 30px;
    background: linear-gradient(135deg, rgba(15, 17, 21, 0.95) 0%, rgba(19, 19, 24, 0.98) 100%);
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(217, 160, 102, 0.2);
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-gold) 20%, 
        var(--accent-cyan) 40%, 
        var(--accent-magenta) 60%, 
        var(--accent-rose) 80%, 
        transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-section {
    text-align: left;
}

.footer-section h3 {
    color: var(--text-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
    border-radius: 2px;
}

.footer-section p {
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-bio {
    flex: 1;
}

.footer-bio p {
    color: var(--text-body);
    max-width: 500px;
}

.footer-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 24px rgba(217, 160, 102, 0.3);
}

.footer-social a:hover::before {
    opacity: 0.1;
}

.footer-nyan {
    text-align: left;
    margin-bottom: 24px;
}

.footer-nyan img {
    width: 180px;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.footer-nyan img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-bottom .heart {
    color: var(--accent-rose);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

.footer-credits {
    font-size: 11px;
    color: rgba(154, 160, 166, 0.6);
    margin-top: 4px;
}

@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-nyan {
        text-align: center;
    }

    .footer-nyan img {
        width: 200px;
        max-width: 70vw;
    }

    .footer-bio p {
        max-width: 100%;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 40px 24px 24px;
    }

    .footer-container {
        gap: 24px;
        margin-bottom: 30px;
    }

    .footer-nyan img {
        width: 190px;
        max-width: 75vw;
    }

    /* Scroll indicators responsive */
    .scroll-indicator-arrows {
        bottom: 30px;
    }

    .arrow-down {
        width: 14px;
        height: 14px;
        border-right: 2px solid rgba(255, 255, 255, 0.7);
        border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    }
    
    .scroll-text {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-top: 12px;
    }

    .scroll-to-top {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== CURSOR GLOW ========== */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 160, 102, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 9999;
    filter: blur(40px);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* ========== SECTION DIVIDER ========== */
.section-divider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(217, 160, 102, 0.3) 20%, rgba(124, 198, 232, 0.3) 50%, rgba(217, 160, 102, 0.3) 80%, transparent);
    border: none;
    opacity: 0.5;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
    border-radius: 10px;
    filter: blur(8px);
    opacity: 0.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .social-links {
        display: none;
    }
    
    /* Show mobile social icons */
    .hero-social-mobile {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 24px 24px;
        min-height: 70px;
    }

    .logo {
        left: 24px;
        font-size: 24px;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Hide desktop animation toggle on mobile */
    .animation-toggle {
        display: none;
    }
    
    /* Show mobile animation toggle */
    .mobile-menu-toggle-wrapper {
        display: block;
    }
    
    .animation-toggle-mobile {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(13, 15, 20, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        gap: 0;
        padding: 80px 40px 40px;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.6);
        transition: right 0.4s cubic-bezier(0.22, 0.9, 0.22, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 18px;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav a::after {
        display: none;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .scroll-to-top {
        bottom: 100px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    section {
        padding: 80px 24px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-team ul {
        grid-template-columns: 1fr;
    }

    .project-actions {
        flex-direction: column;
    }

    .publication-card {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .pub-actions {
        flex-direction: row;
    }

    .featured-events {
        grid-template-columns: 1fr;
    }

    .compact-events {
        grid-template-columns: 1fr;
    }

    .event-hero-section {
        height: 180px;
    }

    .event-icon-large {
        font-size: 60px;
    }

    .event-content {
        padding: 24px;
    }

    .team-members {
        grid-template-columns: 1fr;
    }

    .event-actions-row {
        flex-direction: column;
    }

    .contact-container {
        padding: 40px 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .media-club-section {
        padding: 80px 24px;
    }

    /* Media Club Two-Column Layout - Mobile Fix */
    .media-club-section > div > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Remove sticky positioning on mobile */
    .media-club-section div[style*="position: sticky"] {
        position: static !important;
    }

    /* Role cards - stack vertically on small screens */
    .media-club-section div[style*="grid-template-columns: 1fr 1fr"]:has(div[style*="font-size: 32px"]) {
        grid-template-columns: 1fr !important;
    }

    /* Magazine cover height adjustment */
    .media-club-section div[style*="height: 550px"] {
        height: 400px !important;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .social-posts-grid {
        grid-template-columns: 1fr;
    }

    /* SDG Project - Mobile Layout */
    section div[style*="padding: 48px 60px 60px"] {
        padding: 32px 24px 40px !important;
    }

    section div[style*="padding: 48px;"] {
        padding: 24px !important;
    }

    section div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 32px"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .minecraft-section {
        padding: 60px 24px;
    }

    .server-address {
        font-size: 20px;
        padding: 12px 20px;
    }

    .access-steps {
        padding: 20px;
    }

    .discord-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
}

/* ========== ANIMATIONS DISABLED STATE ========== */
/* Disable all animations but keep elements visible */
body.animations-disabled *,
body.animations-disabled *::before,
body.animations-disabled *::after {
    animation-play-state: paused !important;
    animation: none !important;
}

/* Force visibility and position for hero content when animations disabled */
body.animations-disabled .hero-label,
body.animations-disabled .hero h1,
body.animations-disabled .hero-tagline,
body.animations-disabled .hero-cta {
    opacity: 1 !important;
    transform: none !important;
}

/* Stop particle animation canvas */
body.animations-disabled #particle-canvas {
    display: none;
}

/* Pause gradient orbs */
body.animations-disabled .gradient-orb {
    animation: none !important;
}

/* Stop scroll indicator animations */
body.animations-disabled .scroll-indicator-arrows .arrow-down {
    animation: none !important;
    opacity: 0.6 !important;
}

body.animations-disabled .scroll-text {
    animation: none !important;
    opacity: 0.8 !important;
}

/* Stop glow effects */
body.animations-disabled .hero h1::before {
    animation: none !important;
}

/* Disable cursor glow */
body.animations-disabled .cursor-glow {
    display: none;
}

/* Keep essential transitions for usability */
body.animations-disabled a:hover,
body.animations-disabled button:hover,
body.animations-disabled .btn:hover {
    transition: all 0.2s ease !important;
}
