/* Decayora - Dark Cyberpunk Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ffcc;
    --secondary-color: #ff00ff;
    --dark-bg: #0a0a0f;
    --card-bg: #16161f;
    --text-color: #e0e0e0;
    --accent-glow: rgba(0, 255, 204, 0.3);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a2e 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 50px var(--accent-glow);
    animation: modalSlideIn 0.5s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.age-modal-content p {
    margin-bottom: 15px;
    font-size: 18px;
}

.age-modal-warning {
    color: #ffa500;
    font-weight: bold;
}

.age-modal-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.age-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.age-btn-yes {
    background: var(--primary-color);
    color: #000;
}

.age-btn-yes:hover {
    background: #00d4aa;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.age-btn-no {
    background: #ff4444;
    color: #fff;
}

.age-btn-no:hover {
    background: #cc0000;
}

/* Header */
.main-header {
    background: rgba(10, 10, 15, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    background: var(--card-bg);
    border-bottom: 2px solid var(--primary-color);
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: rgba(0, 255, 204, 0.1);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    animation: bgPulse 10s infinite alternate;
    z-index: 0;
}

@keyframes bgPulse {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 64px;
    font-weight: 900;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 
        0 0 10px var(--accent-glow),
        3px 3px 0 var(--secondary-color),
        -3px -3px 0 rgba(255, 0, 255, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(0, 255, 204, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
    font-size: 16px;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px var(--accent-glow);
}

.cta-button:hover {
    background: #00d4aa;
    transform: translateY(-3px);
    box-shadow: 0 0 50px var(--accent-glow);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    max-width: 100%;
    padding: 0 20px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    transition: all 0.3s ease;
}

.about-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Legal Notice */
.legal-notice {
    background: linear-gradient(135deg, #1a1a2e 0%, var(--card-bg) 100%);
    padding: 60px 0;
}

.notice-box {
    background: rgba(255, 165, 0, 0.1);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #ffa500;
}

.notice-box h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: #ffa500;
    margin-bottom: 30px;
    text-align: center;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.notice-item strong {
    color: var(--primary-color);
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

/* Game Section */
.game-section {
    background: var(--card-bg);
}

.game-intro {
    text-align: center;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 50px var(--accent-glow);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
}

.game-actions {
    text-align: center;
    margin-top: 40px;
}

.play-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary-color), #00d4aa);
    color: #000;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--accent-glow);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.feature-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    color: rgba(0, 255, 204, 0.2);
    font-weight: 900;
    display: block;
    margin-bottom: 10px;
}

.feature-box h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Community Section */
.community-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a2e 100%);
}

.community-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.community-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.community-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    color: var(--primary-color);
    font-weight: 900;
    text-shadow: 0 0 10px var(--accent-glow);
}

.stat-label {
    font-size: 18px;
    color: var(--text-color);
    margin-top: 10px;
    text-transform: uppercase;
}

/* Play Page */
.play-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, var(--dark-bg) 100%);
    padding: 60px 20px;
    text-align: center;
}

.play-subtitle {
    font-size: 22px;
    color: var(--text-color);
    margin-top: 20px;
}

.game-info {
    padding: 40px 0;
}

.info-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.info-box h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}

.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item strong {
    color: var(--primary-color);
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.play-section {
    padding: 60px 0;
    background: var(--dark-bg);
}

.game-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 50px var(--accent-glow);
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.legal-page h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.last-updated {
    color: #888;
    font-style: italic;
    margin-bottom: 40px;
}

.legal-content {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 204, 0.2);
}

.legal-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 28px;
    margin: 40px 0 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.critical-notice {
    background: rgba(255, 165, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #ffa500;
    margin-bottom: 40px;
}

.critical-notice h2 {
    color: #ffa500 !important;
    margin-top: 0 !important;
}

/* Footer */
.main-footer {
    background: var(--card-bg);
    border-top: 2px solid var(--primary-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    color: #999;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 204, 0.1);
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu.active {
        display: block;
    }

    .glitch {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-full {
        height: 500px;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .age-modal-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .community-stats {
        gap: 30px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 28px;
    }

    .logo span {
        font-size: 18px;
    }

    .game-frame {
        height: 300px;
    }

    .game-frame-full {
        height: 400px;
    }
}
