/* JoySpinor - Unique Card-Based Layout */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Open+Sans:wght@300;400;600&display=swap');

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

:root {
    --primary-color: #0066cc;
    --secondary-color: #00cc99;
    --accent-color: #ffcc00;
    --dark-bg: #050810;
    --card-bg: #0f1520;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: radial-gradient(circle at top right, #0a1628 0%, #050810 100%);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
}

/* Top Navigation Bar */
.top-bar {
    background: linear-gradient(90deg, #0066cc 0%, #0099dd 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand-icon {
    font-size: 2.5rem;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
}

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

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

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

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00cc99 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.page-title p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Card Styles */
.info-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(0, 204, 153, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 204, 153, 0.3);
    border-color: var(--secondary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.info-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.info-card ul,
.info-card ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.info-card li {
    margin-bottom: 0.5rem;
}

/* Full Width Card */
.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(0, 102, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
}

.feature-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.feature-card ul,
.feature-card ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.feature-card li {
    margin-bottom: 0.5rem;
}

/* Notice Card */
.notice-card {
    background: linear-gradient(135deg, #0066cc 0%, #00cc99 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 204, 153, 0.4);
}

.notice-card strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.notice-card p {
    font-size: 1.1rem;
}

/* Game Card */
.game-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 2px solid rgba(0, 204, 153, 0.3);
    margin: 2rem 0;
}

.game-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.game-card p {
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.game-card iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: 3px solid var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 204, 153, 0.3);
}

/* Footer */
.site-footer {
    background: var(--card-bg);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--secondary-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Age Gate Modal */
.age-gate {
    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;
}

.age-gate.visible {
    display: flex;
}

.age-content {
    background: linear-gradient(135deg, #0f1520 0%, #050810 100%);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 15px 60px rgba(0, 204, 153, 0.5);
}

.age-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.age-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
}

.btn-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 204, 153, 0.5);
}

.btn-reject {
    background: #444;
    color: white;
}

.btn-reject:hover {
    background: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .top-bar-content {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-toggle {
        display: flex;
    }

    .brand h1 {
        font-size: 1.8rem;
    }

    .page-title h1 {
        font-size: 2.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .game-card iframe {
        height: 400px;
    }

    .age-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-buttons button {
        width: 100%;
    }
}
