@import url("css2.css");

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

:root {
    --bg: #0f1115;
    --surface: #161925;
    --surface-2: #1e2233;
    --text: #f5f7fb;
    --muted: #cfd4e0;
    --accent: #7bffb5;
    --accent-2: #1f3c34;
    --stroke: #2a3144;
    --card-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

body {
    font-family: 'Lato', sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(123,255,181,0.08), transparent 30%), radial-gradient(circle at 80% 0%, rgba(123,255,181,0.12), transparent 35%), var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text);
}

a {
    color: var(--accent);
}

/* Header and Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15,17,21,0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--stroke);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.logo-container:hover {
    opacity: 0.85;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(123,255,181,0.35), rgba(31,60,52,0.9));
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(123,255,181,0.4);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.35rem 0.15rem;
    position: relative;
    transition: color 0.25s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #9bfed1);
    transition: width 0.25s ease;
    box-shadow: 0 8px 18px rgba(123,255,181,0.4);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--text);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--stroke);
    border-radius: 10px;
    cursor: pointer;
    padding: 0.55rem;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Main Container */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

/* Hero Section */
.hero {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: 3.5rem;
    background: linear-gradient(145deg, rgba(123,255,181,0.12), rgba(31,60,52,0.35)) , var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 22px;
    box-shadow: var(--card-shadow);
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.95rem 1.6rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 1rem;
    color: var(--text);
    background: var(--surface-2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #9bfed1);
    color: #0c1215;
    box-shadow: 0 12px 28px rgba(123,255,181,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(123,255,181,0.45);
}

.btn-ghost {
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.03);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

.card {
    background: var(--surface);
    border-radius: 18px;
    padding: 1.9rem;
    border: 1px solid var(--stroke);
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(0,0,0,0.55);
    border-color: rgba(123,255,181,0.35);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.card p,
.card li {
    color: var(--muted);
}

.card ul {
    margin-left: 1.2rem;
    display: grid;
    gap: 0.4rem;
}

/* Notice Panel */
.notice-panel {
    background: linear-gradient(135deg, rgba(123,255,181,0.14), rgba(31,60,52,0.8));
    color: var(--text);
    border-radius: 18px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid rgba(123,255,181,0.35);
    box-shadow: var(--card-shadow);
}

.notice-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.notice-panel p {
    color: var(--muted);
}

/* Game Section */
.game-section {
    background: var(--surface);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
    border: 1px solid var(--stroke);
    box-shadow: var(--card-shadow);
}

.game-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.game-section p {
    color: var(--muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.game-wrapper {
    background: var(--surface-2);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--stroke);
}

.game-wrapper iframe {
    width: 100%;
    max-width: 960px;
    height: 620px;
    border: 1px solid var(--stroke);
    border-radius: 14px;
    background: #000;
    box-shadow: 0 12px 36px rgba(0,0,0,0.55);
}

.game-card {
    display: grid;
    gap: 1rem;
}

.game-cover img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    box-shadow: 0 14px 32px rgba(0,0,0,0.55);
}

/* Logos grid */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    align-items: center;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.logos-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    transition: border-color 0.2s ease, transform 0.2s ease;
    min-height: 70px;
}

.logos-grid a:hover {
    border-color: rgba(123,255,181,0.45);
    transform: translateY(-2px);
}

.logos-grid img {
    width: auto;
    max-width: 100%;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@media (max-width: 768px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .logos-grid a {
        padding: 0.6rem 0.8rem;
        min-height: 60px;
    }
    
    .logos-grid img {
        height: 40px;
    }
}

/* Footer */
footer {
    background: var(--surface-2);
    border-top: 1px solid var(--stroke);
    padding: 2.5rem 1.5rem 3rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    text-align: center;
}

.footer-container h4 {
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
}

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

/* Company Info Block */
.company-info {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin: 1rem auto;
    max-width: 600px;
    text-align: center;
}

.company-info p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0.25rem 0;
}

.company-info p strong {
    color: var(--text);
    font-size: 1.05rem;
}

.company-info a {
    color: var(--accent);
    text-decoration: none;
}

.company-info a:hover {
    text-decoration: underline;
}

/* Modal (18+ and cookies) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--surface);
    border-radius: 18px;
    padding: 2rem;
    max-width: 520px;
    text-align: center;
    border: 1px solid var(--stroke);
    box-shadow: var(--card-shadow);
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-content p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--muted);
}

.modal-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 18px;
    right: 18px;
    left: 18px;
    max-width: 520px;
    margin: 0 auto;
    background: rgba(22,25,37,0.92);
    backdrop-filter: blur(10px);
    color: var(--text);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid var(--stroke);
    box-shadow: var(--card-shadow);
    display: none;
    z-index: 900;
}

.cookie-banner.show {
    display: grid;
    gap: 0.75rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        padding: 2.5rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .game-wrapper iframe {
        height: 520px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15,17,21,0.92);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid var(--stroke);
    }

    nav.active {
        max-height: 320px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }

    nav ul li a {
        display: block;
        padding: 0.85rem 1.25rem;
    }

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

    .game-wrapper iframe {
        height: 420px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
    }
}
