/* ==================== */
/* CSS VARIABLES & RESET */
/* ==================== */

:root {
    /* Cyberpunk/Neon Color Palette */
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #ffff00;
    --neon-blue: #00ffff;
    --neon-pink: #ff0080;
    --neon-purple: #b300ff;
    --neon-green: #00ff41;
    --success-color: #00ff41;
    --warning-color: #ffff00;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient-1: linear-gradient(135deg, #0099cc 0%, #cc0099 100%);
    --gradient-2: linear-gradient(135deg, #cc0066 0%, #cccc00 100%);
    --gradient-3: linear-gradient(135deg, #00cc33 0%, #0099cc 100%);
    --gradient-4: linear-gradient(135deg, #9900cc 0%, #cc0066 100%);
    --gradient-5: linear-gradient(135deg, #cccc00 0%, #00cc33 100%);
    --neon-glow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
}

body.dark-theme {
    --text-primary: #00d9ff !important;
    --text-secondary: #a0a0a0 !important;
    --bg-primary: #0a0e27 !important;
    --bg-secondary: #0f1419 !important;
    --bg-tertiary: #1a1f35 !important;
    --border-color: rgba(0, 191, 255, 0.3) !important;
    --neon-blue: #00d9ff !important;
    --neon-pink: #ff3399 !important;
    --neon-purple: #cc66ff !important;
    --neon-green: #00ff88 !important;
    --shadow-sm: 0 1px 3px rgba(0, 217, 255, 0.15) !important;
    --shadow-md: 0 4px 6px rgba(0, 217, 255, 0.2) !important;
    --shadow-lg: 0 10px 25px rgba(0, 217, 255, 0.25) !important;
    --shadow-xl: 0 20px 40px rgba(255, 51, 153, 0.3) !important;
    background: linear-gradient(135deg, #0a0e27 0%, #0f1419 50%, #1a1f35 100%) !important;
    background-attachment: fixed !important;
    color: #00d9ff !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
}

body.dark-theme::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 255, 255, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 3px
        );
    pointer-events: none;
    z-index: 9999;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

body.dark-theme::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 51, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(255, 255, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-2);
}

body.dark-theme::-webkit-scrollbar-track {
    background: #0a0e27;
}

body.dark-theme::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-pink));
    box-shadow: 0 0 10px var(--neon-blue);
}

body.dark-theme::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 20px var(--neon-blue), 0 0 20px var(--neon-pink);
}

/* Matrix Canvas */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

body.dark-theme #matrix-canvas {
    opacity: 0.15;
}

/* ==================== */
/* LOADING SCREEN */
/* ==================== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

body.dark-theme .loading-screen {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 500px;
    padding: 2rem;
}

/* Loading Grid Background */
.loading-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
    z-index: 1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Loading Logo Container */
.loading-logo-container {
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-logo-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    animation: logoFloat 3s ease-in-out infinite;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3), 0 0 60px rgba(255, 51, 153, 0.2);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.loading-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.loading-logo-img.light-logo {
    opacity: 1;
}

.loading-logo-img.dark-logo {
    opacity: 0;
}

body.dark-theme .loading-logo-img.light-logo {
    opacity: 0;
}

body.dark-theme .loading-logo-img.dark-logo {
    opacity: 1;
}

.loading-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.3) 0%, transparent 70%);
    animation: logoGlow 2s ease-in-out infinite;
    pointer-events: none;
}

body.dark-theme .loading-logo-glow {
    background: radial-gradient(circle, rgba(0, 217, 255, 0.4) 0%, transparent 70%);
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.loading-brand-name {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.2rem;
}

.loading-brand-text {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brandPulse 2s ease-in-out infinite;
}

@keyframes brandPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.loading-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    margin: 0;
    opacity: 0.8;
}

body.dark-theme .loading-tagline {
    color: rgba(255, 255, 255, 0.7);
}

/* Loading Progress Section */
.loading-progress-section {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.loading-progress-container {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(0, 217, 255, 0.1);
}

body.dark-theme .loading-progress-container {
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 217, 255, 0.2);
}

.loading-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        rgba(0, 217, 255, 0.8) 0%,
        rgba(138, 43, 226, 0.8) 50%,
        rgba(255, 51, 153, 0.8) 100%
    );
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 15px rgba(0, 217, 255, 0.6),
        0 0 30px rgba(0, 217, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

body.dark-theme .loading-progress-bar {
    background: linear-gradient(90deg, 
        rgba(0, 217, 255, 1) 0%,
        rgba(138, 43, 226, 1) 50%,
        rgba(255, 51, 153, 1) 100%
    );
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.8),
        0 0 40px rgba(0, 217, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.loading-progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

@keyframes progressGlow {
    0% { left: -10%; }
    100% { left: 110%; }
}

/* Loading Percentage */
.loading-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.loading-percentage {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    font-family: 'Courier New', monospace;
    text-shadow: 
        0 0 10px rgba(0, 217, 255, 0.6),
        0 0 20px rgba(0, 217, 255, 0.4);
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin: 0;
}

body.dark-theme .loading-percentage {
    color: rgba(0, 217, 255, 1);
    text-shadow: 
        0 0 15px rgba(0, 217, 255, 0.8),
        0 0 30px rgba(0, 217, 255, 0.5);
}

.loading-percent-symbol {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Loading Status Text */
.loading-status {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    animation: loadingTextPulse 1.5s ease-in-out infinite;
    margin: 0;
    white-space: nowrap;
}

body.dark-theme .loading-status {
    color: rgba(255, 255, 255, 0.7);
}

@keyframes loadingTextPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ==================== */
/* PARTICLE CANVAS */
/* ==================== */

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.6;
}

/* ==================== */
/* FLOATING SHAPES */
/* ==================== */

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: 5%;
    animation: morph 20s ease-in-out infinite, float 15s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    top: 60%;
    right: 10%;
    animation: morph 15s ease-in-out infinite reverse, float 20s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-3);
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    bottom: 10%;
    left: 15%;
    animation: morph 18s ease-in-out infinite, float 25s ease-in-out infinite reverse;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: var(--gradient-4);
    border-radius: 50% 50% 70% 30% / 30% 70% 50% 50%;
    top: 40%;
    right: 30%;
    animation: morph 22s ease-in-out infinite reverse, float 18s ease-in-out infinite;
}

.shape-5 {
    width: 220px;
    height: 220px;
    background: var(--gradient-5);
    border-radius: 70% 30% 50% 50% / 50% 50% 30% 70%;
    top: 20%;
    right: 5%;
    animation: morph 16s ease-in-out infinite, float 22s ease-in-out infinite reverse;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
    }
}

/* ==================== */
/* CUSTOM CURSOR */
/* ==================== */

/* CUSTOM CURSOR - DISABLED */
.cursor,
.cursor-follower {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

body.dark-theme .navbar {
    background: rgba(15, 23, 42, 0.7);
}

.navbar.scrolled {
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.9);
}

body.dark-theme .navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.logo-img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 50%;
    display: block;
}

.logo-img.light-logo {
    display: block;
}

.logo-img.dark-logo {
    display: none;
}

body.dark-theme .logo-img.light-logo {
    display: none;
}

body.dark-theme .logo-img.dark-logo {
    display: block;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: var(--neon-glow);
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

body.dark-theme .logo-text {
    color: var(--neon-blue);
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-blue),
        0 0 40px var(--neon-blue);
    animation: neonFlicker 3s infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% {
        opacity: 1;
        text-shadow: 
            0 0 10px var(--neon-blue),
            0 0 20px var(--neon-blue),
            0 0 30px var(--neon-blue),
            0 0 40px var(--neon-blue);
    }
    50% {
        opacity: 0.95;
        text-shadow: 
            0 0 5px var(--neon-blue),
            0 0 10px var(--neon-blue),
            0 0 15px var(--neon-blue);
    }
}

.logo-text::before {
    content: '[ ';
    position: absolute;
    left: -20px;
    color: var(--neon-pink);
}

.logo-text::after {
    content: ' ]';
    position: absolute;
    right: -20px;
    color: var(--neon-pink);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 45px;
}

.lang-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    min-width: 50px;
    height: 45px;
    padding: 0 15px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

body.dark-theme .lang-toggle {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.lang-toggle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.dark-theme .lang-toggle::before {
    background: var(--neon-blue);
    opacity: 0.1;
}

.lang-toggle:hover::before {
    opacity: 1;
}

body.dark-theme .lang-toggle:hover::before {
    opacity: 0.2;
}

.lang-text {
    position: relative;
    z-index: 1;
}

.lang-toggle:hover {
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

body.dark-theme .lang-toggle:hover {
    box-shadow: 
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-blue);
    transform: translateY(-3px) scale(1.05);
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle:hover::before {
    opacity: 1;
}

.theme-toggle i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    color: white;
    transform: rotate(180deg);
    border-color: transparent;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    height: 45px;
    width: 45px;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

body.dark-theme .mobile-menu-toggle span {
    background: #fff;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

body.dark-theme .mobile-menu {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(0, 255, 255, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-logo-img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: block;
}

.mobile-logo-img.light-logo {
    display: block;
}

.mobile-logo-img.dark-logo {
    display: none;
}

body.dark-theme .mobile-logo-img.light-logo {
    display: none;
}

body.dark-theme .mobile-logo-img.dark-logo {
    display: block;
}

.mobile-menu-header .logo-text {
    font-size: 1rem;
    letter-spacing: 1.5px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

body.dark-theme .mobile-menu-header {
    border-bottom-color: rgba(0, 255, 255, 0.2);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--neon-pink);
    transform: rotate(90deg);
}

body.dark-theme .mobile-menu-close {
    color: #fff;
}

.mobile-menu-content {
    flex: 1;
    padding: 1rem 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.1), transparent);
    border-left-color: var(--neon-blue);
    color: var(--neon-blue);
}

body.dark-theme .mobile-nav-link {
    color: #fff;
}

body.dark-theme .mobile-nav-link:hover,
body.dark-theme .mobile-nav-link.active {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

body.dark-theme .mobile-menu-footer {
    border-top-color: rgba(0, 255, 255, 0.2);
}

.mobile-menu-footer .lang-toggle {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.morphing-blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.4;
    animation: blobMorph 20s ease-in-out infinite, blobFloat 15s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -200px;
    right: -200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -150px;
    left: -150px;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation-delay: -5s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    animation-delay: -10s;
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease;
    overflow: hidden;
}

.hero-greeting {
    font-size: 1.3rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-name {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.4s both;
    white-space: nowrap;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    animation: glitchText 5s infinite;
}

body.dark-theme .text-gradient {
    background: linear-gradient(
        90deg,
        var(--neon-blue) 0%,
        var(--neon-purple) 50%,
        var(--neon-pink) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6)) 
            drop-shadow(0 0 20px rgba(204, 102, 255, 0.4));
}

@keyframes glitchText {
    0%, 90%, 100% {
        transform: translate(0);
    }
    91% {
        transform: translate(-2px, 2px);
    }
    92% {
        transform: translate(2px, -2px);
    }
    93% {
        transform: translate(-2px, -2px);
    }
    94% {
        transform: translate(2px, 2px);
    }
    95% {
        transform: translate(0);
    }
}

.text-gradient::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    opacity: 0.3;
    filter: blur(10px);
}

body.dark-theme .text-gradient::before {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -2px 0 var(--neon-pink);
    top: 0;
    color: var(--neon-blue);
    background: transparent;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
    white-space: nowrap;
}

@keyframes glitch-anim {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }
    5% {
        clip: rect(12px, 9999px, 59px, 0);
    }
    10% {
        clip: rect(48px, 9999px, 29px, 0);
    }
    15% {
        clip: rect(42px, 9999px, 73px, 0);
    }
    20% {
        clip: rect(63px, 9999px, 27px, 0);
    }
    25% {
        clip: rect(34px, 9999px, 55px, 0);
    }
    30% {
        clip: rect(86px, 9999px, 73px, 0);
    }
    35% {
        clip: rect(20px, 9999px, 20px, 0);
    }
    40% {
        clip: rect(26px, 9999px, 60px, 0);
    }
    45% {
        clip: rect(25px, 9999px, 66px, 0);
    }
    50% {
        clip: rect(57px, 9999px, 98px, 0);
    }
    55% {
        clip: rect(5px, 9999px, 46px, 0);
    }
    60% {
        clip: rect(82px, 9999px, 31px, 0);
    }
    65% {
        clip: rect(54px, 9999px, 27px, 0);
    }
    70% {
        clip: rect(28px, 9999px, 99px, 0);
    }
    75% {
        clip: rect(45px, 9999px, 69px, 0);
    }
    80% {
        clip: rect(23px, 9999px, 85px, 0);
    }
    85% {
        clip: rect(54px, 9999px, 84px, 0);
    }
    90% {
        clip: rect(45px, 9999px, 47px, 0);
    }
    95% {
        clip: rect(37px, 9999px, 20px, 0);
    }
    100% {
        clip: rect(4px, 9999px, 91px, 0);
    }
}

.hero-title {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.typing-text {
    color: var(--primary-color);
    font-weight: 600;
}

.cursor-typing {
    animation: blink 0.7s infinite;
    color: var(--primary-color);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 1s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span,
.btn i {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

body.dark-theme .btn-primary {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 
        0 0 10px var(--neon-blue),
        inset 0 0 10px rgba(0, 217, 255, 0.15);
    text-shadow: 0 0 8px var(--neon-blue);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

body.dark-theme .btn-primary:hover {
    box-shadow: 
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-blue),
        inset 0 0 20px rgba(0, 217, 255, 0.25);
    transform: translateY(-5px) scale(1.05);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.social-links {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 1.2s both;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover::before {
    transform: translateY(0);
}

.social-link:hover {
    color: white;
    transform: translateY(-5px);
    border-color: transparent;
}

.hero-image {
    animation: slideInRight 1s ease;
    perspective: 1000px;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    animation: heroImageFloat 6s ease-in-out infinite;
}

@keyframes heroImageFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

.image-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.image-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.frame-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid var(--primary-color);
}

.corner-tl {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
    animation: cornerFloat 3s ease-in-out infinite;
}

.corner-tr {
    top: -10px;
    right: -10px;
    border-left: none;
    border-bottom: none;
    animation: cornerFloat 3s ease-in-out infinite 0.5s;
}

.corner-bl {
    bottom: -10px;
    left: -10px;
    border-right: none;
    border-top: none;
    animation: cornerFloat 3s ease-in-out infinite 1s;
}

.corner-br {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
    animation: cornerFloat 3s ease-in-out infinite 1.5s;
}

@keyframes cornerFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(5px, 5px);
    }
}

.image-3d-wrapper {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.image-3d-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--bg-primary);
    box-shadow: var(--shadow-xl);
    display: block;
}

.floating-badge {
    position: absolute;
    background: var(--bg-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    z-index: 3;
}

.badge-1 {
    top: 10%;
    right: -10%;
    animation: badgeFloat 4s ease-in-out infinite;
}

.badge-2 {
    bottom: 30%;
    left: -15%;
    animation: badgeFloat 4s ease-in-out infinite 1.3s;
}

.badge-3 {
    bottom: 10%;
    right: -5%;
    animation: badgeFloat 4s ease-in-out infinite 2.6s;
}

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

.floating-badge i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

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

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

/* ==================== */
/* SECTIONS */
/* ==================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    position: relative;
    display: inline-block;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.section-subtitle::before {
    right: calc(100% + 10px);
}

.section-subtitle::after {
    left: calc(100% + 10px);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-top: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 5px;
}

body.dark-theme .section-title {
    color: var(--neon-blue);
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-pink),
        0 0 30px var(--neon-purple);
    -webkit-text-fill-color: transparent;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink), var(--neon-purple), var(--neon-blue));
    background-size: 300% 300%;
    animation: holographic 4s ease infinite;
}

@keyframes holographic {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.decoration-line {
    width: 80px;
    height: 2px;
    background: var(--gradient-1);
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.about {
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.1);
}

.tech-stack-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    animation: techIconFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.tech-icon:nth-child(1) {
    top: 5%;
    left: -10%;
    color: #e34c26;
}

.tech-icon:nth-child(2) {
    top: 20%;
    right: -10%;
    color: #264de4;
}

.tech-icon:nth-child(3) {
    top: 50%;
    left: -15%;
    color: #f0db4f;
}

.tech-icon:nth-child(4) {
    bottom: 30%;
    right: -10%;
    color: #61dafb;
}

.tech-icon:nth-child(5) {
    bottom: 10%;
    left: -10%;
    color: #68a063;
}

.tech-icon:nth-child(6) {
    bottom: 5%;
    right: -15%;
    color: #3776ab;
}

.tech-icon:nth-child(7) {
    top: 70%;
    right: -5%;
    color: #000080;
}

@keyframes techIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.image-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        top: -100%;
        left: -100%;
    }
    100% {
        top: 200%;
        left: 200%;
    }
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

body.dark-theme .skill-category {
    background: rgba(10, 14, 39, 0.6);
    border: 2px solid var(--neon-blue);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.2),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

body.dark-theme .skill-category::before {
    background: linear-gradient(45deg, 
        transparent, 
        rgba(0, 255, 255, 0.1), 
        rgba(255, 51, 153, 0.1), 
        transparent
    );
    background-size: 200% 200%;
    animation: scanEffect 3s ease infinite;
}

@keyframes scanEffect {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.skill-category::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink), var(--neon-purple), var(--neon-blue));
    background-size: 400%;
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: borderFlow 4s ease infinite;
}

@keyframes borderFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

body.dark-theme .skill-category:hover::after {
    opacity: 1;
}

.skill-category:hover::before {
    opacity: 0.05;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

body.dark-theme .skill-category:hover {
    box-shadow: 
        0 0 30px var(--neon-blue),
        0 0 40px var(--neon-pink),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-15px) scale(1.02);
}

.skill-category > * {
    position: relative;
    z-index: 1;
}

.skill-category-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.skill-category:hover .skill-category-icon {
    transform: rotateY(180deg);
}

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

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ==================== */
/* SKILL LOGOS GRID */
/* ==================== */

.skill-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-logo-item:hover::before {
    left: 100%;
}

.skill-logo-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

body.dark-theme .skill-logo-item {
    background: var(--bg-tertiary);
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

body.dark-theme .skill-logo-item:hover {
    border-color: var(--neon-pink);
    box-shadow: 
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-pink),
        0 10px 40px rgba(255, 51, 153, 0.4);
    transform: translateY(-10px) scale(1.08);
}

.skill-logo-item i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

body.dark-theme .skill-logo-item i {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.skill-logo-item:hover i {
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 0 10px currentColor);
}

body.dark-theme .skill-logo-item:hover i {
    color: var(--neon-pink);
    text-shadow: 
        0 0 20px var(--neon-pink),
        0 0 30px var(--neon-blue);
    animation: neonPulse 1s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px currentColor);
    }
    50% {
        filter: brightness(1.5) drop-shadow(0 0 20px currentColor);
    }
}

.skill-logo-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    transition: all 0.3s ease;
}

body.dark-theme .skill-logo-item span {
    color: var(--neon-blue);
}

.skill-logo-item:hover span {
    color: var(--primary-color);
    transform: scale(1.1);
}

body.dark-theme .skill-logo-item:hover span {
    color: var(--neon-pink);
}

/* Specific icon colors */
.skill-logo-item .fa-html5 {
    color: #E34F26;
}

.skill-logo-item .fa-css3-alt {
    color: #1572B6;
}

.skill-logo-item .fa-js {
    color: #F7DF1E;
}

.skill-logo-item .fa-react {
    color: #61DAFB;
}

.skill-logo-item .fa-vuejs {
    color: #42B883;
}

.skill-logo-item .fa-node-js {
    color: #339933;
}

.skill-logo-item .fa-python {
    color: #3776AB;
}

.skill-logo-item .fa-php {
    color: #777BB4;
}

.skill-logo-item .fa-sass {
    color: #CC6699;
}

.skill-logo-item .fa-bootstrap {
    color: #7952B3;
}

.skill-logo-item .fa-git-alt {
    color: #F05032;
}

.skill-logo-item .fa-github {
    color: #181717;
}

body.dark-theme .skill-logo-item .fa-github {
    color: #ffffff;
}

.skill-logo-item .fa-docker {
    color: #2496ED;
}

.skill-logo-item .fa-aws {
    color: #FF9900;
}

.skill-logo-item .fa-figma {
    color: #F24E1E;
}

.skill-logo-item .fa-npm {
    color: #CB3837;
}

.skill-logo-item .fa-linux {
    color: #FCC624;
}

.skill-logo-item .fa-database {
    color: #4DB33D;
}

.skill-logo-item .fa-fire {
    color: #FFCA28;
}

/* TypeScript */
.skill-logo-item .fa-code {
    color: #3178C6;
}

/* Nuxt.js */
.skill-logo-item .fa-layer-group {
    color: #00DC82;
}

/* DevOps */
.skill-logo-item .fa-cogs {
    color: #0066CC;
}

/* Next.js */
.skill-logo-item .fa-forward {
    color: #000000;
}

body.dark-theme .skill-logo-item .fa-forward {
    color: #ffffff;
}

/* Astro */
.skill-logo-item .fa-rocket {
    color: #FF5D01;
}

/* Go/Golang */
.skill-logo-item .fa-cubes {
    color: #00ADD8;
}

.skill-bar {
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(10px);
}

/* ==================== */
/* PRICING SECTION */
/* ==================== */

.pricing {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 51, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.pricing .section-description {
    max-width: 700px;
    margin: 1rem auto 3rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Pricing Response Time */
.pricing-response-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding: 0.5rem 0.8rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 51, 153, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.pricing-response-time i {
    color: var(--neon-blue);
    font-size: 0.85rem;
}

body.dark-theme .pricing-response-time {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.08), rgba(255, 51, 153, 0.08));
    border-color: rgba(0, 217, 255, 0.2);
    color: rgba(0, 217, 255, 0.9);
}

body.dark-theme .pricing-response-time i {
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
    color: var(--neon-blue);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }
.pricing-card:nth-child(4) { animation-delay: 0.4s; }
.pricing-card:nth-child(5) { animation-delay: 0.5s; }
.pricing-card:nth-child(6) { animation-delay: 0.6s; }
.pricing-card:nth-child(7) { animation-delay: 0.7s; }

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(255, 51, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.3);
}

/* Featured Card */
.pricing-card.featured {
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.4);
}

/* Premium Card */
.pricing-card.premium {
    border-color: rgba(255, 51, 153, 0.5);
    box-shadow: 0 10px 30px rgba(255, 51, 153, 0.2);
}

.pricing-card.premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 51, 153, 0.4);
}

/* Maintenance Card */
.pricing-card.maintenance {
    border-color: rgba(0, 255, 65, 0.3);
}

.pricing-card.maintenance:hover {
    border-color: rgba(0, 255, 65, 0.5);
    box-shadow: 0 20px 40px rgba(0, 255, 65, 0.2);
}

.featured-badge,
.premium-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00f0ff, #00a8ff);
    color: #0a0a0a;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.premium-badge {
    background: linear-gradient(135deg, #ff00ff, #b300ff);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 51, 153, 0.4);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 25px rgba(0, 217, 255, 0.6);
    }
}

.pricing-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(255, 51, 153, 0.2));
    border-radius: 50%;
    font-size: 2rem;
    color: var(--neon-blue);
    border: 2px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.pricing-card:hover .pricing-icon {
    transform: rotateY(360deg);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
    border-color: rgba(0, 217, 255, 0.6);
}

.pricing-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
    position: relative;
    z-index: 1;
}

body.dark-theme .pricing-title {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.pricing-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 60px;
    position: relative;
    z-index: 1;
}

.pricing-price {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    position: relative;
    z-index: 1;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00f0ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.price-currency {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.pricing-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.pricing-duration i {
    color: var(--neon-blue);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-features li > i:first-child {
    color: var(--neon-green);
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

body.dark-theme .pricing-features li > i:first-child {
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

/* Wrapper for warranty text + icon */
.pricing-features li span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Warranty Info Icon & Tooltip */
.warranty-info {
    color: var(--neon-blue);
    font-size: 0.9rem;
    cursor: help;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.warranty-info:hover {
    color: var(--neon-pink);
    transform: scale(1.15);
    background: rgba(255, 51, 153, 0.15);
    border-color: rgba(255, 51, 153, 0.4);
}

body.dark-theme .warranty-info {
    background: rgba(0, 217, 255, 0.15);
    border-color: rgba(0, 217, 255, 0.4);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

body.dark-theme .warranty-info:hover {
    background: rgba(255, 51, 153, 0.2);
    border-color: rgba(255, 51, 153, 0.5);
    text-shadow: 0 0 12px rgba(255, 51, 153, 0.7);
}

/* Warranty Tooltip */
.warranty-tooltip {
    position: absolute;
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
    color: #fff;
    padding: 1.2rem 1.4rem;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.7;
    width: max-content;
    max-width: 380px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(0, 255, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    white-space: normal;
}

body.dark-theme .warranty-tooltip {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(20, 20, 20, 0.98));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.5);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.8), 
        0 0 30px rgba(0, 255, 255, 0.35),
        inset 0 1px 0 rgba(0, 255, 255, 0.2);
}

.warranty-info:hover .warranty-tooltip,
.warranty-info.active .warranty-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.warranty-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: rgba(30, 41, 59, 0.98);
}

body.dark-theme .warranty-tooltip::before {
    border-right-color: rgba(0, 255, 255, 0.3);
}

.warranty-tooltip-section {
    margin-bottom: 1rem;
}

.warranty-tooltip-section:last-child {
    margin-bottom: 0;
}

.warranty-tooltip-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: block;
}

/* Covered (ครอบคลุม) - Green */
.warranty-tooltip-title.covered {
    color: #00ff41;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
}

body.dark-theme .warranty-tooltip-title.covered {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

/* Not Covered (ไม่ครอบคลุม) - Pink/Red */
.warranty-tooltip-title.not-covered {
    color: #ff0080;
    text-shadow: 0 0 8px rgba(255, 0, 128, 0.6);
}

body.dark-theme .warranty-tooltip-title.not-covered {
    color: #ff1493;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
}

.warranty-tooltip-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.6;
    display: block;
}

/* Responsive Tooltip */
@media (max-width: 768px) {
    .pricing-response-time {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .warranty-tooltip {
        position: fixed;
        bottom: 50%;
        left: 50%;
        transform: translate(-50%, 50%);
        max-width: 85vw;
        width: auto;
        font-size: 0.8rem;
        padding: 0.9rem 1rem;
        line-height: 1.5;
    }
    
    .warranty-info:hover .warranty-tooltip,
    .warranty-info.active .warranty-tooltip {
        transform: translate(-50%, 50%);
    }
    
    .warranty-tooltip::before {
        display: none;
    }
    
    .warranty-tooltip-title {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .warranty-tooltip-text {
        font-size: 0.75rem;
        line-height: 1.5;
    }
}

/* Pricing Actions */
.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-btn {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: none;
    font-family: inherit;
    white-space: nowrap;
}

.pricing-btn i {
    font-size: 1rem;
}

.pricing-btn-details {
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid rgba(0, 217, 255, 0.3);
    color: var(--neon-blue);
}

.pricing-btn-details:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

.pricing-btn-primary {
    background: linear-gradient(135deg, #00f0ff, #ff00ff);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

.pricing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.5);
}

.pricing-btn-primary:active {
    transform: translateY(0);
}

/* Responsive Buttons */
@media (max-width: 1200px) {
    .pricing-actions {
        gap: 0.5rem;
    }
    
    .pricing-btn {
        padding: 0.8rem 0.8rem;
        font-size: 0.85rem;
        gap: 0.3rem;
    }
    
    .pricing-btn i {
        font-size: 0.9rem;
    }
    
    .pricing-btn span {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .pricing-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-btn {
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
    
    .pricing-btn span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pricing-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .pricing-btn span {
        font-size: 0.85rem;
    }
}

/* Pricing Modal */
.pricing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.pricing-modal.active {
    display: flex;
}

.pricing-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    cursor: pointer;
    z-index: 1;
}

.pricing-modal-content {
    position: relative;
    background: var(--bg-primary);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    z-index: 1;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    color: #ff0080;
    font-size: 1.2rem;
    cursor: pointer !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;
    flex-shrink: 0;
    pointer-events: auto !important;
}

.pricing-modal-close:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: rotate(90deg) scale(1.1);
}

body.dark-theme .pricing-modal-close {
    background: rgba(255, 0, 128, 0.2);
    border-color: rgba(255, 0, 128, 0.5);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.3);
}

body.dark-theme .pricing-modal-close:hover {
    background: rgba(255, 0, 128, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
}

.pricing-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing-modal-header i {
    font-size: 2rem;
    color: var(--neon-blue);
}

.pricing-modal-header h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
}

body.dark-theme .pricing-modal-header h3 {
    color: var(--neon-blue);
}

.pricing-modal-body {
    padding: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.pricing-modal-body h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

body.dark-theme .pricing-modal-body h4 {
    color: var(--neon-blue);
}

.pricing-modal-body ul {
    list-style: none;
    padding: 0;
}

.pricing-modal-body ul li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.pricing-modal-body ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--neon-blue);
    font-weight: bold;
}

.pricing-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    position: relative;
    z-index: 10001;
}

.pricing-modal-footer .pricing-btn {
    width: 100%;
    position: relative;
    z-index: 10001;
}

.pricing-modal-footer .modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10001 !important;
    position: relative;
    border: none;
    outline: none;
    width: 100%;
}

.pricing-modal-footer .modal-cta:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .pricing-modal {
        padding: 0.5rem;
    }
    
    .pricing-modal-content {
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .pricing-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        z-index: 10003;
    }
    
    .pricing-modal-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .pricing-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .pricing-modal-body {
        padding: 1rem;
    }
    
    .pricing-modal-footer {
        padding: 1rem;
    }
    
    .pricing-modal-footer .modal-cta {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Pricing Note */
.pricing-note {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
    opacity: 0;
}

.note-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(255, 51, 153, 0.2));
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--neon-blue);
    flex-shrink: 0;
}

.note-content h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

body.dark-theme .note-content h4 {
    color: var(--neon-blue);
}

.note-content ul {
    list-style: none;
    padding: 0;
}

.note-content ul li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.note-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--neon-blue);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1400px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 1.8rem;
    }
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-title {
        font-size: 1.2rem;
    }
    
    .pricing-description {
        font-size: 0.9rem;
        min-height: 50px;
    }
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px) scale(1);
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .pricing-note {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .note-icon {
        margin: 0 auto;
    }
    
    .note-content ul li {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .pricing-title {
        font-size: 1.2rem;
    }
    
    .pricing-description {
        font-size: 0.9rem;
        min-height: auto;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    .pricing-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

/* ==================== */
/* PROJECTS SECTION - COMING SOON */
/* ==================== */

.projects {
    background: var(--bg-secondary);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
}

.projects-coming-soon,
.projects-showcase {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.projects-intro {
    margin-bottom: 2rem;
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.projects-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projects-intro:hover::before {
    opacity: 1;
}

.projects-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
    border-color: var(--neon-blue);
}

.live-projects-intro {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05), rgba(255, 51, 153, 0.05));
}

.live-projects-intro::before {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
}

.projects-intro h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.projects-intro p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.projects-intro .projects-view-btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.projects-action {
    margin: 3rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    grid-column: 1 / -1;
}

.projects-view-btn,
.projects-contact-btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    flex: 0 1 auto;
    min-width: 200px;
}

.projects-view-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.projects-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Projects Responsive */
@media (max-width: 1024px) {
    .projects-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-intro {
        padding: 2rem;
    }
    
    .projects-intro h3 {
        font-size: 1.3rem;
    }
    
    .projects-action {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .projects-view-btn,
    .projects-contact-btn {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .projects-intro {
        padding: 1.5rem;
    }
    
    .projects-intro h3 {
        font-size: 1.2rem;
    }
    
    .projects-intro p {
        font-size: 0.95rem;
    }
    
    .projects-view-btn,
    .projects-contact-btn {
        font-size: 1rem;
        padding: 0.9rem 2rem;
        min-width: auto;
    }
}

.coming-soon-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-icon i {
    font-size: 5rem;
    color: var(--primary-color);
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

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

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.projects-coming-soon h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-coming-soon p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.coming-soon-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.coming-soon-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-item span {
    font-weight: 600;
    color: var(--text-primary);
}

.progress-container {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.progress-percent {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 75%;
    background: var(--gradient-1);
    border-radius: 10px;
    position: relative;
    animation: progressFill 2s ease-out;
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 75%;
    }
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(5px);
    animation: shimmerProgress 2s ease-in-out infinite;
}

@keyframes shimmerProgress {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
}

.coming-soon-btn {
    margin-top: 2rem;
    display: inline-flex;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 25px;
    border: 2px solid var(--border-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body.dark-theme .contact-card {
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid var(--neon-blue);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
}

body.dark-theme .contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 255, 0.3), 
        rgba(255, 51, 153, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

body.dark-theme .contact-card:hover::before {
    left: 100%;
}

.contact-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.contact-card:hover .contact-card-bg {
    opacity: 0.1;
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
}

body.dark-theme .contact-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 
        0 0 40px var(--neon-blue),
        0 0 60px var(--neon-pink),
        inset 0 0 30px rgba(0, 255, 255, 0.2);
    border-color: var(--neon-pink);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover .contact-card-icon {
    transform: rotateY(360deg) scale(1.1);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.contact-card:hover h3,
.contact-card:hover p {
    color: var(--text-primary);
}

.contact-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.contact-card:hover .contact-arrow {
    opacity: 1;
    transform: translateX(0);
}

.contact-pin {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-pin {
    opacity: 1;
    transform: scale(1.2) rotate(15deg);
}

/* Specific card colors */
.github-card .contact-card-icon {
    background: linear-gradient(135deg, #333 0%, #000 100%);
}

.github-card:hover {
    border-color: #333;
}

.facebook-card .contact-card-icon {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bdd 100%);
}

.facebook-card:hover {
    border-color: #1877f2;
    box-shadow: 0 25px 50px rgba(24, 119, 242, 0.25);
}

.location-card {
    cursor: default;
}

.location-card .contact-card-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Availability Status */
.contact-availability {
    text-align: center;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: 25px;
    border: 2px solid var(--border-color);
}

.availability-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #43e97b;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(67, 233, 123, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(67, 233, 123, 0);
    }
}

.status-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.availability-info {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

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

.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.footer-social i {
    position: relative;
    z-index: 1;
}

.footer-social:hover::before {
    transform: translateY(0);
}

.footer-social:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-5px) rotate(360deg);
}

.footer-nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.footer-nav a,
.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-nav a::before,
.footer-contact a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-nav a:hover::before,
.footer-contact a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-contact p {
    color: var(--text-secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.footer-copyright p:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.footer-tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem !important;
    opacity: 0.8;
}

.footer-tagline i {
    color: var(--primary-color);
    animation: codebeat 2s ease-in-out infinite;
}

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

/* ==================== */
/* BACK TO TOP */
/* ==================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

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

@media (max-width: 1024px) {
    /* Navbar responsive for tablets */
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 0.95rem;
        letter-spacing: 1.2px;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .nav-actions {
        gap: 0.6rem;
    }
    
    .lang-toggle,
    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .lang-toggle {
        min-width: 45px;
        padding: 0 10px;
    }
    
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-name {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .floating-badge {
        display: none;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-tagline {
        justify-content: center;
    }
}

/* Specific adjustments for iPad (769px - 900px) */
@media (min-width: 769px) and (max-width: 900px) {
    .navbar {
        padding: 1rem 1.2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .lang-toggle {
        min-width: 42px;
        padding: 0 8px;
    }
}

@media (max-width: 768px) {
    /* Mobile Performance Optimization */
    
    /* FORCE disable ALL 3D transforms on mobile - AGGRESSIVE */
    body,
    body *,
    body *::before,
    body *::after {
        transform: none !important;
        transform-style: flat !important;
        perspective: none !important;
        backface-visibility: visible !important;
        will-change: auto !important;
    }
    
    .floating-shapes,
    .morphing-blob,
    .grid-pattern,
    .cursor,
    .cursor-follower,
    #matrix-canvas,
    #particleCanvas {
        display: none !important;
    }
    
    /* AGGRESSIVE: Lock down about image completely */
    .about-image,
    .about-image-wrapper,
    .about-image-wrapper *,
    .about-image-wrapper img,
    .image-3d-wrapper,
    .image-3d-wrapper *,
    .image-3d-wrapper img,
    .tilt-effect {
        transform: none !important;
        transform-style: flat !important;
        perspective: none !important;
        transition: none !important;
        animation: none !important;
        backface-visibility: visible !important;
        will-change: auto !important;
        position: relative !important;
    }
    
    .about-image-wrapper:hover,
    .about-image-wrapper:active,
    .about-image-wrapper:focus,
    .image-3d-wrapper:hover,
    .image-3d-wrapper:active,
    .image-3d-wrapper:focus {
        transform: none !important;
    }
    
    .about-image-wrapper img:hover,
    .about-image-wrapper img:active,
    .image-3d-wrapper img:hover,
    .image-3d-wrapper img:active {
        transform: none !important;
    }
    
    /* Disable ALL interactions on image wrapper */
    .about-image-wrapper,
    .image-3d-wrapper {
        pointer-events: none !important;
        touch-action: auto !important;
        user-select: none !important;
    }
    
    .about-image-wrapper *,
    .image-3d-wrapper * {
        pointer-events: none !important;
        touch-action: auto !important;
    }
    
    /* Other elements that should not have 3D */
    .contact-card,
    .pricing-card,
    .skill-category {
        transform: none !important;
        transform-style: flat !important;
        perspective: none !important;
        transition: all 0.3s ease !important;
    }
    
    /* COMPLETELY HIDE tech icons on mobile */
    .tech-stack-icons,
    .tech-icon,
    .image-shine {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        animation: none !important;
        transform: none !important;
    }
    
    /* Lock the about section container */
    .about-content {
        transform: none !important;
    }
    
    .contact-card:hover,
    .pricing-card:hover {
        transform: translateY(-5px) !important;
    }
    
    /* Reduce complex animations */
    * {
        animation-duration: 0.3s !important;
    }
    
    /* FORCE: Remove ALL transform properties on mobile */
    .about-image *,
    .about-image-wrapper *,
    .about-content * {
        transform: none !important;
    }
    
    .skill-logos {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }
    
    .skill-logo-item {
        padding: 1.2rem 0.8rem;
    }
    
    .skill-logo-item i {
        font-size: 2.5rem;
    }
    
    .skill-logo-item span {
        font-size: 0.75rem;
    }
    
    /* Navbar responsive for mobile */
    .navbar {
        padding: 1rem 0.75rem;
    }
    
    .logo {
        gap: 6px;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 1.2px;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .lang-toggle,
    .theme-toggle,
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }
    
    .nav-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px) !important;
        position: absolute;
        top: 50%;
        left: 0;
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        transform: scale(0) !important;
        display: none !important;
        visibility: hidden !important;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(9px, -9px) !important;
        position: absolute;
        top: 50%;
        left: 0;
    }

    .hero {
        padding: 6rem 2rem 4rem;
    }

    .hero-name {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .coming-soon-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    .tech-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .floating-shapes {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Navbar for very small screens */
    .navbar {
        padding: 0.9rem 0.5rem;
    }
    
    .logo {
        gap: 5px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    
    .nav-actions {
        gap: 0.4rem;
    }
    
    .lang-toggle,
    .theme-toggle,
    .mobile-menu-toggle {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .skill-logos {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 0.8rem;
    }
    
    .skill-logo-item {
        padding: 1rem 0.6rem;
    }
    
    .skill-logo-item i {
        font-size: 2rem;
    }
    
    .skill-logo-item span {
        font-size: 0.7rem;
    }
    
    .hero-name {
        font-size: 1.6rem;
    }
    
    .text-gradient {
        font-size: 0.95em;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .coming-soon-icon {
        width: 100px;
        height: 100px;
    }

    .coming-soon-icon i {
        font-size: 3rem;
    }

    .projects-coming-soon h3 {
        font-size: 2rem;
    }

    .coming-soon-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .progress-container {
        padding: 1.5rem;
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Magnetic Effect */
.magnetic-card {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Page transitions */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

body {
    animation: pageLoad 0.8s ease-out;
}

/* ==================== */
/* LANGUAGE TRANSITION ANIMATIONS */
/* ==================== */

/* 3D Flip animation for language change */
@keyframes languageFlipOut {
    0% {
        opacity: 1;
        transform: perspective(600px) rotateX(0deg) translateY(0) scale(1);
        filter: blur(0);
    }
    50% {
        opacity: 0.5;
        transform: perspective(600px) rotateX(90deg) translateY(-5px) scale(0.95);
        filter: blur(1px);
    }
    100% {
        opacity: 0;
        transform: perspective(600px) rotateX(90deg) translateY(-10px) scale(0.9);
        filter: blur(2px);
    }
}

@keyframes languageFlipIn {
    0% {
        opacity: 0;
        transform: perspective(600px) rotateX(-90deg) translateY(10px) scale(0.9);
        filter: blur(2px);
    }
    50% {
        opacity: 0.5;
        transform: perspective(600px) rotateX(-45deg) translateY(5px) scale(0.95);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: perspective(600px) rotateX(0deg) translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Language transition classes */
.lang-fade-out {
    animation: languageFlipOut 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    transform-origin: center center;
}

.lang-fade-in {
    animation: languageFlipIn 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    transform-origin: center center;
}

/* Smooth transition for all text elements */
[data-th][data-en] {
    transition: opacity 0.3s ease, transform 0.3s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Language button 3D flip animation with bounce */
@keyframes langButtonFlip3D {
    0% {
        transform: perspective(400px) rotateY(0deg) scale(1);
        box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
    }
    25% {
        transform: perspective(400px) rotateY(90deg) scale(1.1);
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    }
    50% {
        transform: perspective(400px) rotateY(180deg) scale(1.15);
        box-shadow: 0 0 30px rgba(255, 51, 153, 0.6);
    }
    75% {
        transform: perspective(400px) rotateY(270deg) scale(1.1);
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    }
    100% {
        transform: perspective(400px) rotateY(360deg) scale(1);
        box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
    }
}

.lang-toggle.flipping {
    animation: langButtonFlip3D 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

body.dark-theme .lang-toggle.flipping {
    animation: langButtonFlip3D 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Add ripple effect on language change */
@keyframes langRipple {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.lang-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.lang-toggle.ripple::after {
    animation: langRipple 0.6s ease-out;
}

/* Glow pulse animation for language button on hover */
.lang-toggle:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    transform: translateY(-2px);
}

body.dark-theme .lang-toggle:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

/* Enhanced 3D perspective for different sections */
[data-th][data-en] {
    transform-style: preserve-3d;
}

[data-th][data-en].section-title {
    transform-origin: center top;
}

[data-th][data-en].section-subtitle {
    transform-origin: center top;
}

/* Special 3D animation for hero section */
#hero [data-th][data-en] {
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

/* Special animation for navigation */
.nav-link[data-th][data-en] {
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    transform-origin: center center;
}

/* Pricing cards smooth transition */
.pricing-card [data-th][data-en] {
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform-origin: center center;
}

/* About section smooth transition */
.about-content [data-th][data-en] {
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform-origin: center center;
}

/* Add subtle glow effect during language transition */
.lang-fade-out {
    position: relative;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.lang-fade-in {
    position: relative;
    text-shadow: 0 0 15px rgba(255, 51, 153, 0.3);
}

body.dark-theme .lang-fade-out {
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

body.dark-theme .lang-fade-in {
    text-shadow: 0 0 20px rgba(255, 51, 153, 0.5);
}

/* Language Change Indicator */
.lang-indicator {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4);
    z-index: 999998;
    opacity: 0;
    transform: translateX(150px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.lang-indicator.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.lang-indicator i {
    font-size: 1.2rem;
    animation: langIcon3DFlip 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

@keyframes langIcon3DFlip {
    0% {
        transform: perspective(400px) rotateY(0deg) rotateZ(0deg) scale(1);
    }
    25% {
        transform: perspective(400px) rotateY(90deg) rotateZ(90deg) scale(1.3);
    }
    50% {
        transform: perspective(400px) rotateY(180deg) rotateZ(180deg) scale(1.5);
    }
    75% {
        transform: perspective(400px) rotateY(270deg) rotateZ(270deg) scale(1.3);
    }
    100% {
        transform: perspective(400px) rotateY(360deg) rotateZ(360deg) scale(1);
    }
}

body.dark-theme .lang-indicator {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .lang-indicator {
        top: 80px;
        right: 20px;
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .lang-indicator i {
        font-size: 1rem;
    }
}

/* ==================== */
/* THEME TRANSITION ANIMATIONS */
/* ==================== */

/* Smooth color transition for theme changes */
body {
    transition: background 0.5s ease, color 0.5s ease;
}

/* Apply transition to common elements */
section,
.card,
.pricing-card,
.contact-card,
.nav-menu,
.navbar,
.hero,
.about,
.skills,
.pricing,
.projects,
.contact,
.footer,
button:not(.lang-toggle):not(.theme-toggle),
a,
h1, h2, h3, h4, h5, h6,
p,
span,
.tech-icon,
.skill-card,
.stat-item {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Theme change overlay animation */
@keyframes themeTransition {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(2) rotate(360deg);
    }
}

.theme-transition-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gradient-primary), transparent);
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
}

.theme-transition-overlay.active {
    animation: themeTransition 0.8s ease-out;
}

/* Theme button animations */
@keyframes themeButtonRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.theme-toggle.rotating {
    animation: themeButtonRotate 0.6s ease-in-out;
}

@keyframes themeRipple {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.theme-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.theme-toggle.ripple::after {
    animation: themeRipple 0.6s ease-out;
}

/* Theme indicator */
.theme-indicator {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4);
    z-index: 999998;
    opacity: 0;
    transform: translateX(150px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.theme-indicator.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.theme-indicator i {
    font-size: 1.2rem;
    animation: themeIconPulse 0.6s ease-out;
}

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

body.dark-theme .theme-indicator {
    background: linear-gradient(135deg, #1a1a2e, var(--neon-blue));
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.6);
}

/* Hover effect for theme button */
.theme-toggle:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 51, 153, 0.4);
    transform: translateY(-2px);
}

body.dark-theme .theme-toggle:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .theme-indicator {
        top: 80px;
        right: 20px;
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .theme-indicator i {
        font-size: 1rem;
    }
}

/* ==================== */
/* MEMORIAL MODAL */
/* ==================== */

/* Lock body scroll when memorial modal is open */
/* Body scroll lock is now handled by JavaScript utility functions */

.memorial-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.memorial-modal.show {
    display: flex;
}

.memorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px) saturate(80%);
    -webkit-backdrop-filter: blur(12px) saturate(80%);
}

.memorial-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    border: none;
    padding: 20px;
    z-index: 1;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.8));
}

.memorial-enter-btn {
    background: linear-gradient(135deg, #0099cc 0%, #cc0099 100%);
    border: none;
    padding: 16px 48px;
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5),
                0 8px 25px rgba(0, 255, 255, 0.4),
                0 0 60px rgba(255, 51, 153, 0.3);
    position: relative;
    overflow: hidden;
}

.memorial-enter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s;
}

.memorial-enter-btn:hover::before {
    left: 100%;
}

.memorial-enter-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.5),
                0 0 80px rgba(255, 51, 153, 0.4);
}

.memorial-enter-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.memorial-enter-btn i {
    transition: transform 0.3s ease;
}

.memorial-enter-btn:hover i {
    transform: translateX(5px);
}

.memorial-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.memorial-image {
    max-width: 100%;
    max-height: calc(90vh - 100px);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    filter: brightness(1);
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                0 0 40px rgba(255, 255, 255, 0.15),
                inset 0 0 30px rgba(255, 255, 255, 0.08);
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */

/* Large Tablets & Small Desktops (1024px - 1280px) */
@media (max-width: 1280px) and (min-width: 1025px) {
    .memorial-content {
        max-width: 85vw;
        max-height: 85vh;
    }
    
    .memorial-image {
        max-height: calc(85vh - 120px);
    }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .memorial-content {
        max-width: 90vw;
        max-height: 90vh;
        padding: 18px;
        gap: 18px;
    }
    
    .memorial-enter-btn {
        padding: 15px 42px;
        font-size: 17px;
    }
    
    .memorial-image {
        max-height: calc(90vh - 120px);
    }
}

/* Mobile Large (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .memorial-content {
        max-width: 95vw;
        max-height: 92vh;
        padding: 15px;
        gap: 15px;
    }

    .memorial-enter-btn {
        padding: 14px 36px;
        font-size: 16px;
        gap: 10px;
    }

    .memorial-image {
        max-height: calc(92vh - 110px);
    }
}

/* Mobile Medium (376px - 480px) */
@media (max-width: 480px) and (min-width: 376px) {
    .memorial-content {
        max-width: 96vw;
        max-height: 94vh;
        padding: 12px;
        gap: 12px;
    }

    .memorial-enter-btn {
        padding: 12px 30px;
        font-size: 15px;
        gap: 8px;
    }

    .memorial-image {
        max-height: calc(94vh - 100px);
        border-radius: 10px;
        padding: 6px;
    }
}

/* Mobile Small (320px - 375px) */
@media (max-width: 375px) {
    .memorial-content {
        max-width: 98vw;
        max-height: 96vh;
        padding: 10px;
        gap: 10px;
    }

    .memorial-enter-btn {
        padding: 10px 24px;
        font-size: 14px;
        gap: 6px;
    }

    .memorial-image {
        max-height: calc(96vh - 90px);
        border-radius: 8px;
        padding: 5px;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .memorial-content {
        max-height: 95vh;
        padding: 10px;
        gap: 10px;
    }
    
    .memorial-image {
        max-height: calc(95vh - 80px);
        max-width: 70vw;
    }
    
    .memorial-enter-btn {
        padding: 8px 24px;
        font-size: 13px;
    }
}

/* Very Small Landscape (like iPhone SE landscape) */
@media (max-height: 450px) and (orientation: landscape) {
    .memorial-content {
        max-height: 98vh;
        padding: 8px;
        gap: 8px;
        flex-direction: row;
    }
    
    .memorial-image {
        max-height: calc(98vh - 60px);
        max-width: 60vw;
    }
    
    .memorial-enter-btn {
        padding: 6px 20px;
        font-size: 12px;
    }
}
