/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-width: 320px;
}

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

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

ul {
    list-style: none;
}

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

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

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Buttons */
.cta-button, .secondary-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3);
}

.secondary-button {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.cta-button:hover, .secondary-button:hover {
    transform: translateY(-2px);
}

.cta-button:active, .secondary-button:active {
    transform: translateY(1px);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

.cta-container {
    text-align: center;
    margin: 2rem 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-primary);
    box-shadow: 0 2px 10px var(--shadow);
    padding: 1rem 0;
}

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

.logo {
    flex-shrink: 0;
}

.logo-svg {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-list a {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

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

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.login-button {
    background-color: #ff0000;
    border: 1px solid var(--accent-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    color: white;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-nav-container {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--bg-primary);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav-container.active {
    transform: translateX(0);
}

.mobile-nav {
    padding: 2rem;
}

.mobile-nav .nav-list {
    flex-direction: column;
    gap: 1.5rem;
}

.desktop-nav {
    display: flex;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta {
    margin-bottom: 2rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    color: var(--accent-primary);
}

.hero-image {
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

/* Games Section */
.games-section {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

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

.game-card {
    background-color: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

.game-image {
    width: 100%;
    height: 200px;
    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.1);
}

.game-title {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.25rem;
}

.game-description {
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
}

.game-feature {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.games-content {
    margin-top: 3rem;
}

.games-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

/* Payments Section */
.payments-section {
    padding: 4rem 0;
}

.payments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.payment-methods h3, .payment-info h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.payment-icon svg {
    width: 48px;
    height: 48px;
}

.crypto-icon {
    animation: float 3s ease-in-out infinite;
}

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

.payment-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.payment-table th, .payment-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.payment-table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
}

.payment-table tr:hover {
    background-color: var(--bg-secondary);
}

.payments-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

/* Security Section */
.security-section {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

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

.security-item {
    background-color: var(--bg-primary);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.security-item:hover {
    transform: translateY(-5px);
}

.security-icon {
    margin-bottom: 1rem;
}

.security-icon svg {
    width: 64px;
    height: 64px;
    color: var(--accent-primary);
}

.security-item h3 {
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.security-certificates {
    margin-bottom: 3rem;
}

.security-certificates h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.certificates-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.certificate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.certificate-item img {
    border-radius: 4px;
    box-shadow: 0 5px 15px var(--shadow);
}

.security-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

/* Loyalty Section */
.loyalty-section {
    padding: 4rem 0;
}

.loyalty-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    position: relative;
    margin: 0 auto;
    max-width: 800px;
}

.progress-levels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.level-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.level-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.level-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-track {
    height: 10px;
    background-color: var(--bg-secondary);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-primary);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.loyalty-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tier-card {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-5px);
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tier-title {
    margin-bottom: 0;
    color: var(--accent-primary);
}

.tier-icon svg {
    width: 48px;
    height: 48px;
}

.tier-benefits ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.tier-benefits li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.vip-tier {
    background: linear-gradient(135deg, var(--bg-secondary), rgba(255, 107, 0, 0.1));
    border: 2px solid var(--accent-primary);
}

.loyalty-calculator {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.loyalty-calculator h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.calculator-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.calculator-result {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.calculator-result span {
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.loyalty-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

/* Support Section */
.support-section {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.support-contact h3, .support-faq h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-primary);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-icon svg {
    width: 48px;
    height: 48px;
    color: var(--accent-primary);
}

.contact-info h4 {
    margin-bottom: 0.25rem;
    color: var(--accent-primary);
}

.contact-info p {
    margin-bottom: 0.25rem;
}

.contact-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-form {
    background-color: var(--bg-primary);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.support-form .form-group {
    margin-bottom: 1.5rem;
}

.support-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.support-form input, .support-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.support-form button {
    width: 100%;
}

.faq-accordion {
    background-color: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

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

.faq-item:last-child {
    border-bottom: none;
}

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

.faq-question:hover {
    background-color: var(--bg-secondary);
}

.faq-question h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

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

.responsible-gaming {
    text-align: center;
    margin-bottom: 2rem;
}

.responsible-gaming h3 {
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.responsible-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Mobile Section */
.mobile-section {
    padding: 4rem 0;
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.mobile-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.mobile-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.mockup-slider {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.mockup-slide {
    flex: 0 0 auto;
    max-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.qr-code img {
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
}

.comparison-table {
    margin-top: 3rem;
}

.comparison-table h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
}

.comparison-table tr:hover {
    background-color: var(--bg-secondary);
}

/* Footer */
.site-footer {
    background-color: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

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

.footer-column h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-logo {
    flex-shrink: 0;
}

.footer-certificates {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-primary);
}

.footer-social a:hover svg path {
    stroke: white;
}

.footer-disclaimer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-primary);
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 1rem 0;
}

/* Media Queries */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .hero-content {
        text-align: left;
        margin-right: 2rem;
        margin-bottom: 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-features {
        justify-content: flex-start;
    }
    
    .payments-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .mobile-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .mobile-nav-container {
        display: block;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .mockup-slider {
        flex-direction: column;
        align-items: center;
    }
}