@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Space+Grotesk:wght@300..700&display=swap');

:root {
    /* Capsule Palette */
    --bg: #F5F5F0;
    --fg: #1A1A1A;
    --coral: #E85D4E;
    --lime: #C4D94E;
    --lavender: #C5B5E0;
    --sky: #8BB4F7;
    --violet: #A06CE8;
    --yellow: #F2D160;
    --peach: #F5B895;
    --mint: #A8E6CF;

    /* Typography */
    --font-heading: 'Bodoni Moda', serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    /* Layout Constraints */
    --container-max: 1380px;
    --game-max: 1240px;
    --spacing-desktop: 130px;
    --spacing-tablet: 90px;
    --spacing-mobile: 60px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--fg);
}

a {
    color: var(--fg);
    text-decoration: none;
    transition: all 0.2s ease;
}

p {
    color: var(--fg);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Typography Classes */
.text-capsule {
    background: var(--peach);
    color: var(--fg);
    padding: 0.15em 0.5em;
    border-radius: 999px;
    border: 2px solid var(--fg);
    display: inline-block;
    line-height: 1.1;
    font-family: var(--font-body);
    font-weight: 600;
    transform: rotate(-2deg);
    box-shadow: 3px 3px 0 var(--fg);
}
.text-capsule.coral { background: var(--coral); }
.text-capsule.lime { background: var(--lime); transform: rotate(1deg); }
.text-capsule.lavender { background: var(--lavender); transform: rotate(-1deg); }
.text-capsule.sky { background: var(--sky); transform: rotate(2deg); }
.text-capsule.violet { background: var(--violet); }
.text-capsule.mint { background: var(--mint); transform: rotate(-1deg); }

.subtitle {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--fg);
    font-weight: 500;
}

.disclaimer-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--fg);
    text-transform: uppercase;
    font-weight: 700;
    border: 2px solid var(--fg);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    display: inline-block;
    background: var(--yellow);
    box-shadow: 2px 2px 0 var(--fg);
}

/* Capsule Panel System */
.capsule-panel {
    background: #ffffff;
    border: 2px solid var(--fg);
    box-shadow: 8px 8px 0 var(--fg);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    padding: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    border: 2px solid var(--fg);
    box-shadow: 4px 4px 0 var(--fg);
    color: var(--fg);
}

.btn-primary {
    background: var(--coral);
}

.btn-primary:hover {
    background: var(--peach);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--fg);
}

.btn-secondary {
    background: var(--lime);
}

.btn-secondary:hover {
    background: var(--yellow);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--fg);
}

/* Layout Containers */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: var(--container-max);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 2px solid var(--fg);
    box-shadow: 4px 4px 0 var(--fg);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--fg);
    text-transform: none;
    letter-spacing: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--violet);
    border-radius: 999px;
    border: 2px solid var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    color: var(--fg);
    font-weight: bold;
    font-size: 0.9rem;
}

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

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fg);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    transition: all 0.2s;
    text-transform: none;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--sky);
    border: 2px solid var(--fg);
    box-shadow: 2px 2px 0 var(--fg);
    transform: translateY(-2px);
}

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

.nav-actions .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    background: var(--yellow);
    border: 2px solid var(--fg);
    border-radius: 999px;
    width: 44px; height: 44px;
    color: var(--fg);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 2px 2px 0 var(--fg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
}

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

.hero-content h1 {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-content p.subtitle {
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    border-top: 2px solid var(--fg);
    padding-top: 2rem;
    flex-wrap: wrap;
}

.stat-item h4 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-family: var(--font-heading);
    color: var(--fg);
    margin-bottom: 0.25rem;
    background: var(--mint);
    padding: 0.2rem 1.2rem;
    border-radius: 999px;
    border: 2px solid var(--fg);
    display: inline-block;
    box-shadow: 3px 3px 0 var(--fg);
}

.stat-item p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    margin-top: 0.5rem;
}

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

.floating-slot-img {
    width: 100%;
    max-width: 500px;
    border-radius: 200px;
    border: 4px solid var(--fg);
    box-shadow: 12px 12px 0 var(--violet);
    z-index: 2;
    background: #fff;
    padding: 1rem;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.neon-ring {
    position: absolute;
    width: 80%;
    max-width: 400px;
    aspect-ratio: 4/5;
    height: auto;
    border-radius: 999px;
    border: 4px solid var(--fg);
    background: var(--peach);
    box-shadow: 8px 8px 0 var(--fg);
    z-index: 1;
    transform: rotate(12deg);
}

/* Main Game Section */
.game-section {
    padding: var(--spacing-desktop) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.game-container {
    max-width: var(--game-max);
    margin: 0 auto;
    background: #ffffff;
    border-radius: 40px;
    padding: 20px;
    border: 2px solid var(--fg);
    box-shadow: 8px 8px 0 var(--fg);
}

.game-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--fg);
    background: var(--bg);
}

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

.game-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem 0.5rem;
}

.game-title-area h3 {
    font-size: 1.5rem;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-title-area h3::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--lime);
    border-radius: 50%;
    border: 2px solid var(--fg);
}

.game-controls {
    display: flex;
    gap: 1rem;
}

.control-btn {
    background: var(--sky);
    border: 2px solid var(--fg);
    color: var(--fg);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 2px 2px 0 var(--fg);
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: var(--yellow);
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--fg);
}

/* Features Grid */
.features-section {
    padding: var(--spacing-desktop) 0;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    border-radius: 40px;
    border: 2px solid var(--fg);
    background: #fff;
    box-shadow: 6px 6px 0 var(--fg);
    transition: transform 0.2s;
}

.feature-card:nth-child(1) { background: var(--lavender); }
.feature-card:nth-child(2) { background: var(--mint); }
.feature-card:nth-child(3) { background: var(--peach); }

.feature-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 var(--fg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 999px;
    border: 2px solid var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 1.5rem;
    box-shadow: 2px 2px 0 var(--fg);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Images Grid Section */
.gallery-section {
    padding: var(--spacing-desktop) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--fg);
    box-shadow: 4px 4px 0 var(--fg);
    background: #fff;
    padding: 0.5rem;
}

.gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; border-radius: 40px; }
.gallery-item:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 3; }
.gallery-item:nth-child(4) { grid-column: 4 / 5; grid-row: 2 / 3; }

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.gallery-item:nth-child(1) .gallery-img { border-radius: 32px; }
.gallery-item:not(:nth-child(1)) .gallery-img { border-radius: 999px; }

.gallery-overlay {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    border: 2px solid var(--fg);
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    box-shadow: 2px 2px 0 var(--fg);
    white-space: nowrap;
}

.gallery-overlay h4 {
    margin: 0;
    color: var(--fg);
    font-family: var(--font-body);
}

/* Content Pages */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-tablet) 2rem;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--fg);
    padding-bottom: 0.5rem;
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-block p, .content-block ul {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content-block ul {
    padding-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    border: 2px solid var(--fg);
    background: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--fg);
    box-shadow: inset 3px 3px 0 rgba(0,0,0,0.05);
    outline: none;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--coral);
}
.form-group input { border-radius: 999px; }

/* VIP Page Specific */
.vip-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.vip-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border: 2px solid var(--fg);
    border-radius: 40px;
    box-shadow: 6px 6px 0 var(--fg);
    position: relative;
}

.vip-card[data-tier="neon"] { background: var(--sky); }
.vip-card[data-tier="plasma"] { background: var(--lavender); transform: scale(1.05); z-index: 2; }
.vip-card[data-tier="quantum"] { background: var(--peach); }

.vip-price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin: 1.5rem 0;
    font-weight: bold;
    background: #fff;
    border: 2px solid var(--fg);
    border-radius: 999px;
    padding: 0.5rem;
    box-shadow: 2px 2px 0 var(--fg);
}

.vip-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
    background: rgba(255,255,255,0.5);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid var(--fg);
}

.vip-features li {
    padding: 0.8rem 0;
    border-bottom: 2px dashed rgba(26,26,26,0.2);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.vip-features li:last-child { border-bottom: none; }
.vip-features li::before {
    content: '★';
    color: var(--coral);
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 5rem 0 2rem;
    border-top: 4px solid var(--fg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: var(--yellow);
    padding: 0.2rem 1.2rem;
    border-radius: 999px;
    border: 2px solid var(--fg);
    box-shadow: 2px 2px 0 var(--fg);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--coral);
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-bottom {
    border-top: 2px solid var(--fg);
    padding-top: 2rem;
    text-align: center;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 2; }
    .hero-visual { order: 1; min-height: 400px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-content p.subtitle { margin: 0 auto 2.5rem; }
    .neon-ring { max-width: 300px; }
    
    .vip-tiers { grid-template-columns: 1fr; }
    .vip-card[data-tier="plasma"] { transform: scale(1); }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
    :root {
        --spacing-desktop: 60px;
        --spacing-tablet: 40px;
    }
    
    .nav-links, .nav-actions .btn { display: none; }
    .menu-toggle { display: block; }
    
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    
    .footer-grid { grid-template-columns: 1fr; }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 250px);
    }
    .gallery-item:nth-child(n) { grid-column: 1 / 2; grid-row: auto; border-radius: 40px; }
    .gallery-item:nth-child(n) .gallery-img { border-radius: 32px; }
}