/* ===== CSS Variables ===== */
:root {
    --primary-blue: #0066CC;
    --primary-blue-light: #0088FF;
    --primary-blue-dark: #004499;
    --bg-dark: #0A0E17;
    --bg-darker: #050810;
    --bg-card: rgba(10, 20, 35, 0.9);
    --text-primary: #FFFFFF;
    --text-secondary: #88A4B8;
    --border-color: rgba(0, 102, 204, 0.4);
    --glow-spread: 0 0 15px rgba(0, 102, 204, 0.3);
    --glow-strong: 0 0 30px rgba(0, 136, 255, 0.5);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Bebas Neue', 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===== Cosmic Background ===== */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(180deg, #0a0e17 0%, #0d1520 50%, #0a0e17 100%);
    overflow: hidden;
}

/* Falling Stars */
.cosmic-background::before,
.cosmic-background::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow:
        /* Blue stars */
        10vw 0 0 #4a9eff,
        25vw 10vh 0 #0066cc,
        40vw 5vh 0 #4a9eff,
        55vw 15vh 0 #003d7a,
        70vw 8vh 0 #4a9eff,
        85vw 12vh 0 #0066cc,
        15vw 20vh 0 #003d7a,
        30vw 25vh 0 #4a9eff,
        45vw 18vh 0 #0066cc,
        60vw 22vh 0 #4a9eff,
        75vw 28vh 0 #003d7a,
        90vw 16vh 0 #4a9eff,
        5vw 35vh 0 #0066cc,
        20vw 40vh 0 #4a9eff,
        35vw 32vh 0 #003d7a,
        50vw 38vh 0 #4a9eff,
        65vw 42vh 0 #0066cc,
        80vw 30vh 0 #4a9eff,
        95vw 45vh 0 #003d7a,
        12vw 50vh 0 #4a9eff,
        28vw 55vh 0 #0066cc,
        42vw 48vh 0 #4a9eff,
        58vw 52vh 0 #003d7a,
        72vw 58vh 0 #4a9eff,
        88vw 44vh 0 #0066cc;
    animation: fallingStars 25s linear infinite;
}

.cosmic-background::after {
    animation-delay: -12s;
    box-shadow:
        /* More blue stars - offset pattern */
        8vw 5vh 0 #0066cc,
        22vw 15vh 0 #4a9eff,
        38vw 2vh 0 #003d7a,
        52vw 18vh 0 #4a9eff,
        68vw 10vh 0 #0066cc,
        82vw 20vh 0 #4a9eff,
        18vw 28vh 0 #003d7a,
        33vw 35vh 0 #4a9eff,
        48vw 25vh 0 #0066cc,
        63vw 32vh 0 #4a9eff,
        78vw 38vh 0 #003d7a,
        93vw 24vh 0 #4a9eff,
        3vw 42vh 0 #0066cc,
        17vw 48vh 0 #4a9eff,
        32vw 55vh 0 #003d7a,
        47vw 40vh 0 #4a9eff,
        62vw 50vh 0 #0066cc,
        77vw 45vh 0 #4a9eff,
        92vw 52vh 0 #003d7a,
        7vw 60vh 0 #4a9eff,
        24vw 58vh 0 #0066cc,
        39vw 62vh 0 #4a9eff,
        54vw 56vh 0 #003d7a,
        69vw 64vh 0 #4a9eff,
        84vw 60vh 0 #0066cc;
}

@keyframes fallingStars {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* ===== Typography ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 20, 35, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 102, 204, 0.5));
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-text .accent {
    color: var(--primary-purple);
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.8);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    box-shadow: var(--glow-spread);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue-light);
    text-shadow: 0 0 10px rgba(0, 136, 255, 0.6);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glow-spread);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--glow-strong);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(0, 136, 255, 0.1));
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-blue-light);
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease 0.2s both;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-purple);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--primary-purple);
}

.glow-link {
    color: var(--primary-blue-light);
    text-decoration: none;
    text-shadow: 0 0 5px rgba(0, 136, 255, 0.5), 0 0 10px rgba(0, 136, 255, 0.3), 0 0 20px rgba(0, 136, 255, 0.2);
    transition: all 0.3s ease;
}

.glow-link:hover {
    text-shadow: 0 0 10px rgba(0, 136, 255, 0.8), 0 0 20px rgba(0, 136, 255, 0.6), 0 0 30px rgba(0, 136, 255, 0.4), 0 0 40px rgba(0, 136, 255, 0.2);
    color: #fff;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.6s both;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glow-spread);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.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) scale(1.05);
    box-shadow: var(--glow-strong);
}

.btn-primary .btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-glow);
    border: 2px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    border-color: var(--primary-purple);
    background: rgba(157, 78, 221, 0.1);
    box-shadow: var(--glow-spread);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeIn 1s ease 1s both;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue-light);
    display: block;
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 136, 255, 0.6);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ===== Hero Visual ===== */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    animation: fadeIn 1.2s ease 0.5s both;
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    filter: blur(60px);
}

/* ===== Fortnite Image ===== */
.fortnite-image {
    position: absolute;
    width: 400px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: floatImage 5s ease-in-out infinite;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(157, 78, 221, 0.4),
        0 0 80px rgba(199, 125, 255, 0.2);
    transition: all 0.4s ease;
}

.fortnite-image:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(157, 78, 221, 0.6),
        0 0 100px rgba(199, 125, 255, 0.4);
}

.fortnite-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.image-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue), var(--primary-blue-light));
    border-radius: 18px;
    z-index: -1;
    opacity: 0.6;
    animation: border-glow 3s ease-in-out infinite;
}

@keyframes border-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes floatImage {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) rotateX(0deg);
    }
    25% {
        transform: translate(-50%, -50%) translateY(-15px) rotateX(2deg);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px) rotateX(0deg);
    }
    75% {
        transform: translate(-50%, -50%) translateY(-20px) rotateX(-2deg);
    }
}

@keyframes sway-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

@keyframes sway-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@keyframes rotate-subtle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 102, 204, 0.3);
    animation: floatCard 4s ease-in-out infinite;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-blue);
    min-width: 180px;
}

.floating-card:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 136, 255, 0.6);
    border-color: var(--primary-blue-light);
}

.floating-card span {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.card-1 {
    top: 12%;
    left: 5%;
    animation: floatCard 4s ease-in-out infinite, sway-left 6s ease-in-out infinite;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: 5%;
    animation: floatCard 4s ease-in-out infinite, sway-right 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* ===== Section Styles ===== */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(199, 125, 255, 0.1));
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--accent-glow);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== About Section ===== */
.about {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.personal-note {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-purple);
}

.personal-note:hover {
    border-color: var(--accent-glow);
    box-shadow: var(--glow-spread);
    transform: translateY(-5px);
}

.personal-note p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.personal-note strong {
    color: var(--accent-glow);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(199, 125, 255, 0.5);
}

.tiktok-link {
    display: inline-block;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(199, 125, 255, 0.1));
    border: 1px solid var(--border-color);
    color: var(--accent-glow);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tiktok-link:hover {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.4), rgba(199, 125, 255, 0.3));
    box-shadow: var(--glow-spread);
    transform: translateY(-3px) scale(1.05);
}

.skill-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(157, 78, 221, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-purple);
    box-shadow: var(--glow-spread);
}

.skill-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(199, 125, 255, 0.1));
    border-radius: 12px;
    color: var(--accent-glow);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.3);
}

.skill-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-glow);
}

.skill-item span {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Projects Section ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--glow-strong);
}

.project-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 150, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.project-card:hover .project-glow {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.6) 0%, transparent 70%);
}

.project-placeholder {
    color: var(--accent-glow);
    opacity: 0.6;
}

.project-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: var(--accent-glow);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags span {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(199, 125, 255, 0.1));
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--accent-glow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Contact Section ===== */
.contact {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-color);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: var(--glow-spread);
}

.form-input::placeholder {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.form-input::placeholder {
    color: var(--text-secondary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .logo-img {
    width: 32px;
    height: 32px;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-12px) rotate(1deg);
    }
    75% {
        transform: translateY(-18px) rotate(-1deg);
    }
}

/* ===== Glitch Effect ===== */
@keyframes glitch {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translate(2px, 2px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translate(2px, -2px);
        filter: hue-rotate(360deg);
    }
    100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-text:hover::before {
    animation: glitch 0.3s infinite;
    color: var(--primary-purple);
    z-index: -1;
    opacity: 0.8;
}

.glitch-text:hover::after {
    animation: glitch 0.3s infinite reverse;
    color: var(--cosmic-blue);
    z-index: -2;
    opacity: 0.8;
}

/* ===== Scanline Effect ===== */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.3;
}

/* ===== Grain Texture ===== */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .floating-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 1rem;
    }

    .hero-visual {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .stat {
        text-align: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-container {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .floating-card {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== About Section ===== */
.about-section {
    padding: 6rem 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    max-width: 600px;
    width: 100%;
}

.about-card {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 136, 255, 0.05));
    border: 1px solid rgba(0, 136, 255, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    animation: aboutCardFadeIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    backdrop-filter: blur(10px);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue-light), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes aboutCardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

.about-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: avatarPulse 3s ease-in-out infinite;
}

.avatar-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-blue-light);
    filter: blur(15px);
    opacity: 0.5;
    animation: avatarGlow 2s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes avatarGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.avatar-icon {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
}

.about-title-group {
    flex: 1;
}

.about-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-subtitle {
    font-size: 0.9rem;
    color: var(--primary-blue-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-age {
    font-size: 1rem;
    color: var(--primary-blue-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-expertise {
    margin-top: 0.5rem;
}

.expertise-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.3), rgba(0, 136, 255, 0.2));
    border: 1px solid rgba(0, 136, 255, 0.4);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-blue-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: tagFadeIn 0.5s ease both;
}

.tag:nth-child(1) { animation-delay: 0.1s; }
.tag:nth-child(2) { animation-delay: 0.2s; }
.tag:nth-child(3) { animation-delay: 0.3s; }
.tag:nth-child(4) { animation-delay: 0.4s; }
.tag:nth-child(5) { animation-delay: 0.5s; }

@keyframes tagFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tag:hover {
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.4), rgba(0, 102, 204, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 255, 0.3);
}

.about-quote {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15), rgba(0, 136, 255, 0.1));
    border-left: 3px solid var(--primary-blue-light);
    border-radius: 0 12px 12px 0;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 3rem;
    color: var(--primary-blue-light);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.quote-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    padding-left: 1rem;
}

/* ===== Products Section ===== */
.products-section {
    padding: 4rem 0;
    position: relative;
}

.products-grid-single {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.product-card-single {
    flex: 1 1 400px;
    max-width: 500px;
}

.product-card-single {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(50px);
    animation: cardFadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.product-card-single:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.product-card-single .product-image {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--bg-darker) 50%, var(--primary-blue-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

/* Modern Glow UI Styles */
.product-card-single .modern-glow-ui {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.download-icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    color: var(--primary-blue-light);
    filter: drop-shadow(0 0 15px var(--primary-blue));
    animation: iconFloat 3s ease-in-out infinite;
}

.download-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.download-title {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px var(--primary-blue);
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-download {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-darker);
    color: var(--primary-blue-light);
    border: 2px solid var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 0 15px rgba(0, 119, 255, 0.4),
        inset 0 0 10px rgba(0, 119, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    margin-top: 1rem;
}

.btn-download:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 0 25px rgba(0, 119, 255, 0.6),
        inset 0 0 15px rgba(0, 119, 255, 0.3);
    border-color: var(--primary-blue-light);
}

.btn-download .btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-download:hover .btn-arrow {
    transform: translateX(5px);
}

.product-card-single:hover .download-icon {
    filter: drop-shadow(0 0 25px var(--primary-blue));
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.product-card-single .product-info {
    padding: 1.5rem;
}

.product-card-single .product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card-single .product-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-card-single .product-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-card-single .product-features span {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.product-card-single .product-features span:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: var(--glow-spread);
}

.product-card-single .product-features span:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: var(--glow-spread);
}

/* ===== Build Card Styles ===== */
.build-card {
    --card-color: var(--primary-green);
    --card-color-light: var(--primary-green-light);
    --card-color-dark: var(--primary-green-dark);
}

.build-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 40px rgba(0, 212, 85, 0.6);
}

.build-card .product-image {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--bg-darker) 50%, var(--primary-green-dark) 100%);
}

.build-card .modern-glow-ui .download-icon {
    color: var(--primary-green-light);
    filter: drop-shadow(0 0 15px var(--primary-green));
}

.build-card:hover .modern-glow-ui .download-icon {
    filter: drop-shadow(0 0 25px var(--primary-green));
}

.build-card .modern-glow-ui .download-title {
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--primary-green);
}

.build-card .btn-download,
.build-card .btn-download:hover {
    background: var(--bg-darker);
    color: var(--primary-green-light);
    border-color: var(--primary-green);
    box-shadow:
        0 0 15px rgba(0, 212, 85, 0.4),
        inset 0 0 10px rgba(0, 212, 85, 0.2);
}

.build-card .btn-download:hover {
    box-shadow:
        0 0 25px rgba(0, 212, 85, 0.6),
        inset 0 0 15px rgba(0, 212, 85, 0.3);
    border-color: var(--primary-green-light);
}

.build-card .product-info h3 {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.build-card .product-features span {
    background: rgba(0, 212, 85, 0.1);
    color: var(--primary-green);
}

.build-card .product-features span:hover {
    background: rgba(0, 212, 85, 0.2);
    box-shadow: 0 0 15px rgba(0, 212, 85, 0.4);
}

/* ===== Info Section ===== */
.info-section {
    padding: 4rem 0;
    position: relative;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-text {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-text:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--glow);
}

.info-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.personal-note {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.personal-note:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--glow);
}

.personal-note p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.personal-note strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.tiktok-link {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--primary-blue);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tiktok-link:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.info-features {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-features:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--glow);
}

.info-features h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.feature-list-single {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item-single {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.feature-item-single:hover {
    border-color: var(--border-color);
    background: rgba(0, 212, 255, 0.05);
    transform: translateX(5px);
}

.feature-item-single .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    color: var(--primary-blue);
}

.feature-item-single .feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-item-single .feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item-single .feature-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.mission-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mission-box:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--glow);
}

.mission-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.mission-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===== Animations ===== */
@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* ===== Floating Images ===== */
.floating-img {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 102, 204, 0.3);
    animation: floatImage 8s ease-in-out infinite;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.floating-img:hover {
    opacity: 1;
    box-shadow: 0 0 50px rgba(0, 102, 204, 0.6);
}

.floating-img-1 {
    top: 20%;
    left: 5%;
    width: 150px;
    height: 100px;
    animation-delay: 0s;
}

.floating-img-2 {
    top: 60%;
    right: 8%;
    width: 180px;
    height: 120px;
    animation-delay: 2s;
}

.floating-img-3 {
    bottom: 15%;
    left: 10%;
    width: 200px;
    height: 130px;
    animation-delay: 4s;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .products-grid-single {
        padding: 0 1rem;
    }
    
    .info-content {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-card-single .product-image {
        height: 250px;
    }
    
    .product-card-single .product-info {
        padding: 1.25rem;
    }
    
    .product-card-single .product-info h3 {
        font-size: 1.25rem;
    }
}

/* ===== Login Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(10px);
    animation: overlayFadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), var(--glow-strong);
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.auth-form .form-group {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    animation: shimmer 3s infinite;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-blue);
    background: rgba(0, 212, 255, 0.1);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), var(--glow-spread);
    background: rgba(10, 10, 15, 0.8);
}

.form-input::placeholder {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.form-input:focus::placeholder {
    color: var(--primary-blue);
    opacity: 0.6;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 18px;
    width: 18px;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary-blue);
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--bg-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.forgot-password {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-password::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.forgot-password:hover::after {
    width: 100%;
}

.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.modal-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.signup-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-link:hover {
    text-shadow: var(--glow-spread);
}

/* ===== Modal Animations ===== */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-100%);
    }
    50% {
        opacity: 0.8;
        transform: translateX(100%);
    }
}

/* ===== Responsive Modal ===== */
@media (max-width: 480px) {
    .modal-content {
        padding: 2rem;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ===== Email Confirmation Modal ===== */
.email-confirm-modal {
    text-align: center;
}

.email-confirm-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.email-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.email-icon svg {
    width: 40px;
    height: 40px;
}

.email-message {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 350px;
}

.email-confirm-modal .btn-primary {
    margin-top: 1rem;
    min-width: 150px;
}