/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a237e;
    --secondary-color: #ffd700;
    --accent-color: #00bcd4;
    --dark-bg: #0d1117;
    --darker-bg: #06090f;
    --light-text: #ffffff;
    --gray-text: #b0b0b0;
    --card-bg: #161b22;
    --border-color: #30363d;
    --hover-color: #2563eb;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
.header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--darker-bg) 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.hero-image {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card,
.sport-card,
.game-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover,
.sport-card:hover,
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--secondary-color);
}

.feature-image,
.sport-card img,
.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-card h3,
.sport-card h3,
.game-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p,
.sport-card p,
.game-card p {
    color: var(--gray-text);
    line-height: 1.6;
}

/* Sports Section */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Terms Section */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.term-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    border: 1px solid var(--border-color);
}

.term-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.term-card p {
    color: var(--gray-text);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--darker-bg) 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--gray-text);
}

/* Content Section */
.content-section {
    padding: 3rem 0;
}

.content-image {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.content-section h2 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.content-section p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Bet Types */
.bet-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.bet-type-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.bet-type-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.bet-type-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.bet-type-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Markets */
.markets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.market-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    border: 1px solid var(--border-color);
}

.market-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.market-item p {
    color: var(--gray-text);
    font-size: 0.95rem;
}

/* Sports List */
.sports-list {
    margin: 2rem 0;
}

.sport-item {
    display: flex;
    gap: 2rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    align-items: center;
}

.sport-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.sport-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.sport-item p {
    color: var(--gray-text);
}

/* Live Features */
.live-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.live-feature {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.live-feature img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.live-feature h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Casino Games */
.casino-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Live Casino */
.live-casino {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.live-game {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.live-game img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.live-game h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Casino Terms */
.casino-terms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.term-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    border: 1px solid var(--border-color);
}

.term-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Values */
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.value-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Features List */
.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 1rem;
    background: var(--card-bg);
    margin-bottom: 0.5rem;
    border-radius: 5px;
    border-left: 4px solid var(--secondary-color);
    border: 1px solid var(--border-color);
}

.features-list strong {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
}

/* Bing Images */
.bing-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    max-width: 100%;
}

/* Image optimization for mobile */
@media (max-width: 768px) {
    .bing-img {
        height: auto;
        min-height: 150px;
        object-fit: cover;
    }

    .feature-image img,
    .sport-card img,
    .game-card img {
        height: 180px;
    }

    .live-feature img,
    .live-game img {
        height: 150px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--darker-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.5rem 0;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-image {
        margin: 1.5rem 0;
    }

    .hero-image img {
        max-height: 250px;
    }

    .section-title {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .features-grid,
    .sports-grid,
    .terms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sport-item {
        flex-direction: column;
        text-align: center;
    }

    .sport-item img {
        width: 100%;
        height: auto;
    }

    .bet-types,
    .markets,
    .casino-games,
    .live-casino,
    .casino-terms,
    .live-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .market-item,
    .term-item {
        padding: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .page-header p {
        padding: 0 1rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .content-section h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .content-section p {
        padding: 0 1rem;
    }

    .content-image {
        margin: 1.5rem 0;
    }

    .content-image img {
        max-height: 250px;
    }

    .values {
        grid-template-columns: 1fr;
    }

    .features-list {
        padding: 0 1rem;
    }

    .features-list li {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 90%;
        max-width: 300px;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .feature-card,
    .sport-card,
    .game-card {
        padding: 1.2rem;
    }

    .feature-card h3,
    .sport-card h3,
    .game-card h3 {
        font-size: 1.1rem;
    }

    .term-card {
        padding: 1.2rem;
    }

    .term-card h3 {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .terms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bet-types,
    .markets {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Loading Animation */
.bing-img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
