/* Betmatch Casino - Main Stylesheet */

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

:root {
    --primary-color: #00ff87;
    --primary-dark: #00cc6e;
    --secondary-color: #1a1d2e;
    --dark-bg: #0f1218;
    --card-bg: #1a1d2e;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --accent-purple: #7b2cbf;
    --accent-blue: #4361ee;
    --gradient-primary: linear-gradient(135deg, #00ff87 0%, #60efff 100%);
    --gradient-dark: linear-gradient(180deg, #1a1d2e 0%, #0f1218 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

/* Header Styles */
.header {
    background: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 135, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* SEO Text Blocks */
.seo-content {
    max-width: 900px;
    margin: 0 auto 60px;
}

.seo-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 40px;
}

.seo-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--primary-color);
}

.seo-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.seo-content ul, .seo-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.seo-content li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Image Blocks */
.image-block {
    margin: 60px 0;
    text-align: center;
}

.image-block img {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.image-block-caption {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 15px;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
    margin: 60px 0;
    border-radius: 20px;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    color: var(--dark-bg);
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .cta-button {
    background: var(--dark-bg);
    color: var(--primary-color);
    font-size: 18px;
    padding: 15px 40px;
}

.cta-section .cta-button:hover {
    box-shadow: 0 5px 20px rgba(15, 18, 24, 0.5);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

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

.footer-section ul li a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-section p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-disclaimer {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 14px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    font-size: 14px;
}

.breadcrumbs-list {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumbs-list li {
    color: var(--text-secondary);
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--text-secondary);
}

.breadcrumbs-list li a {
    color: var(--text-secondary);
}

.breadcrumbs-list li a:hover {
    color: var(--primary-color);
}

.breadcrumbs-list li:last-child {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 30px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .section-title {
        font-size: 28px;
    }

    .seo-content h2 {
        font-size: 26px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.bg-dark {
    background: var(--secondary-color);
}

/* Footer Trust & Payment Badges */
.footer-badges {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.footer-badges-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-align: center;
}

.footer-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 18px;
    transition: border-color 0.3s ease, background 0.3s ease;
    text-decoration: none;
    min-width: 80px;
    min-height: 48px;
}

.footer-badge-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 255, 135, 0.3);
}

.footer-badge-item svg,
.footer-badge-item img {
    height: 28px;
    width: auto;
    display: block;
    margin: 0;
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}

.footer-badge-item:hover svg,
.footer-badge-item:hover img {
    filter: brightness(1);
}

.footer-age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Social Icons */
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    width: 100%;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    overflow: hidden;
    flex-shrink: 0;
}

.footer-social-link:hover {
    background: rgba(0, 255, 135, 0.12);
    border-color: rgba(0, 255, 135, 0.4);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 640px) {
    .footer-badges-row {
        gap: 8px;
        justify-content: center;
    }
    .footer-badge-item {
        padding: 8px 12px;
        min-width: 64px;
        min-height: 42px;
    }
    .footer-badge-item svg,
    .footer-badge-item img {
        height: 22px;
    }
    .footer-social {
        justify-content: center;
    }
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(0, 255, 135, 0.2);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

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

.feature-card a:hover {
    text-decoration: underline;
}
