/* ============================================
   Social Casino Games - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --color-bg: #0f0c1a;
    --color-bg-alt: #161226;
    --color-bg-card: #1e1933;
    --color-bg-card-hover: #252144;
    --color-primary: #f5b700;
    --color-primary-hover: #ffc71e;
    --color-secondary: #8b5cf6;
    --color-secondary-hover: #a78bfa;
    --color-accent: #ec4899;
    --color-text: #f3f4f6;
    --color-text-muted: #a1a1aa;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-success: #22c55e;
    --color-danger: #ef4444;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 32px rgba(245, 183, 0, 0.2);
    --transition: all 0.25s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 12, 26, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

body {
    padding-top: 72px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--color-text);
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-text span {
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-list a {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-list a.active {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-danger), #b91c1c);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    color: #fff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

.age-badge.large {
    width: 52px;
    height: 52px;
    font-size: 1rem;
}

.coin-balance {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: rgba(245, 183, 0, 0.12);
    border: 1px solid rgba(245, 183, 0, 0.25);
    border-radius: var(--radius-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.coin-icon {
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #d97706);
    color: #1a1200;
    box-shadow: 0 4px 16px rgba(245, 183, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 183, 0, 0.45);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--color-text);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-light {
    background: #fff;
    color: var(--color-bg);
}

.btn-light:hover {
    background: #f3f4f6;
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 12, 26, 0.95) 0%,
        rgba(15, 12, 26, 0.85) 45%,
        rgba(15, 12, 26, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(245, 183, 0, 0.15);
    border: 1px solid rgba(245, 183, 0, 0.3);
    border-radius: var(--radius-xl);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-disclaimer {
    padding: 1rem 1.25rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: #fca5a5;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-dark {
    background-color: var(--color-bg-alt);
}

.section-gradient {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08));
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-xl);
    color: var(--color-secondary-hover);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--color-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.games-grid-page {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.game-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(245, 183, 0, 0.2);
}

.game-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.08);
}

.game-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.game-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.game-card-large .game-info p {
    min-height: 70px;
}

.game-meta {
    margin-bottom: 1.25rem;
}

.game-meta li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.game-meta li span {
    color: var(--color-text);
    font-weight: 600;
}

/* Responsible Banner */
.responsible-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem;
    overflow: hidden;
}

.responsible-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.responsible-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.responsible-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.responsible-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Page Hero */
.page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(245, 183, 0, 0.08));
    border-bottom: 1px solid var(--color-border);
}

.page-hero-small {
    padding: 3.5rem 0 3rem;
}

.page-hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.page-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Info Box */
.info-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.info-box-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.info-box-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.info-box-content p {
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

/* About Layout */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-muted);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-date {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--color-primary);
}

.legal-content p,
.legal-content ul {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-method h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method p,
.contact-method a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-method a:hover {
    color: var(--color-primary);
}

.contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select option {
    background: var(--color-bg-card);
    color: var(--color-text);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.form-checkbox input {
    width: auto;
    accent-color: var(--color-primary);
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Responsible Gambling */
.responsible-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.responsible-intro-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.responsible-intro-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.responsible-intro-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    padding: 1.75rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.tip-card:hover {
    border-color: rgba(245, 183, 0, 0.25);
    transform: translateY(-4px);
}

.tip-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.tip-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tip-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.help-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.help-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.help-section > p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.help-resources {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.help-resource {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: var(--transition);
}

.help-resource:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary-hover);
    transform: translateY(-3px);
}

.help-resource-icon {
    font-size: 1.3rem;
}

/* Game Page */
.game-page-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.game-frame-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.game-frame {
    width: 100%;
    height: 720px;
    border: none;
    display: block;
}

.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.game-details {
    padding: 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.game-details h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.game-details p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.game-details ul {
    margin-bottom: 1.25rem;
}

.game-details li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.game-details li span {
    color: var(--color-text);
    font-weight: 600;
}

.game-instructions {
    padding: 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.game-instructions h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.game-instructions ol {
    padding-left: 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.game-instructions li {
    margin-bottom: 0.5rem;
}

.game-disclaimer {
    padding: 1rem 1.25rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: #fca5a5;
}

/* Footer */
.site-footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    max-width: 320px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--color-text);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: #fca5a5;
}

.footer-partner {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-partner p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.footer-partner a {
    display: inline-block;
    transition: var(--transition);
}

.footer-partner a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-partner img {
    max-height: 48px;
    width: auto;
    border-radius: var(--radius-sm);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    color: var(--color-text);
    font-weight: 500;
    z-index: 2000;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.35s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: var(--color-success);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-layout,
    .responsible-intro,
    .contact-layout,
    .responsible-banner,
    .game-page-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .responsible-image,
    .responsible-intro-image,
    .about-image {
        order: -1;
    }

    .game-frame {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 6rem 1.5rem 2rem;
        background: rgba(15, 12, 26, 0.99);
        backdrop-filter: blur(20px);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        z-index: 998;
        display: flex;
        border-bottom: none;
        border-radius: 0;
        box-shadow: none;
        will-change: transform, opacity;
    }

    .main-nav.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        margin-bottom: 1rem;
    }

    .nav-list a {
        padding: 0.9rem 1rem;
        font-size: 1.05rem;
        border-radius: var(--radius-md);
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .coin-balance {
        justify-content: center;
    }

    .age-badge {
        align-self: center;
    }

    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .section {
        padding: 3.5rem 0;
    }

    .features-grid,
    .games-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .responsible-banner,
    .contact-form-wrapper,
    .info-box {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .game-frame {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.15rem;
    }

    .main-nav {
        padding: 5.5rem 1.25rem 2rem;
    }

    .nav-list a {
        padding: 0.85rem 0.9rem;
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 520px;
    }
}
