/* ===== AURORA THEME - Phong cách Bắc Cực Quang ===== */

/* CSS Variables */
:root {
    /* Aurora Color Palette */
    --aurora-cyan: #00fff0;
    --aurora-magenta: #ff00ff;
    --aurora-purple: #8b5cf6;
    --aurora-blue: #3b82f6;
    --aurora-green: #00ff88;
    --aurora-pink: #ff6b9d;

    /* Main Colors */
    --primary: #00fff0;
    --primary-dark: #00cccc;
    --secondary: #ff00ff;
    --accent: #8b5cf6;

    /* Background */
    --dark: #0a0a1a;
    --darker: #050510;
    --card-bg: rgba(10, 10, 30, 0.7);

    /* Text */
    --light: #ffffff;
    --gray: #a0aec0;
    --muted: #64748b;

    /* Gradients */
    --gradient-aurora: linear-gradient(135deg, #00fff0 0%, #ff00ff 50%, #8b5cf6 100%);
    --gradient-glow: linear-gradient(135deg, #00fff0 0%, #00ff88 100%);
    --gradient-card: linear-gradient(145deg, rgba(20, 20, 40, 0.9), rgba(10, 10, 25, 0.95));

    /* Effects */
    --glow-cyan: 0 0 30px rgba(0, 255, 240, 0.5);
    --glow-magenta: 0 0 30px rgba(255, 0, 255, 0.5);
    --glow-purple: 0 0 30px rgba(139, 92, 246, 0.5);

    /* Transition */
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);

    /* Fonts */
    --font-primary: 'Quicksand', sans-serif;
    --font-accent: 'Dancing Script', cursive;
}

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

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

body {
    font-family: var(--font-primary);
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== Aurora Background Effect ===== */
.hearts-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: var(--darker);
}

/* Aurora Waves */
.hearts-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 40% 60% at 20% 30%, rgba(0, 255, 240, 0.15), transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(255, 0, 255, 0.12), transparent 50%),
        radial-gradient(ellipse 30% 50% at 60% 80%, rgba(139, 92, 246, 0.1), transparent 50%);
    animation: auroraMove 20s ease-in-out infinite;
}

.hearts-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 60% 40% at 70% 60%, rgba(0, 255, 136, 0.08), transparent 50%),
        radial-gradient(ellipse 40% 30% at 30% 70%, rgba(255, 107, 157, 0.06), transparent 50%);
    animation: auroraMove 25s ease-in-out infinite reverse;
}

@keyframes auroraMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(5%, -5%) rotate(2deg);
    }
    50% {
        transform: translate(-3%, 3%) rotate(-1deg);
    }
    75% {
        transform: translate(4%, 2%) rotate(1deg);
    }
}

/* Floating Particles */
.floating-heart {
    position: absolute;
    font-size: 16px;
    animation: floatParticle 20s infinite ease-in-out;
    opacity: 0.4;
    text-shadow: 0 0 10px currentColor;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-20vh) rotate(720deg) scale(1.2);
        opacity: 0;
    }
}

/* ===== Glass Cards ===== */
.glass-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 240, 0.15);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 240, 0.1), transparent);
    transition: 0.6s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    border-color: rgba(0, 255, 240, 0.4);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.glass-card-dark {
    background: rgba(10, 10, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 24px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card-dark:hover {
    border-color: rgba(255, 0, 255, 0.5);
    box-shadow: var(--glow-magenta);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 240, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 20px;
    background: rgba(5, 5, 16, 0.95);
    box-shadow: 0 5px 30px rgba(0, 255, 240, 0.1);
}

.nav-brand {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 240, 0.3);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
    box-shadow: 0 0 10px var(--primary);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--secondary);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--secondary);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(10, 10, 30, 0.98), rgba(5, 5, 16, 0.98));
    padding: 100px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition-smooth);
    border-left: 1px solid rgba(0, 255, 240, 0.2);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

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

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-aurora);
    transform: scaleY(0);
    transition: var(--transition);
}

.nav-menu li a:hover {
    background: rgba(0, 255, 240, 0.1);
    color: var(--primary);
    padding-left: 30px;
}

.nav-menu li a:hover::before {
    transform: scaleY(1);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
    overflow: hidden;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(0, 255, 240, 0.2), transparent 50%),
        radial-gradient(ellipse 80% 60% at 100% 50%, rgba(255, 0, 255, 0.15), transparent 50%),
        radial-gradient(ellipse 60% 50% at 0% 80%, rgba(139, 92, 246, 0.12), transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 240, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 240, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
    animation: gridPulse 10s ease-in-out infinite;
}

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

/* Aurora Orbs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: orbFloat 15s ease-in-out infinite;
    mix-blend-mode: screen;
}

.hero-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--aurora-cyan);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.hero-glow-2 {
    width: 350px;
    height: 350px;
    background: var(--aurora-magenta);
    bottom: -10%;
    left: -15%;
    animation-delay: -5s;
}

.hero-glow-3 {
    width: 250px;
    height: 250px;
    background: var(--aurora-purple);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -40px) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(40px, 20px) scale(1.1);
        opacity: 0.5;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 500px;
    width: 100%;
    animation: heroReveal 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Status Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 255, 240, 0.1);
    border: 1px solid rgba(0, 255, 240, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    animation: badgeGlow 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 240, 0.2);
        border-color: rgba(0, 255, 240, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 240, 0.4);
        border-color: rgba(0, 255, 240, 0.6);
    }
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* Avatar Card */
.hero-avatar-card {
    position: relative;
    perspective: 1000px;
}

.avatar-container {
    position: relative;
    width: 180px;
    height: 180px;
    transition: var(--transition);
}

/* 3D Tilt Effect on Touch/Hover */
.avatar-container:hover {
    transform: rotateY(10deg) rotateX(-10deg);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--aurora-cyan);
    box-shadow:
        0 0 0 6px var(--darker),
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(0, 255, 240, 0.3);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.avatar:hover {
    transform: scale(1.08);
    box-shadow:
        0 0 0 6px var(--darker),
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(0, 255, 240, 0.4),
        0 0 60px rgba(255, 0, 255, 0.2);
}

.avatar-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 3px solid var(--aurora-cyan);
    background: transparent;
    animation: ringRotate 8s linear infinite, ringColorShift 4s ease-in-out infinite;
    opacity: 0.8;
    z-index: 1;
}

@keyframes ringColorShift {
    0%, 100% { border-color: var(--aurora-cyan); }
    33% { border-color: var(--aurora-magenta); }
    66% { border-color: var(--aurora-purple); }
}

.avatar-ring-2 {
    inset: -24px;
    animation-direction: reverse;
    animation-duration: 12s;
    opacity: 0.5;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.status-dot {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    background: #00ff88;
    border-radius: 50%;
    border: 4px solid var(--darker);
    box-shadow: 0 0 20px #00ff88;
    animation: statusGlow 2s infinite;
}

@keyframes statusGlow {
    0%, 100% { box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88; }
    50% { box-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88, 0 0 60px rgba(0, 255, 136, 0.5); }
}

/* Hero Text */
.hero-text {
    text-align: center;
}

.hero-greeting {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.8;
}

.hero-name {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.name-text {
    background: var(--gradient-aurora);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nameGlow 5s ease infinite;
    text-shadow: 0 0 60px rgba(0, 255, 240, 0.5);
}

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

.name-cursor {
    color: var(--primary);
    font-weight: 300;
    animation: cursorBlink 0.8s step-end infinite;
    text-shadow: 0 0 20px var(--primary);
}

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

.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

.tagline-icon {
    color: var(--primary);
    font-size: 1.2rem;
    animation: iconPulse 3s ease-in-out infinite;
    text-shadow: 0 0 20px var(--primary);
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 0.7; }
}

/* Hero Tags */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 255, 240, 0.05);
    border: 1px solid rgba(0, 255, 240, 0.2);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    transition: var(--transition);
    cursor: default;
}

.hero-tag:hover {
    background: rgba(0, 255, 240, 0.15);
    border-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 255, 240, 0.2);
}

.hero-tag svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 16px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-glow);
    color: var(--darker);
    box-shadow: 0 5px 25px rgba(0, 255, 240, 0.4);
}

.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: 0.5s;
}

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

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 255, 240, 0.5);
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-glow {
    animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 5px 25px rgba(0, 255, 240, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(0, 255, 240, 0.6), 0 0 60px rgba(0, 255, 240, 0.3); }
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 0, 255, 0.15);
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.3);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: var(--transition);
    cursor: pointer;
}

.hero-scroll:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: rgba(0, 255, 240, 0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 100%;
    height: 15px;
    background: var(--gradient-aurora);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
    box-shadow: 0 0 15px var(--primary);
}

@keyframes scrollBounce {
    0% { transform: translateY(-15px); opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateY(50px); opacity: 0; }
}

.hero-scroll span {
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title.light {
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.title-icon {
    font-size: 1.8rem;
    -webkit-text-fill-color: initial;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 1rem;
    opacity: 0.8;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 50%, var(--darker) 100%);
    position: relative;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex-shrink: 0;
}

.image-frame {
    width: 280px;
    height: 360px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-aurora);
    border-radius: 32px;
    z-index: -1;
    animation: framePulse 4s ease-in-out infinite;
}

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

.image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.image-frame:hover {
    transform: scale(1.03) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(0, 255, 240, 0.2);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.about-text {
    max-width: 500px;
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-card p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.9;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 255, 240, 0.2);
}

.stat-item {
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 255, 240, 0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 100px 0;
    background: var(--darker);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, var(--dark), transparent);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--aurora-cyan);
    border-radius: 20px;
    background: transparent;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
    border-color: var(--aurora-magenta);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3), inset 0 0 20px rgba(255, 0, 255, 0.1);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 255, 240, 0.2);
}

.gallery-item.large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 5, 16, 0.95) 0%, rgba(5, 5, 16, 0.5) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    width: 100%;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 255, 240, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 255, 240, 0.3);
}

.gallery-title {
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.gallery-desc {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-item.large .gallery-title {
    font-size: 1.3rem;
}

.gallery-item.large .gallery-desc {
    -webkit-line-clamp: 3;
}

/* ===== Love Section ===== */
.love {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.love-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 0, 255, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(139, 92, 246, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 100% 50%, rgba(255, 107, 157, 0.08), transparent);
    animation: loveBgPulse 15s ease-in-out infinite;
}

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

.love-content {
    position: relative;
    z-index: 1;
}

.love-card {
    text-align: center;
    margin-bottom: 50px;
}

.love-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--secondary);
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
}

.love-quote {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 2;
    max-width: 550px;
    margin: 0 auto;
}

.love-story {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.story-item {
    background: rgba(255, 0, 255, 0.05);
    padding: 28px;
    border-radius: 24px;
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.story-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.1), transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.story-item:hover {
    transform: translateX(15px);
    background: rgba(255, 0, 255, 0.1);
    box-shadow: 0 20px 40px rgba(255, 0, 255, 0.1);
}

.story-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--secondary);
    text-shadow: 0 0 20px var(--secondary);
}

.story-item h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--light);
}

.story-item p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.love-message {
    transition: var(--transition);
}

.love-message:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 0, 255, 0.15);
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid rgba(0, 255, 240, 0.3);
    background: rgba(0, 255, 240, 0.05);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-aurora);
    opacity: 0;
    transition: var(--transition);
}

.social-link svg {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: transparent;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover svg {
    fill: var(--darker);
    transform: scale(1.1);
}

.social-link.facebook:hover {
    box-shadow: 0 15px 40px rgba(24, 119, 242, 0.5);
}

.social-link.instagram:hover {
    box-shadow: 0 15px 40px rgba(220, 39, 67, 0.5);
}

.social-link.tiktok:hover {
    box-shadow: 0 15px 40px rgba(0, 242, 234, 0.5);
}

.social-link.email:hover {
    box-shadow: 0 15px 40px rgba(0, 255, 240, 0.5);
}

.contact-card {
    text-align: center;
    max-width: 450px;
}

.contact-message {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.9;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    background: var(--darker);
    text-align: center;
    border-top: 1px solid rgba(0, 255, 240, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--gradient-aurora);
}

.footer p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer .heart {
    display: inline-block;
    animation: heartFloat 2s ease-in-out infinite;
}

@keyframes heartFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.2); }
}

.footer strong {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.copyright {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ===== Responsive Design ===== */
@media (min-width: 640px) {
    .hero-name {
        font-size: 3.2rem;
    }

    .avatar-container {
        width: 200px;
        height: 200px;
    }

    .hero-content {
        gap: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .gallery-item.large {
        grid-column: span 2;
    }
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        padding: 0;
        flex-direction: row;
        box-shadow: none;
        gap: 8px;
        border: none;
    }

    .nav-menu li a {
        padding: 12px 18px;
        border-radius: 25px;
    }

    .nav-menu li a::before {
        display: none;
    }

    .nav-menu li a:hover {
        padding-left: 18px;
    }

    .hero {
        padding: 120px 40px 80px;
    }

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

    .avatar-container {
        width: 220px;
        height: 220px;
    }

    .hero-content {
        gap: 36px;
        max-width: 650px;
    }

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

    .about-content {
        flex-direction: row;
        gap: 70px;
    }

    .image-frame {
        width: 340px;
        height: 420px;
    }

    .love-story {
        flex-direction: row;
        gap: 25px;
    }

    .story-item {
        flex: 1;
        border-left: none;
        border-top: 4px solid var(--secondary);
    }

    .story-item:hover {
        transform: translateY(-12px);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 50px;
    }

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

    .avatar-container {
        width: 250px;
        height: 250px;
    }

    .hero-content {
        max-width: 750px;
    }

    .hero-tagline {
        font-size: 1.15rem;
    }

    .gallery-grid {
        gap: 25px;
    }
}

/* ===== Mobile Touch Enhancements ===== */
@media (hover: none) and (pointer: coarse) {
    /* Always show gallery overlay on touch devices */
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(0deg, rgba(5, 5, 16, 0.9) 0%, transparent 60%);
    }

    .gallery-content {
        transform: translateY(0);
    }

    /* Larger touch targets */
    .btn {
        padding: 18px 32px;
        min-height: 56px;
    }

    .social-link {
        width: 65px;
        height: 65px;
    }

    .nav-toggle {
        padding: 15px;
    }

    /* Remove hover effects that don't work on touch */
    .gallery-item:hover {
        transform: none;
    }

    .gallery-item:active {
        transform: scale(0.98);
    }

    /* Add active states for touch feedback */
    .btn:active {
        transform: scale(0.95);
    }

    .social-link:active {
        transform: scale(0.9);
    }

    .hero-tag:active {
        transform: scale(0.95);
        background: rgba(0, 255, 240, 0.2);
    }
}

/* ===== Animations for Scroll Reveal ===== */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

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

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

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

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

/* ===== Selection ===== */
::selection {
    background: var(--primary);
    color: var(--darker);
}

/* ===== Loading Animation ===== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.loading {
    background: linear-gradient(90deg, var(--card-bg) 25%, rgba(0, 255, 240, 0.1) 50%, var(--card-bg) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
