/* SpinAura - Aurora Theme CSS */
:root {
    --primary-dark: #0a0f1a;
    --secondary-dark: #1a2332;
    --accent-green: #00ff88;
    --accent-blue: #00a8ff;
    --accent-purple: #8b5cf6;
    --accent-pink: #ff6b9d;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border-subtle: #334155;
    --gradient-aurora: linear-gradient(45deg, #00ff88, #00a8ff, #8b5cf6, #ff6b9d);
    --gradient-dark-bg: linear-gradient(135deg, #0a0f1a 0%, #1a2332 50%, #0a0f1a 100%);
    --shadow-aurora: 0 0 30px rgba(0, 255, 136, 0.2);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Aurora Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 168, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    z-index: -2;
    animation: auroraShift 25s ease-in-out infinite;
}

@keyframes auroraShift {
    0%, 100% { 
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    33% { 
        transform: translateX(20px) translateY(-10px) rotate(1deg);
        opacity: 1;
    }
    66% { 
        transform: translateX(-15px) translateY(15px) rotate(-1deg);
        opacity: 0.9;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 255, 136, 0.4);
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: -3px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--accent-green);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.site-navigation {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--secondary-dark);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding: 1rem;
}

.site-navigation.open {
    transform: translateY(0);
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
    background: rgba(0, 255, 136, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-aurora);
    border-radius: 1px;
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .site-navigation {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    .nav-list {
        flex-direction: row;
        gap: 1rem;
    }
    
    .header-wrapper {
        padding: 1.5rem 2rem;
    }
}

/* Main Content */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 2rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.aurora-layers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.aurora-layer {
    position: absolute;
    width: 120%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.1;
    animation: auroraFloat 20s ease-in-out infinite;
}

.aurora-layer-1 {
    background: linear-gradient(45deg, var(--accent-green), var(--accent-blue));
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.aurora-layer-2 {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-pink));
    top: -30%;
    right: -10%;
    animation-delay: -7s;
}

.aurora-layer-3 {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-green));
    bottom: -20%;
    left: -5%;
    animation-delay: -14s;
}

@keyframes auroraFloat {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.1;
    }
    50% { 
        transform: translateX(30px) translateY(-20px) scale(1.1);
        opacity: 0.2;
    }
}

.stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--text-light);
    border-radius: 50%;
    animation: starTwinkle 3s ease-in-out infinite;
}

.star-1 { top: 20%; left: 20%; animation-delay: 0s; }
.star-2 { top: 30%; right: 25%; animation-delay: 0.5s; }
.star-3 { top: 60%; left: 15%; animation-delay: 1s; }
.star-4 { top: 70%; right: 20%; animation-delay: 1.5s; }
.star-5 { top: 40%; left: 50%; animation-delay: 2s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(0, 255, 136, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(26, 35, 50, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: 25px;
    color: var(--text-muted);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.1rem;
}

/* Game Section */
.game-section {
    margin: 4rem 0;
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.game-wrapper {
    background: var(--secondary-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-aurora);
}

.game-frame-container {
    margin-bottom: 1rem;
}

.game-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 15px;
    background: #000;
}

.game-info {
    text-align: center;
}

.game-tip {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-style: italic;
}

/* Features Section */
.features-section {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: var(--secondary-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-purple);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    margin-top: 4rem;
    padding: 2rem 1.5rem;
    background: var(--secondary-dark);
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h5 {
    font-family: 'Nunito', sans-serif;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link-list a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .hero-badges {
        flex-direction: row;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 2fr 1fr;
    }
    
    .footer-link-list {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.age-modal-content {
    background: var(--secondary-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 25px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.age-modal-header {
    margin-bottom: 1.5rem;
}

.aurora-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.age-modal-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    color: var(--accent-green);
}

.age-modal-body p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.age-question h3 {
    font-family: 'Nunito', sans-serif;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.age-warnings {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.warning-item {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.age-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0 1rem;
}

.age-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.age-btn-primary {
    background: var(--gradient-aurora);
    color: white;
}

.age-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-aurora);
}

.age-btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

.age-btn-secondary:hover {
    background: var(--border-subtle);
    color: var(--text-light);
}

.age-modal-footer {
    margin-top: 1rem;
}

.age-modal-footer small {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .game-iframe {
        height: 400px;
    }
    
    .age-modal-content {
        padding: 2rem;
    }
    
    .age-modal-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Play Page Styles */
.play-section {
    margin: 2rem 0;
}

.play-header {
    text-align: center;
    margin-bottom: 2rem;
}

.play-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.play-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.game-wrapper-large {
    background: var(--secondary-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-glow);
    margin-bottom: 3rem;
}

.game-frame-container-large {
    margin-bottom: 1rem;
}

.game-iframe-large {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 15px;
    background: #000;
}

.game-guide {
    margin-bottom: 3rem;
}

.guide-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    color: var(--accent-blue);
    text-align: center;
    margin-bottom: 2rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.guide-item {
    background: var(--secondary-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.guide-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-aurora);
    border-color: var(--accent-purple);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guide-item h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.guide-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.game-notice {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.notice-header h4 {
    font-family: 'Nunito', sans-serif;
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.notice-content ul {
    list-style: none;
    padding: 0;
}

.notice-list li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.notice-list li::before {
    content: '•';
    color: var(--accent-green);
    position: absolute;
    left: 0;
}

/* Legal Pages Styles */
.legal-section {
    margin: 2rem 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    margin-bottom: 2rem;
    background: var(--secondary-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.legal-card:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-blue);
}

.legal-card h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.legal-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-card ul {
    color: var(--text-muted);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-card li {
    margin-bottom: 0.5rem;
}

.disclaimer-alert {
    background: rgba(255, 107, 157, 0.1);
    border: 2px solid var(--accent-pink);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.disclaimer-alert h2 {
    font-family: 'Nunito', sans-serif;
    color: var(--accent-pink);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.warning-box {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.warning-box p {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.resource-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.resource-card {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.resource-card h4 {
    font-family: 'Nunito', sans-serif;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.resource-btn {
    background: var(--gradient-aurora);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.resource-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-aurora);
}

@media (min-width: 768px) {
    .guide-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .resource-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .legal-title {
        font-size: 3.5rem;
    }
    
    .play-title {
        font-size: 3.5rem;
    }
}