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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h1 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

.nav-logo .tagline {
    color: #dbeafe;
    font-size: 0.8rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Age Warning */
.age-warning {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    text-align: center;
    padding: 0.8rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #dbeafe;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-banner {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-banner p {
    font-size: 1.1rem;
    margin: 0;
    color: #ffffff;
}

/* Game Demo Section */
.game-demo {
    padding: 4rem 0;
    background: #ffffff;
}

.game-demo h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.demo-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.game-screen {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 3px solid #d1d5db;
}

.slot-machine {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.slot-reel {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid #d1d5db;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.game-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.game-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.game-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.card-game {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.playing-card {
    width: 50px;
    height: 70px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.game-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.virtual-coins {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    background: #d1fae5;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

/* Demo Controls */
.demo-controls {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #d1d5db;
}

.add-coins-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.add-coins-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.demo-note {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

/* Entertainment Notice */
.entertainment-notice {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.entertainment-notice h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.entertainment-notice ul {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.entertainment-notice li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #f8fafc;
}

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

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

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
    font-size: 1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #dbeafe;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    gap: 3rem;
}

.about-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.about-section.full-width {
    grid-column: 1 / -1;
}

.about-section h2 {
    color: #1f2937;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-section h3 {
    color: #3b82f6;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.highlight-box {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.highlight-box.warning {
    background: #fef3c7;
    border-left-color: #f59e0b;
}

.highlight-box.error {
    background: #fecaca;
    border-left-color: #dc2626;
}

.features-list {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.disclaimer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.disclaimer-item {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.responsibility-list {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
}

/* Contact Page Styles */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-item {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.contact-item h3 {
    color: #1f2937;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.important-notice {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.help-resources {
    background: #ecfdf5;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.help-resources ul {
    margin: 1rem 0;
}

.help-resources a {
    color: #059669;
    font-weight: 500;
}

/* Contact Form */
.contact-form-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group small {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
}

.submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.form-disclaimer {
    text-align: center;
    color: #6b7280;
    margin-top: 1rem;
}

/* Legal Pages */
.legal-content {
    padding: 2rem 0 4rem;
}

.last-updated {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-sections {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.legal-section {
    padding: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: #1f2937;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.legal-section h3 {
    color: #3b82f6;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin: 0.5rem 0;
}

.final-disclaimer {
    margin-top: 3rem;
}

/* Responsible Gaming Styles */
.responsible-content {
    padding: 4rem 0;
}

.important-notice {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 3rem;
}

.rg-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.rg-section.full-width {
    grid-column: 1 / -1;
}

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

.guideline-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.guideline-item h3 {
    color: #1f2937;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.org-card {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.org-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.org-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #d1d5db;
}

.org-header h3 {
    color: #1f2937;
    font-size: 1.3rem;
    margin: 0;
}

.org-location {
    background: #3b82f6;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.org-info p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.org-info a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

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

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

.help-region {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 12px;
}

.help-region h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.help-region ul {
    list-style: none;
    padding: 0;
}

.help-region li {
    margin: 0.5rem 0;
}

.help-region a {
    color: #3b82f6;
    text-decoration: none;
}

.help-region a:hover {
    text-decoration: underline;
}

.self-assessment {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
}

.assessment-list {
    margin: 1rem 0;
}

.assessment-note {
    background: #dc2626;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.final-message {
    margin-top: 3rem;
}

.commitment-box {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
}

/* Cookie Policy Styles */
.cookie-purposes,
.cookie-types {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.purpose-item,
.cookie-type {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.third-party-list {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.third-party-item {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 12px;
}

.cookie-management {
    background: #ecfdf5;
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.warning-box {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

.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: #ffffff;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.gambling-orgs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.org-logo {
    display: block;
    background: #374151;
    color: #ffffff;
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.org-logo:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.help-text {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-top: 1rem;
}

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

.disclaimer-footer {
    background: #dc2626;
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1e3a8a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .demo-games {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gambling-orgs {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
    
    .help-organizations {
        grid-template-columns: 1fr;
    }
    
    .disclaimer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .game-demo,
    .features,
    .about-content,
    .contact-content,
    .responsible-content {
        padding: 3rem 0;
    }
    
    .game-card,
    .feature-card,
    .about-section,
    .contact-info,
    .contact-form-section,
    .rg-section {
        padding: 1.5rem;
    }
    
    .slot-machine {
        gap: 0.5rem;
    }
    
    .slot-reel {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .playing-card {
        width: 40px;
        height: 60px;
        font-size: 0.8rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hamburger {
        display: none;
    }
    
    .hero {
        background: #f3f4f6 !important;
        color: #000 !important;
    }
    
    .age-warning,
    .disclaimer-banner {
        background: #f3f4f6 !important;
        color: #000 !important;
        border: 2px solid #000 !important;
    }
}