/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b00;
    --primary-dark: #e55e00;
    --secondary-color: #2d2d2d;
    --accent-color: #ffcc00;
    --text-color: #333333;
    --text-light: #ffffff;
    --text-muted: #777777;
    --bg-light: #f8f8f8;
    --bg-dark: #1a1a1a;
    --bg-gradient: linear-gradient(135deg, #ff6b00, #ff9a44);
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

/* Skip navigation for accessibility */
.skip-nav {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-nav__button:focus {
    position: fixed;
    left: 10px;
    top: 10px;
    padding: 10px 15px;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    outline: none;
    border-radius: var(--radius);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

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

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

.btn-secondary:hover {
    background-color: #3a3a3a;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* Pulse animation for CTA buttons */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(255, 107, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
    }
}

/* Header styles */
.main-header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo a {
    color: var(--primary-color);
}

.main-nav {
    margin-left: auto;
    margin-right: 20px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin: 0 12px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
}

/* Hero section */
.hero-section {
    background: var(--bg-gradient);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="rgba(255, 255, 255, 0.1)"/></svg>');
    opacity: 0.7;
}

.hero-section .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 0 0 45%;
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-15deg);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-section .description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Features section */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-muted);
}

/* How to play section */
.how-to-play {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step-item:not(:last-child):before {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    height: calc(100% - 60px);
    width: 2px;
    background-color: var(--border-color);
    z-index: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.step-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.step-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 100%;
}

.cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Prizes section */
.prizes-section {
    background-color: white;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.prize-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.prize-card.featured {
    background: var(--bg-gradient);
    color: white;
    transform: translateY(-10px) scale(1.05);
    z-index: 1;
}

.prize-card.featured:hover {
    transform: translateY(-15px) scale(1.05);
}

.prize-card.featured .prize-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.prize-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.prize-card.featured .prize-tag {
    background-color: white;
    color: var(--primary-color);
}

.prize-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.prize-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.prize-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.prize-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Testimonials section */
.testimonials-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    position: relative;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 100px;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-content p {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-stars {
    color: var(--accent-color);
}

/* FAQ section */
.faq-section {
    background-color: white;
}

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.faq-question {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-answer {
    padding-bottom: 20px;
    display: none;
}

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

.faq-item.active .faq-answer {
    display: block;
}

/* CTA section */
.cta-section {
    background: var(--bg-gradient);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.cta-section .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.timer-container {
    flex: 0 0 40%;
    text-align: center;
}

.timer-label {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.timer-item {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    padding: 15px 10px;
    min-width: 80px;
}

.timer-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.timer-unit {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Footer styles */
.main-footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-column p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.responsible-gaming-icons {
    display: flex;
    gap: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-content .description {
        margin: 0 auto 30px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .features-grid, 
    .prizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section .container {
        flex-direction: column;
    }
    
    .cta-content {
        text-align: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .subtitle {
        font-size: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .features-grid,
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    
    .user-actions {
        display: none;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .step-item:not(:last-child):before {
        display: none;
    }
    
    .timer {
        flex-wrap: wrap;
        justify-content: center;
    }
}
