/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5f1a;
    --secondary-color: #2d8f2d;
    --accent-color: #FFC107;
    --gold-color: #FFD700;
    --dark-color: #0d3d0d;
    --light-color: #f8f9fa;
    --text-color: #2c3e50;
    --text-light: #5a6c7d;
    --white: #ffffff;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #1a5f1a 0%, #2d8f2d 50%, #3ba33b 100%);
    --gradient-gold: linear-gradient(135deg, #FFC107 0%, #FFD700 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 0;
}

.nav-list a:hover,
.nav-list a.active {
    opacity: 1;
    border-bottom: 3px solid var(--accent-color);
    font-weight: 600;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-image {
    margin-top: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

/* Page Hero */
.page-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--accent-color);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Results Section */
.results-section {
    background: var(--light-color);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.result-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.result-card:hover::before {
    transform: scaleX(1);
}

.result-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.result-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.result-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--dark-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    border: 2px solid transparent;
}

.btn:hover {
    background: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    border-color: var(--accent-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Game Info */
.game-info {
    background: var(--white);
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.info-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Groups Grid */
.groups-section {
    background: var(--light-color);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.group-item {
    background: var(--white);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid var(--border-color);
    position: relative;
}

.group-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 20px rgba(45, 143, 45, 0.2);
    border-color: var(--secondary-color);
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-color) 100%);
}

.group-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.group-item h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.group-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Betting Types */
.betting-types {
    background: var(--white);
}

.betting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.betting-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid var(--border-color);
    position: relative;
}

.betting-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--gradient-gold);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.betting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.betting-card:hover::after {
    opacity: 0.3;
}

.betting-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.betting-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.betting-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose */
.why-choose {
    background: var(--light-color);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reason-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.reason-item:hover {
    transform: translateY(-3px);
}

.reason-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.reason-item p {
    color: var(--text-light);
}

/* Content Section */
.content-section {
    padding: 3rem 0;
    background: var(--light-color);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.main-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.main-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.main-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.main-content h4 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.main-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.main-content ul,
.main-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.main-content li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.main-content dl {
    margin-bottom: 1rem;
}

.main-content dt {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 1rem;
}

.main-content dd {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 3px solid var(--accent-color);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--gradient-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list a:hover,
    .nav-list a.active {
        background: rgba(255, 255, 255, 0.1);
        border-bottom: 3px solid var(--accent-color);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title,
    .page-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle,
    .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .section-title::after {
        width: 60px;
    }

    .info-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .groups-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }

    .main-content {
        padding: 1.5rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .results-grid,
    .features-grid,
    .betting-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .result-card,
    .betting-card,
    .feature-card {
        padding: 1.25rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .page-hero {
        padding: 2rem 0;
    }

    section {
        padding: 2rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero,
    .page-hero {
        padding: 2rem 0;
    }

    .hero-title,
    .page-title {
        font-size: 1.5rem;
    }

    .hero-subtitle,
    .page-subtitle {
        font-size: 0.9rem;
    }

    section {
        padding: 1.5rem 0;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .groups-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .group-item {
        padding: 0.75rem;
    }

    .group-item img {
        height: 120px;
    }

    .result-card img,
    .betting-card img,
    .feature-card img {
        height: 180px;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 0.7rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .main-content {
        padding: 1.25rem;
    }

    .main-content h2 {
        font-size: 1.5rem;
    }

    .main-content h3 {
        font-size: 1.2rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }
}

/* Image Loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

img[loading="lazy"].loaded {
    opacity: 1;
    animation: none;
    background: transparent;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Touch optimization for mobile */
@media (hover: none) and (pointer: coarse) {
    .result-card:hover,
    .betting-card:hover,
    .group-item:hover,
    .feature-card:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.98);
    }
}
