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

:root {
    --beige-light: #f8f6f2;
    --beige-medium: #f0ede6;
    --beige-dark: #e8e4db;
    --charcoal: #2c3e50;
    --charcoal-light: #34495e;
    --charcoal-dark: #1a252f;
    --gold: #d4af37;
    --gold-muted: #b8941f;
    --gold-light: #f4e4a6;
    --white: #ffffff;
    --shadow: rgba(44, 62, 80, 0.1);
    --shadow-hover: rgba(44, 62, 80, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--beige-light);
    overflow-x: hidden;
}

.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;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--charcoal);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-muted));
    border-radius: 2px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}



.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0;
    background: linear-gradient(135deg, var(--charcoal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.play-now-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-muted));
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.play-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Banner */
.banner {
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--beige-medium) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.banner .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-content {
    max-width: 500px;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.banner-subtitle {
    font-size: 1.3rem;
    color: var(--charcoal-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-muted));
    color: var(--white);
    border: none;
    padding: 18px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.banner-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card, .floating-dice, .floating-chip {
    position: absolute;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    width: 80px;
    height: 120px;
    top: 20%;
    right: 20%;
    background: linear-gradient(135deg, var(--beige-medium), var(--white));
    animation-delay: 0s;
}

.floating-dice {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 40%;
    background: linear-gradient(135deg, var(--gold-light), var(--white));
    animation-delay: 2s;
}

.floating-chip {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    top: 30%;
    right: 60%;
    background: linear-gradient(135deg, var(--charcoal-light), var(--charcoal));
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Sections */
section {
    padding: 80px 0;
}

.about {
    background: var(--white);
}

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

.about-content p {
    font-size: 1.1rem;
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Games Section */
.games {
    background: var(--beige-light);
}

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

.game-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border-color: var(--gold);
}

.game-image {
    width: 100%;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: var(--beige-medium);
}

.game-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-preview {
    transform: scale(1.1);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.game-card p {
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.play-btn {
    background: linear-gradient(135deg, var(--charcoal), var(--charcoal-light));
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.play-btn:hover {
    background: linear-gradient(135deg, var(--charcoal-light), var(--charcoal));
    transform: translateY(-2px);
    color: var(--white);
}

/* How to Start */
.how-to-start {
    background: var(--white);
}

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

.step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-muted));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.step p {
    color: var(--charcoal-light);
    line-height: 1.6;
}

/* Why Players Love Us */
.why-love-us {
    background: var(--beige-light);
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--gold);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--beige-medium), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--charcoal);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.feature-card p {
    color: var(--charcoal-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--beige-light);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--beige-medium);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--charcoal);
}

.faq-question i {
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--charcoal-light);
    line-height: 1.6;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: var(--charcoal-dark);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-disclaimer p {
    margin-bottom: 0.5rem;
    color: var(--beige-light);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--beige-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
}



/* Responsive Design */
@media (max-width: 768px) {
    .banner .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps-container,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-elements {
        display: none;
    }
    

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner {
        padding: 100px 0 60px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .game-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    

}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.game-card,
.feature-card,
.step {
    animation: fadeInUp 0.6s ease-out;
}

.game-card:nth-child(2) {
    animation-delay: 0.2s;
}

.game-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.3s;
}

.step:nth-child(2) {
    animation-delay: 0.1s;
}

.step:nth-child(3) {
    animation-delay: 0.2s;
}

.step:nth-child(4) {
    animation-delay: 0.3s;
}

/* Hover effects for interactive elements */
.game-card:hover .game-image,
.feature-card:hover .feature-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}



/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--beige-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-muted);
}

/* Enhanced animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

/* Enhanced button states */
.cta-btn:active,
.play-now-btn:active {
    transform: translateY(0) scale(0.98);
}







/* Focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Enhanced modal animations */
.game-modal {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Floating elements enhanced */
.floating-card::before,
.floating-dice::before,
.floating-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(1px);
    opacity: 0.3;
    z-index: -1;
}
