/* =========================================
   1. BASE & RESET
   ========================================= */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* This stops the sticky header from covering your section titles! */
     
}

body {
    background-color: #ffffff; 
    font-family: 'Outfit', 'Inter', sans-serif;
    overflow-x: hidden; 
    width: 100%; 
    position: relative;
}

/* =========================================
   2. TOP BAR SECTION
   ========================================= */
.topbar {
    background-color: rgb(102, 69, 248);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8%; /* Aligned with the 8% padding of the hero section */
}

.topbar p {
    color: white;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.15); /* Slight pop effect */
}

/* =========================================
   3. HEADER & NAVBAR
   ========================================= */
header {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f3f4f6;
}

.navbar {
    padding: 1rem 8%; /* Matched side padding for perfect vertical alignment */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social {
    display: flex;
    gap: 2rem;
    list-style: none;
}

/* Menu links */
.social li a {
    text-decoration: none;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.social li a:hover {
    color: #8b5cf6;
}

/* Underline animation */
.social li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #8b5cf6;
    transition: 0.3s ease;
}

.social li a:hover::after {
    width: 100%;
}

.menu-toggle {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6); /* Blue + Violet */
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.menu-toggle a {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

/* =========================================
   4. HERO SECTION & PARTICLES
   ========================================= */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto; 
    /* The Magic Fix: Maps exactly where elements go */
    grid-template-areas: 
        "greet visual"
        "content visual"; 
    column-gap: 2rem;
    row-gap: 1rem;
    min-height: 85vh;
    padding: 2rem 8%; /* 8% aligns perfectly with the navbar */
    align-content: center; /* Centers the whole block vertically */
    overflow: hidden; /* CRITICAL: Keeps particles contained inside the hero */
}

/* --- Particle Background --- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Puts particles firmly in the background */
}

/* --- Left Column Elements --- */
.greet {
    grid-area: greet;
    justify-self: start; /* Stops the badge from stretching full width */
    align-self: end; /* Pushes it down close to the h1 */
    display: inline-flex;
    align-items: center;
    background: #f3f4f6; 
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
    animation: slideInLeft 0.8s ease-out forwards;
    
    /* CRITICAL: Keeps content above particles */
    position: relative; 
    z-index: 10;
}

.greet img {
    margin-right: 8px;
    vertical-align: middle;
}

.hero-content {
    grid-area: content;
    align-self: start; /* Anchors it to the top right under the greet badge */
    max-width: 600px;
    
    /* CRITICAL: Keeps content above particles */
    position: relative; 
    z-index: 10;
}

.tagline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.tagline span {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    background-clip: text;          /* future-proof */
    -webkit-background-clip: text;  /* current support */
    color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

/* Hero Buttons */
.hero-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.6s forwards;
}

.hero-content a[href="#contact"] {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    margin-right: 1rem;
    border: none;
}

.hero-content a[href="#showcase"] {
    background: transparent;
    color: #3b82f6; 
    border: 2px solid #8b5cf6; 
}

.hero-content a:hover {
    transform: translateY(-3px);
}

.hero-content a[href="#contact"]:hover {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.hero-content a[href="#showcase"]:hover {
    background: #f5f3ff;
}

/* --- Right Column Elements --- */
.hero-visual {
    grid-area: visual; /* Spans both the greet and content rows */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    animation: slideInRight 0.8s ease-out 0.4s forwards;
    
    /* CRITICAL: Keeps image above particles */
    z-index: 10;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 370px;
    height: 370px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border-radius: 50%;
    z-index: -1;
    box-shadow: none !important;
    filter: none !important; 
}

.hero-visual img {
    width: 360px;
    height: 360px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff; 
}

/* --- Floating Cards Base --- */
.float-card {
    position: absolute;
    background: #ffffff;
    padding: 0.8rem 1.2rem; 
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); 
    border: 1px solid #f3f4f6;
    
    /* CRITICAL: Keeps cards above particles */
    z-index: 15; 
}

/* --- Position: Top Right --- */
.tag-1 {
    top: 15%;
    right: 11%; 
    animation: hoverFloat 3.5s ease-in-out infinite alternate;
}

/* --- Position: Bottom Left --- */
.tag-2 {
    bottom: 13%;
    left: 52%; 
    animation: hoverFloat 4.2s ease-in-out infinite alternate-reverse;
}

.icon-circle {
    background: #f5f3ff;
    color: #8b5cf6;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.tag-text { display: flex; flex-direction: column; }
.tag-text span { font-size: 1.1rem; color: #111827; }
.tag-text strong { font-weight: 800; margin-right: 4px; }

/* =========================================
   5. KEYFRAMES
   ========================================= */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes hoverFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-15px); }
}

/* =========================================
   6. MARQUEE SECTION
   ========================================= */
.marquee-section {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6); /* Blue to Violet theme */
    color: #ffffff;
    padding: 1.2rem 0;
    margin-top: 3rem;
    overflow: hidden;
    white-space: nowrap;
    
    /* The Tilt & Stretch */
    /* Scaling slightly past 1 (1.05) ensures the tilted corners don't show white gaps on the screen edges */
    transform: rotate(-2deg) scale(1.05); 
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2); /* Soft violet shadow */
    z-index: 5;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content; /* Allows the track to be as wide as the text needs */
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2.5rem; /* Space between each word and star */
    padding-left: 2.5rem; /* Matches the gap to keep the loop mathematically perfect */
    
    /* The Endless Loop Animation */
    /* linear keeps the speed constant, infinite keeps it repeating */
    animation: scrollMarquee 15s linear infinite;
}

/* Hover to pause (Optional but a great user experience!) */
.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-content span {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.marquee-content i {
    font-size: 1.2rem;
    color: #00ffff; /* Neon cyan from your profile ring to tie the design together */
}

/* --- Keyframes for the Loop --- */
@keyframes scrollMarquee {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        /* Shifts exactly half the container width. 
           Since you duplicated the text exactly once, this creates a flawless loop! */
        transform: translateX(-50%); 
    }
}

/* =========================================
   7. VIRAL SHOWCASE SECTION
   ========================================= */
.section-padding {
    padding: 6rem 0;
}

.center-text {
    text-align: center;
    margin-bottom: 3rem;
}

.center-text h2 {
    font-size: 2.5rem;
    color: #111827;
    font-weight: 800;
}

.center-text h2 span {
    color: #8b5cf6; /* Violet accent */
}

.center-text p {
    color: #6b7280;
    margin-top: 0.5rem;
}

/* --- Endless Slider Container --- */
.reels-slider-container {
    width: 100%;
    overflow: hidden; /* Hides the cards that are off-screen */
    padding: 1rem 0;
}

.slider-track {
    display: flex;
    gap: 2rem;
    width: max-content; /* Track grows as long as needed for all cards */
    padding: 0 1rem;
    /* 25s speed. Linear keeps it moving at a constant rate */
    animation: scrollCards 25s linear infinite;
}

/* Pause the scrolling when the user hovers to watch/click a card */
.slider-track:hover {
    animation-play-state: paused;
}

/* --- Reel Cards (Small & Unique) --- */
.reel-card {
    width: 240px; /* Small width */
    height: 426px; /* 16:9 vertical aspect ratio */
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background: #000; /* Black base underneath */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0; /* Prevents flexbox from squishing the cards */
}

/* Card Hover Lift */
.reel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.4); /* Violet glow shadow */
}

/* Thumbnail Image */
.reel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Background Hover Effect Overlay */
.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Gradient goes from clear to dark violet */
    background: linear-gradient(to top, rgba(139, 92, 246, 0.9), transparent 60%);
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

/* Zoom image and darken overlay on hover */
.reel-card:hover .reel-thumbnail img {
    transform: scale(1.1);
}
.reel-card:hover .card-overlay {
    opacity: 1; /* Reveals the vibrant violet gradient on hover */
}

/* --- Play Button --- */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 2px solid #ffffff;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0; /* Hidden by default */
    transition: all 0.3s ease;
    z-index: 2;
}

/* Show play button on hover */
.reel-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.play-overlay:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

/* --- Info Box (Glassmorphism at bottom) --- */
.reel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    /* Frosted glass effect */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    z-index: 2;
}

.reel-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.reel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.ig-redirect {
    color: #ffffff;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.ig-redirect:hover {
    color: #e1306c; /* Instagram pink/red */
}

/* --- Modal Styles --- */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    position: relative;
    max-width: 400px; /* Keeps vertical video constraints */
    width: 90%;
}

#modal-video-player {
    width: 100%;
    border-radius: 12px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* --- Endless Loop Keyframes --- */
@keyframes scrollCards {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
    /* Translates exactly half the width. Because Set A and Set B are identical, it loops flawlessly! */
}

/* =========================================
   8. CREATOR TIPS SECTION
   ========================================= */
.bg-light-gray {
    background-color: #f9fafb; /* Slightly darker than white to make cards pop */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- CSS Grid Layout --- */
.grid-4 {
    display: grid;
    /* Automatically creates columns that fit the screen, wrapping smoothly on mobile */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* --- Card Base Styling --- */
.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 1.5rem 2rem;
    position: relative;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); /* Very faint default shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Card Hover Animation */
.info-card:hover {
    transform: translateY(-8px); /* Lifts the card up */
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.12); /* Violet glow shadow */
    border-color: #d8b4fe; /* Subtle purple border on hover */
}

/* --- Top Badges (New, Trending, etc) --- */
.card-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge.trending { background: #fee2e2; color: #ef4444; } /* Light Red */
.card-badge.new { background: #e0e7ff; color: #4f46e5; }      /* Light Indigo */
.card-badge.pro { background: #f3f4f6; color: #111827; }      /* Dark Gray */
.card-badge.hot { background: #ffedd5; color: #ea580c; }      /* Orange */

/* --- Icon Box Animation --- */
.icon-box {
    width: 60px;
    height: 60px;
    background: #f5f3ff;
    color: #8b5cf6;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, color 0.3s ease;
}

/* When hovering over the CARD, animate the ICON inside it */
.info-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg); /* Pops up and tilts slightly */
    background: linear-gradient(135deg, #3b82f6, #8b5cf6); /* Fills with gradient */
    color: #ffffff; /* Icon turns white */
}

/* --- Card Typography --- */
.info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.8rem;
}

.info-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- Read More Link --- */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-arrow i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

/* Animate the arrow pointing right on hover */
.link-arrow:hover {
    color: #8b5cf6;
}

.info-card:hover .link-arrow i {
    transform: translateX(6px); /* Arrow slides right when the card is hovered */
}

/* =========================================
   9. PC BUILD SECTION
   ========================================= */
.build-tier {
    margin-top: 3.5rem;
}

.tier-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tier-title i {
    color: #8b5cf6; 
}

.tier-title span {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500;
}

/* --- Compact Build Grid --- */
.build-grid {
    display: grid;
    /* Reduced min-width to 280px to make cards narrower and more compact */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px; /* Constrains the max width to keep cards from stretching too wide */
    margin: 0 auto;
}

/* --- Compact Build Card Styling --- */
.build-card {
    background: #ffffff;
    border-radius: 12px; /* Slightly tighter border radius */
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Card Hover Animation */
.build-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.15); /* Violet glow */
}

/* --- Card Headers --- */
.card-header {
    padding: 1.2rem; /* Tighter padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.card-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.card-header .price {
    font-size: 1.1rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.amd-theme { background: linear-gradient(135deg, #ef4444, #b91c1c); } 
.intel-theme { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

/* --- Specs List --- */
.specs-list {
    list-style: none;
    padding: 1.2rem;
    margin: 0;
    flex-grow: 1; /* Pushes the footer to the bottom */
}

.specs-list li {
    margin-bottom: 0.7rem;
    font-size: 0.95rem; /* Slightly smaller text for compact look */
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs-list li i {
    width: 18px;
    text-align: center;
    color: #8b5cf6; 
}

.specs-list li strong {
    color: #111827;
}

/* --- Card Footer Link --- */
.card-footer {
    padding: 1rem 1.2rem;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
    text-align: center;
}

.details-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #8b5cf6;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.details-link i {
    transition: transform 0.3s ease;
}

.details-link:hover {
    color: #3b82f6; /* Switches to blue on hover */
}

.build-card:hover .details-link i {
    transform: translateX(4px); /* Arrow nudges right */
}

/* =========================================
   11. CONTACT SECTION
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Right side (form) is slightly wider */
    gap: 50px;
    margin-top: 40px;
}

/* --- Left Column: Info & Socials --- */
.info-card-small {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px 25px;
    background: #ffffff; /* Pure white to stand out */
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    /* Added a beautiful, soft shadow to lift it off the background */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card-small:hover {
    transform: translateY(-3px); /* Lifts up instead of right */
    box-shadow: 0 12px 25px rgba(139, 92, 246, 0.1); /* Subtle violet glow */
}

.icon-circle-small {
    width: 45px;
    height: 45px;
    background: #f5f3ff;
    color: #8b5cf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0; /* Prevents the icon from squishing */
}

.info-card-small h4 {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-card-small p {
    font-size: 1.1rem;
    color: #111827;
    font-weight: 700;
    margin: 0;
}

.social-heading {
    font-size: 1.2rem;
    color: #111827;
    margin: 30px 0 15px;
}

/* --- Social Buttons (Made Small & Pill-Shaped) --- */
.contact-socials {
    display: flex;
    flex-wrap: wrap; /* Allows them to sit side-by-side neatly */
    gap: 12px;
}

.social-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px; /* Tighter padding to make them smaller */
    border-radius: 50px; /* Pill shape */
    background: #ffffff;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9rem; /* Smaller text */
    font-weight: 600;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02); /* Tiny shadow for depth */
    transition: all 0.3s ease;
}

/* Specific Social Brand Hover Colors */
.social-box:hover { color: white; transform: translateY(-3px); }
.social-box.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: transparent;}
.social-box.youtube:hover { background: #ff0000; border-color: #ff0000; }
.social-box.discord:hover { background: #5865F2; border-color: #5865F2; }
.social-box.github:hover { background: #111827; border-color: #111827; }

/* --- Right Column: Contact Form --- */
.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    /* Deepened the shadow to make the form pop more */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); 
    border: 1px solid #e5e7eb;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    /* Crisper border and subtle inner shadow to make it look like a real input field */
    border: 1px solid #d1d5db; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    background: #f9fafb;
    font-family: inherit;
    font-size: 1rem;
    color: #111827;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15), inset 0 2px 4px rgba(0,0,0,0.01);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
    font-family: inherit;
    font-size: 1rem;
    color: #111827;
    transition: all 0.3s ease;
}

/* The magic glow when a user clicks on an input field */
.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

/* =========================================
   12. FOOTER SECTION
   ========================================= */
.site-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #3b82f6;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #8b5cf6;
}

.footer-brand p {
    color: #6b7280;
    max-width: 350px;
    line-height: 1.6;
}

.footer-links h4, .footer-legal h4 {
    color: #111827;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-legal a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    color: #8b5cf6;
    padding-left: 5px; /* Cool subtle slide effect on hover */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* =========================================
   13. SCROLL ENTRY ANIMATIONS
   ========================================= */
/* Setup the classes we added to the HTML */
.fade-slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeSlideUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   14. RESPONSIVE MEDIA QUERIES
   ========================================= */

/* Hide the hamburger icon on desktop screens */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #111827;
    cursor: pointer;
    margin-left: 1rem;
}

/* -----------------------------------------
   TABLETS & SMALL LAPTOPS (Max Width: 1024px)
   ----------------------------------------- */
@media (max-width: 1024px) {
    .hero { min-height: auto; padding: 4rem 5%; }
    .tagline { font-size: 3.2rem; }
    .hero-visual img { width: 300px; height: 300px; }
    .hero-visual::before { width: 310px; height: 310px; }
    
    .tag-1 { top: 5%; right: 2%; }
    .tag-2 { bottom: 5%; left: 45%; }
}

/* -----------------------------------------
   MOBILE & TABLET PORTRAIT (Max Width: 850px)
   ----------------------------------------- */
@media (max-width: 850px) {
    /* CRITICAL FIX: Global Mobile Prevent Scroll Bleed */
    html, body { overflow-x: hidden; width: 100%; }

    /* Topbar & Navbar Fixes */
    .topbar { 
        flex-direction: column; 
        text-align: center; 
        gap: 8px; 
        padding: 10px 5%; 
    }
    .topbar p { 
        word-break: break-all; /* Forces the long email to wrap safely */
        font-size: 13px; 
    }
    
    .navbar { padding: 15px 5%; }
    .navbar img { max-width: 160px; height: auto; }
    
    .nav-actions .menu-toggle { display: none !important; /* Hides 'Collaborate' to make room for hamburger */ }
    .hamburger { display: block; }
    
    /* Mobile Dropdown Menu */
    #nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        display: none;
    }
    #nav-menu.active { display: flex; } 

    /* Hero Section Stacking */
    .hero {
        grid-template-columns: 1fr;
        grid-template-areas: "greet" "content" "visual";
        text-align: center;
        justify-items: center;
        gap: 2rem;
        padding-top: 3rem;
    }
    .greet { justify-self: center; align-self: center; }
    .hero-content { align-self: center; }
    .hero-content a { margin: 0.5rem; display: inline-block; }
    .float-card { display: none; } 

    /* Swipeable Viral Reels - The Ultimate 2-Card Fix */
    .reels-slider-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        /* Kept the 5% left padding to align with your brand, but removed right padding so it touches the edge */
        padding: 10px 0 30px 5%; 
        -ms-overflow-style: none; 
        scrollbar-width: none; 
        scroll-behavior: smooth; 
    }
    
    .reels-slider-container::-webkit-scrollbar { display: none; }
    
    .slider-track {
        animation: none !important; 
        padding: 0;
        gap: 15px;
    }
    
    .reel-card {
        scroll-snap-align: start; 
        flex-shrink: 0;
        /* The Math: (100% Screen Width - 5% Left Padding - 15px Gap) divided by 2 */
        width: calc(47.5vw - 7.5px); 
        max-width: none; /* REMOVED: Allows cards to perfectly fill the screen to hide the 3rd card */
        height: auto; 
        aspect-ratio: 9 / 16; /* Automatically keeps the perfect vertical Reel shape no matter the width! */
    }

    /* Contact & Footer Stacking */
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .social-heading { text-align: center; }
    .contact-socials { justify-content: center; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-links ul, .footer-legal ul { align-items: center; }
    .footer-brand { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
}

/* -----------------------------------------
   SMALL MOBILE PHONES (Max Width: 600px)
   ----------------------------------------- */
@media (max-width: 600px) {
    /* Scale down hero text and images */
    .hero { padding: 2rem 5%; }
    .tagline { font-size: 2.2rem; line-height: 1.2; }
    .hero-content p { font-size: 0.95rem; }
    .hero-visual img { width: 240px; height: 240px; }
    .hero-visual::before { width: 250px; height: 250px; }
    
    .section-padding { padding: 4rem 0; }
    .center-text h2 { font-size: 2rem; margin-bottom: 1rem; }
    
    .input-row { grid-template-columns: 1fr; gap: 0; }
    
    .marquee-content span { font-size: 0.85rem; }
    .marquee-content { gap: 1.5rem; padding-left: 1.5rem; }
    
    .reel-card { width: 180px; height: 320px; }
}

/* =========================================
   IPHONE ALIGNMENT & OVERFLOW PATCHES
   ========================================= */

/* 1. Absolute kill-switch for iOS horizontal sliding */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* 2. Fix the Contact Card Email breaking out of the box */
.info-card-small {
    max-width: 100%;
    overflow: hidden; 
}

.info-card-small p {
    word-break: break-all; /* Forces the long email to wrap to the next line */
    overflow-wrap: break-word;
}

/* 3. Fix Topbar Centering & Text Sizing for Mobile */
@media (max-width: 850px) {
    .topbar {
        display: flex;
        flex-direction: column;
        align-items: center !important; /* Magnetically pulls email and icons to the dead center */
        justify-content: center;
        width: 100%;
    }
    
    .info-card-small p {
        font-size: 0.95rem; /* Slightly scales down the email text so it fits beautifully */
    }
}
