/* ===================================
   AniMo Gaming - Rockstar Edition
   GTA VI Inspired Cinematic Design
   =================================== */

:root {
    /* Rockstar Palette */
    --primary-blue: #2563eb;
    --primary-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --accent-orange: #f59e0b;
    --accent-green: #10b981;
    --bg-primary: #050505;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body.locked {
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ===================================
   Background Elements (Fix for Visibility)
   =================================== */
.video-background,
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg-primary);
}

.video-overlay,
.grid-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

canvas#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===================================
   Scroll Snapping Sections
   =================================== */
section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.plans-section {
    height: auto !important;
    min-height: auto !important;
    padding: 10rem 0 !important;
}

/* ===================================
   Ken Burns Animation (Rockstar Style)
   =================================== */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.slide-background,
.game-image,
.zone-showcase-image,
.about-img {
    animation: kenBurns 20s ease-in-out infinite alternate;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
    line-height: 1;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: 2px;
    line-height: 1;
    display: block;
}

.logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    display: block;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.cta-button {
    background: transparent;
    color: #fff;
    padding: 0.8rem 1.8rem;
    border: 1px solid rgba(255, 230, 0, 0.5);
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.cta-button:hover,
.cta-button.profile-active {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.cta-button.profile-active::before {
    content: '👤 ';
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.86, 0, 0.07, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .cta-button {
        display: none;
        /* Hide on mobile to save space, or move into nav-links */
    }
}

/* ===================================
   Hero Slider (GTA VI Style)
   =================================== */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.slide-content {
    position: absolute;
    bottom: 12%;
    left: 8%;
    max-width: 900px;
    z-index: 10;
}

.slide-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.slide-title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -4px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

.slide-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    display: block;
}

.primary-button,
.secondary-button {
    padding: 1.2rem 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.primary-button {
    background: #fff;
    color: #000;
}

.primary-button:hover {
    background: var(--accent-cyan);
    color: #fff;
    transform: scale(1.05);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* Verticle Dot Navigation */
.slider-dots {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
}

.dot {
    width: 3px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.5s;
}

.dot.active {
    background: #fff;
    height: 70px;
}

/* ===================================
   Rockstar Style Sections
   =================================== */
.section-header {
    position: relative;
    padding: 100px 4rem 40px;
    z-index: 10;
    text-align: left;
}

.section-badge {
    color: var(--accent-cyan);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
}

.section-description {
    color: #888;
    font-size: 1.2rem;
    max-width: 600px;
    margin-top: 1rem;
}

/* Games Section - 3D Coverflow & Dynamic Theme */
.games-section {
    position: relative;
    min-height: 120vh;
    padding: 8rem 0;
    overflow: hidden;
    background: #000;
}

#gamesBgTheme {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.2);
    opacity: 0;
    transition: 1s ease-in-out;
    z-index: 0;
}

#gamesBgTheme.active {
    opacity: 0.6;
}

.games-container-3d {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 2000px;
}

.coverflow-wrapper {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    margin-top: 4rem;
}

.coverflow-item {
    position: absolute;
    width: 280px;
    height: 380px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coverflow-item.active {
    transform: translate3d(0, 0, 300px);
    z-index: 100;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.2);
    border: 2px solid var(--accent-cyan);
}

/* 3D Angling */
.coverflow-item.prev-1 {
    transform: translate3d(-240px, 0, 100px) rotateY(45deg);
    z-index: 50;
}

.coverflow-item.next-1 {
    transform: translate3d(240px, 0, 100px) rotateY(-45deg);
    z-index: 50;
}

.coverflow-item.prev-2 {
    transform: translate3d(-440px, 0, 0) rotateY(60deg);
    z-index: 30;
    opacity: 0.6;
}

.coverflow-item.next-2 {
    transform: translate3d(440px, 0, 0) rotateY(-60deg);
    z-index: 30;
    opacity: 0.6;
}

.coverflow-item.prev-3 {
    transform: translate3d(-600px, 0, -100px) rotateY(70deg);
    z-index: 10;
    opacity: 0.2;
}

.coverflow-item.next-3 {
    transform: translate3d(600px, 0, -100px) rotateY(-70deg);
    z-index: 10;
    opacity: 0.2;
}

.coverflow-item.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 0, -500px);
}

.coverflow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.coverflow-item.active:hover img {
    transform: scale(1.1);
}

.game-title-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: 0.4s;
}

.coverflow-item.active .game-title-overlay {
    opacity: 1;
}

.game-title-overlay h4 {
    font-size: 1.5rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.game-title-overlay span {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.coverflow-controls {
    display: flex;
    gap: 2rem;
    margin-top: 5rem;
    z-index: 10;
}

.cover-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
}

.cover-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

/* Zones - Stable Cinematic Layout */
.zones-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100%;
    gap: 0;
}

.zone-showcase-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.zone-showcase-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.zone-showcase-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    padding: 5rem;
}

.zone-showcase-content {
    max-width: 500px;
}

.zone-number {
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.1;
    line-height: 0.8;
    position: absolute;
    top: 10%;
    right: 10%;
}

.zone-showcase-content h3 {
    font-size: 3.5rem;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

/* ===================================
   Responsive Changes
   =================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .slide-content {
        left: 5%;
        bottom: 15%;
        width: 90%;
    }

    .slide-title {
        font-size: 4rem;
    }

    .section-header {
        padding: 80px 1.5rem 30px;
    }

    .section-title {
        font-size: 3rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .game-card {
        height: 400px;
    }

    .zones-showcase {
        grid-template-columns: 1fr;
    }

    .zone-showcase-item {
        height: 60vh;
    }

    .zone-showcase-overlay {
        padding: 2rem;
    }

    .zone-showcase-content h3 {
        font-size: 2.5rem;
    }

    section {
        height: auto;
        min-height: auto;
        padding: 60px 0;
        scroll-snap-align: none;
    }

    html {
        scroll-snap-type: none;
    }
}

/* ===================================
   Avengers Style Announcement (Epic Reveal)
   =================================== */
.avengers-reveal {
    text-align: center;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.epic-date {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 15px;
    color: #fff;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(37, 99, 235, 0.8),
        0 0 40px rgba(37, 99, 235, 0.6);
    margin-bottom: 2rem;
    animation: epicGlow 3s ease-in-out infinite alternate;
}

@keyframes epicGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(37, 99, 235, 0.5));
    }

    100% {
        filter: brightness(1.5) drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.countdown-container-epic {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* NEW: Allow units to wrap on small screens */
    gap: 2rem;
    /* REDUCED: More flexible gap */
    margin: 3rem 0;
    width: 100%;
}

.countdown-box-epic {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.countdown-box-epic .value {
    font-size: clamp(3.5rem, 8vw, 6rem);
    /* RESPONSIVE: Scales with screen */
    font-weight: 900;
    font-family: var(--font-display);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #ffffff 30%, #aaaaaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.2rem 1rem;
    /* Added horizontal padding */
    display: block;
    text-align: center;
}

.countdown-box-epic .label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--accent-cyan);
    font-weight: 900;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* Calendar Style */
.epic-calendar {
    display: inline-flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    margin-top: 3rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.calendar-month {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-cyan);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.calendar-day {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

/* ===================================
   Splash Screen (The Announcement)
   =================================== */
.splash-screen {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1), opacity 0.8s ease;
}

.splash-screen.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    max-width: 900px;
    width: 90%;
}

/* ===================================
   Contact Form Styles
   =================================== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

/* Profile Image Upload */
.avatar-wrapper {
    position: relative;
    cursor: pointer;
}

.avatar-upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
}

.avatar-wrapper:hover .avatar-upload-overlay {
    opacity: 1;
}

.avatar-upload-overlay svg {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 3.5rem;
    }

    .plans-grid {
        grid-template-columns: 1fr !important;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(20px);
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.form-group select option {
    background: #111;
    color: #fff;
}

.full-width {
    width: 100%;
}

.form-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .splash-content {
        width: 100%;
        padding: 0 1rem;
    }

    .splash-content .slide-title {
        font-size: 2.5rem !important;
        letter-spacing: -1px;
    }

    .countdown-container-epic {
        gap: 0.5rem;
        margin: 1.5rem 0;
    }

    .countdown-box-epic .value {
        font-size: 2.5rem !important;
    }

    .countdown-box-epic .label {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem 0;
    }

    .logo-icon {
        font-size: 2rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .primary-button,
    .secondary-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .slide-cta {
        flex-direction: column;
        gap: 1rem !important;
    }
}

/* Animations Helper */
.fadeInUp {
    animation: fadeInUp 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apex Tech Showcase Section */
.tech-showcase-section {
    padding: 8rem 2rem;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, transparent 80%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tech-header {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.tech-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Base Tech Card */
.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tech-content p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Featured Tech (PS6 Concept) */
.featured-tech {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(0, 0, 0, 0.8));
    border: 1px solid rgba(37, 99, 235, 0.3);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 4rem;
}

.featured-tech .tech-icon {
    font-size: 5rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}

.tag-concept {
    font-size: 0.7rem;
    background: #3b82f6;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.tech-specs {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tech-specs li {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Stats */
.tech-stat {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-top: auto;
}

.tech-stat span {
    font-size: 3rem;
    color: #fde047;
    /* Yellow Accent */
    margin-right: 0.5rem;
    font-family: var(--font-display);
}

/* Social Footer in Tech Section */
.tech-footer-social {
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.tech-footer-social p {
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    font-size: 1.1rem;
}

.instagram-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 39, 67, 0.5);
}

.tech-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    .featured-tech {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .featured-tech .tech-content h3 {
        justify-content: center;
    }

    .tech-specs {
        justify-content: center;
    }
}