/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: #667eea;
    transition: color 0.3s ease;
}

a:hover {
    color: #764ba2;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-play,
.btn-cookie {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-play {
    background: #10ac84;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
}

.btn-cookie {
    background: #34495e;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.logo h1 a {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav a {
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    background: #667eea;
    color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 101;
}

.mobile-menu-btn:hover {
    background: #f8f9fa;
    color: #667eea;
}

.mobile-menu-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 99;
    }
    
    .nav.mobile-open {
        max-height: 400px;
        padding: 1rem 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
        margin: 0;
    }
    
    .nav li {
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .nav.mobile-open li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Staggered animation for menu items */
    .nav.mobile-open li:nth-child(1) { transition-delay: 0.1s; }
    .nav.mobile-open li:nth-child(2) { transition-delay: 0.2s; }
    .nav.mobile-open li:nth-child(3) { transition-delay: 0.3s; }
    .nav.mobile-open li:nth-child(4) { transition-delay: 0.4s; }
    
    .nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin-bottom: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav a:last-child {
        margin-bottom: 0;
    }
    
    .nav a:hover,
    .nav a.active {
        background: #667eea;
        color: white;
        transform: translateX(5px);
    }
}

.virtual-balance {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 6px;
    border: 2px solid #667eea;
    font-weight: 500;
}

.virtual-balance strong {
    color: #667eea;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-disclaimer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-disclaimer p {
    color: #fff;
    margin: 0;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-visual {
    margin-top: 3rem;
}

.game-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 300px;
    margin: 0 auto;
}

.spinning-icon {
    font-size: 4rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

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

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

/* Game Page Specific Styles */
.game-page {
    background: linear-gradient(135deg, #2d3748, #4a5568);
}

.game-section {
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
}

.game-disclaimer {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.game-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.game-header p {
    color: #666;
    font-size: 1.1rem;
}

.game-area {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}
#game-canvas {
    width: 100%;
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-placeholder {
    height: 100%;
    min-height: 400px;
    display: flex;
    justify-content: center;
}

/* Slot Machine Styles */
.slot-machine {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.slot-display {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    background: #2c3e50;
    padding: 2rem;
    border-radius: 10px;
}

.reel {
    background: white;
    border-radius: 8px;
    width: 100px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 3px solid #667eea;
}

.symbol {
    font-size: 3rem;
    transition: transform 0.5s ease;
}

.reel.spinning .symbol {
    animation: reelSpin 1s ease-in-out;
}

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

.game-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.bet-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bet-controls label {
    font-weight: 500;
    color: #2c3e50;
}

.bet-controls select {
    padding: 8px 12px;
    border: 2px solid #667eea;
    border-radius: 6px;
    font-size: 16px;
    background: white;
}

.spin-button {
    background: linear-gradient(135deg, #10ac84, #00b894);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 172, 132, 0.3);
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 172, 132, 0.4);
}

.spin-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.game-info {
    color: #2c3e50;
    font-weight: 500;
}

.game-info span {
    color: #10ac84;
    font-weight: 600;
}

.game-instructions {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.game-instructions h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.game-instructions ul {
    list-style: none;
    padding: 0;
}

.game-instructions li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.game-instructions li:before {
    content: "🎯";
    position: absolute;
    left: 0;
}

.additional-disclaimers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.disclaimer-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.disclaimer-box h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.disclaimer-box p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.25rem 0;
}

.footer-section a {
    color: #74b9ff;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #0984e3;
}

.age-restriction {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
}

.footer-disclaimer {
    background: #34495e;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.footer-disclaimer p {
    margin: 0;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.footer-actions {
    margin-bottom: 1rem;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.cookie-modal.active {
    display: flex;
}

.cookie-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cookie-options {
    margin: 1.5rem 0;
}

.cookie-options label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.cookie-options input {
    margin-right: 0.5rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Legal Pages Styles */
.legal-page {
    background: white;
    min-height: 100vh;
}

.legal-content {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin: 2rem 0;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.last-updated {
    font-style: italic;
    color: #666;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}