@import url('https://fonts.googleapis.com/css2?family=Graduate&family=Outfit:wght@300;400;600;700;900&display=swap');

:root {
    /* Neon Cyber-University Palette */
    --primary: #8b5cf6;       /* Electric Violet */
    --primary-dark: #6d28d9;  /* Deep Violet */
    --secondary: #06b6d4;     /* Neon Cyan */
    --accent: #f43f5e;        /* Cyber Rose */
    --footer-bg: #020617;     /* Deep Space Black */
    --bg: #0f172a;            /* Dark Slate Background */
    --surface: #1e293b;       /* Slate Surface */
    --surface-light: #334155; /* Light Slate Border */
    --text: #f8fafc;          /* Off-White Text */
    --text-muted: #94a3b8;    /* Muted Blue-Grey */
    --glass: rgba(30, 41, 59, 0.95);
    --glass-border: rgba(139, 92, 246, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-lg: 0.5rem; /* Sharper corners for Varsity look */
    --radius-xl: 1rem;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .btn {
    font-family: 'Graduate', serif; /* Varsity Font */
    text-transform: uppercase;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 0;
    border: 2px solid var(--surface);
}

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary); /* MU Blue Background */
    border-bottom: 4px solid var(--accent); /* Gold Border */
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 400;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px var(--primary-dark);
}

.logo img {
    display: block;
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 1px;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: -8px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: var(--bg);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--secondary), #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 .highlight-alt {
    background: linear-gradient(135deg, var(--accent), #fb7185);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-btns .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--surface-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

/* ====== Enhanced Button Styles ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    background: var(--surface);
    color: var(--text);
}

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

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

.btn:hover {
    transform: translateY(-3px);
}

/* Primary Button - Gradient Cyan */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary), #22d3ee);
    color: #0f172a;
    border: none;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #22d3ee, var(--secondary));
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
    color: #0f172a;
}

/* Glow effect on hover */
.btn-primary:hover::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--secondary), #22d3ee);
    border-radius: var(--radius-lg);
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
}

/* Secondary Button - Outline */
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--surface-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
}

/* Accent Button - Rose */
.btn-accent {
    background: linear-gradient(135deg, var(--accent), #fb7185);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.35);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #fb7185, var(--accent));
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.5);
}

/* Small Button */
.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* Large Button */
.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* Icon Button (Circle) */
.btn-icon {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Button with left icon */
.btn i:first-child {
    margin-right: 0.25rem;
}

/* Button with right icon */
.btn i:last-child {
    margin-left: 0.25rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Graduate', serif;
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 700;
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: cardFloat 6s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.floating-card .card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
}

.floating-card span {
    font-family: 'Graduate', serif;
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: 1px;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 5%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: -4s;
}

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

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

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

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: rotate(45deg);
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

/* ====== Responsive Design - Tablet & Mobile ====== */
@media (max-width: 1024px) {
    /* Header */
    header {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-visual {
        display: none;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }
    
    /* About Section */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Card Grid */
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col {
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Page Hero */
    .page-hero {
        padding: 100px 0 50px;
        min-height: auto;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .page-hero .hero-graphic {
        gap: 1rem;
    }
    
    .page-hero .graphic-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Game Hero */
    .game-hero {
        padding: 100px 0 40px;
    }
    
    .game-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-hero-content h1 {
        font-size: 2rem;
    }
    
    .game-hero-visual {
        display: none;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    /* Legal Content */
    .legal-content {
        padding: 2rem 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Device Banner */
    .device-banner h2 {
        font-size: 1.75rem;
    }
    
    .device-grid {
        grid-template-columns: 1fr;
    }
    
    /* Disclaimer Section */
    .warning-box {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .warning-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
    
    .warning-content h2 {
        font-size: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Hero Badge */
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
    
    /* Stats */
    .hero-stat {
        min-width: 80px;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    /* About Stats */
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    /* Scroll indicator hidden on mobile */
    .hero-scroll {
        display: none;
    }
}

/* ====== Landscape Mobile ====== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-btns {
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-visual {
        display: none;
    }
}

/* ====== Print Styles ====== */
@media print {
    header,
    footer,
    .hero-visual,
    .hero-scroll,
    .menu-toggle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
    }
}

/* ====== How to Play Section ====== */
.how-to-play-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.how-to-play-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 0% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.how-to-play-section .container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    margin-top: -2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 0;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--surface-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Graduate', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    border: 3px solid var(--bg);
}

.step-card h3 {
    color: var(--text);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-connector {
    display: none;
}

.cta-box {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.cta-box p {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Responsive How to Play */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .step-connector {
        display: block;
        position: absolute;
        bottom: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 30px;
        background: linear-gradient(180deg, var(--primary), var(--secondary));
    }
    
    .step-card:last-child .step-connector {
        display: none;
    }
}

@media (max-width: 640px) {
    .how-to-play-section {
        padding: 4rem 0;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
}

/* Page Hero Sections (Inner Pages) */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 0;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: orbFloat 15s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.page-hero h1 .accent {
    background: linear-gradient(135deg, var(--secondary), #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero .hero-graphic {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.page-hero .graphic-icon {
    width: 80px;
    height: 80px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    animation: iconFloat 4s ease-in-out infinite;
}

.page-hero .graphic-icon:nth-child(2) {
    animation-delay: -1s;
}

.page-hero .graphic-icon:nth-child(3) {
    animation-delay: -2s;
}

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

/* Game Page Hero */
.game-hero {
    padding: 160px 0 60px;
    position: relative;
    overflow: hidden;
}

.game-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
        var(--bg);
    z-index: 0;
}

.game-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
}

.game-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-hero-content h1 span {
    background: linear-gradient(135deg, var(--accent), #fb7185);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.game-hero-visual {
    position: relative;
}

.game-card-preview {
    background: var(--surface);
    border: 2px solid var(--surface-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.game-card-preview:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-card-preview img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.game-card-preview h3 {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Contact Page */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--surface-light);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--surface-light);
    border-radius: var(--radius-lg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-content h2 {
    color: var(--primary);
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-content ul {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Game Container */
.game-container {
    background: var(--surface);
    border: 2px solid var(--surface-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/9;
    max-height: 600px;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .game-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-hero-visual {
        display: none;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
}

/* Content Sections */
section {
    padding: 6rem 0;
}


/* About Section (University Minifigures) */
.about-section {
    padding-top: 5rem;
    text-align: center;
}

.about-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.about-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-light);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Graduate', serif;
    font-size: 2.5rem;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.minifigures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.minifigure-card {
    background: var(--surface);
    border: 2px solid var(--surface-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.minifigure-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.minifigure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.minifigure-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.minifigure-name {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.minifigure-role {
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Games Section */
.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--primary);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--surface);
    padding: 0; /* Reset padding for image cards */
    border-radius: var(--radius-lg);
    border: 2px solid var(--surface-light);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-content {
    padding: 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid var(--accent);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.faq-item {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-light);
}

.faq-item h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-light);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.testimonial-author {
    color: var(--primary);
    font-weight: 700;
    text-align: right;
}

/* Scare Cylinder Warning (Disclaimer) */
.disclaimer-section {
    background: var(--accent);
    padding: 5rem 0;
    color: var(--text);
    position: relative;
    overflow: hidden;
    border-top: 8px solid var(--primary);
    border-bottom: 8px solid var(--primary);
}

.warning-box {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255,255,255,0.2);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 4px dashed var(--primary);
}

.warning-icon {
    font-size: 5rem;
    color: var(--accent);
    background: var(--primary);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Graduate', serif;
    flex-shrink: 0;
    box-shadow: 0 4px 0 rgba(0,0,0,0.2);
}

.warning-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.warning-content p {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

/* Polaroids / Sign Up Area */
.signup-section {
    background: #4ade80;
    /* Fallback */
    background: linear-gradient(to right, #4ade80, #22d3ee);
    /* Green to Blueish */
    padding: 4rem 0;
    text-align: center;
    color: white;
}

/* Device Compatibility Banner */
.device-banner {
    background: linear-gradient(to right, var(--primary-dark), var(--bg));
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--surface-light);
    border-bottom: 1px solid var(--surface-light);
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* How to Play */
.how-to-play-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 8px solid var(--secondary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.how-to-play-step:hover {
    transform: translateX(10px);
}

.step-number {
    font-size: 3rem;
    font-family: 'Graduate', serif;
    color: var(--secondary);
    opacity: 0.5;
}

/* Game Frame */
.game-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid var(--surface);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--footer-bg);
    padding: 5rem 0 2rem;
    color: white;
    border-top: 8px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--accent);
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Search Box in Footer (Guia Universitaria) */
.footer-search {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
}

.footer-search h4 {
    margin-bottom: 0.5rem;
}

.footer-search p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: var(--bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: white; /* White hamburger on blue header */
    transition: var(--transition);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        background: var(--primary);
        border-bottom: 4px solid var(--accent);
    }
    
    .nav-links a {
        color: white;
    }
    
    .warning-box {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}
