* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: #000000;
    padding: 1rem 0;
    box-shadow: none;
}


.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    border-color: #dc143c;
    background: rgba(220, 20, 60, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 20, 60, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #dc143c !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #dc143c !important;
}

.btn-register {
    background: linear-gradient(135deg, #7ed321 0%, #5fb800 100%);
    color: white;
    font-weight: 700;
    padding: 0.7rem 2rem;
    border-radius: 8px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(126, 211, 33, 0.3);
    display: inline-block;
    text-decoration: none;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(126, 211, 33, 0.5);
    background: linear-gradient(135deg, #8fe432 0%, #6fc910 100%);
    color: white;
}

.btn-login {
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 0.7rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-right: 1rem;
    display: inline-block;
    text-decoration: none;
}

.btn-login:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0a1f 100%);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::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"><rect width="100" height="100" fill="%23000000" opacity="0.3"/><circle cx="50" cy="50" r="30" fill="%23dc143c" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #dc143c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

/* Live Banner */
.live-banner {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #7ed321;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Sports Categories */
.sports-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    color: #ffffff;
}

.sport-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    cursor: pointer;
    height: 100%;
}

.sport-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(220, 20, 60, 0.3);
    border-color: #dc143c;
}

.sport-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #7ed321;
    display: inline-block;
}

.sport-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.sport-events {
    color: #888888;
    font-size: 0.9rem;
}

.sport-badge {
    display: inline-block;
    background: rgba(220, 20, 60, 0.2);
    color: #dc143c;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Matches Section */
.matches-section {
    background: #0a0a0a;
    padding: 4rem 0;
}

.match-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.match-card:hover {
    border-color: #dc143c;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
    transform: translateX(5px);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.match-league {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888888;
    font-size: 0.9rem;
}

.match-time {
    color: #7ed321;
    font-weight: 600;
    font-size: 0.9rem;
}

.match-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.match-teams {
    flex: 1;
}

.team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.team-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.team-score {
    font-size: 1.3rem;
    font-weight: 800;
    color: #7ed321;
}

.match-odds {
    display: flex;
    gap: 0.5rem;
}

.odd-btn {
    background: rgba(126, 211, 33, 0.1);
    border: 1px solid #7ed321;
    color: #7ed321;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 70px;
}

.odd-btn:hover {
    background: #7ed321;
    color: #000000;
    transform: scale(1.05);
}

.odd-label {
    font-size: 0.75rem;
    opacity: 0.8;
    display: block;
}

.odd-value {
    font-size: 1.2rem;
    display: block;
}

/* Popular Leagues */
.leagues-section {
    padding: 4rem 0;
}

.league-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.league-card:hover {
    border-color: #dc143c;
    transform: translateX(5px);
}

.league-icon {
    font-size: 3rem;
    color: #dc143c;
}

.league-info {
    flex: 1;
}

.league-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.league-country {
    color: #888888;
    font-size: 0.9rem;
}

.league-matches {
    background: rgba(220, 20, 60, 0.2);
    color: #dc143c;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta {
    background: #ffffff;
    color: #dc143c;
    font-weight: 800;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    background: #7ed321;
    color: #ffffff;
}

/* Footer */
.footer {
    background: #000000;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: #888888;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li {
    display: block;
    margin: 0;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #dc143c;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* Responsive - Tablets (≤ 991px) */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.5rem;
        padding: 0.4rem 1.2rem;
    }

    .navbar-collapse {
        background: #0a0a0a;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .nav-item {
        width: 100%;
        margin: 0.3rem 0 !important;
    }

    .nav-link {
        padding: 0.7rem 1rem;
        border-radius: 6px;
        margin: 0 !important;
        display: block;
    }

    .nav-link:hover {
        background: rgba(220, 20, 60, 0.1);
        transform: translateX(5px);
    }

    .btn-register,
    .btn-login {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0 !important;
        padding: 0.8rem 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .sport-icon {
        font-size: 3.5rem;
    }

    .sport-name {
        font-size: 1.3rem;
    }
}

/* Responsive - Mobile (≤ 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .navbar-brand {
        font-size: 1.3rem;
        padding: 0.4rem 1rem;
    }

    .hero-section {
        padding: 3rem 0 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .sports-section,
    .matches-section,
    .leagues-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .sport-card {
        padding: 1.5rem;
    }

    .sport-icon {
        font-size: 3rem;
    }

    .sport-name {
        font-size: 1.2rem;
    }

    .match-body {
        flex-direction: column;
        gap: 1rem;
    }

    .match-odds {
        width: 100%;
        justify-content: space-between;
    }

    .odd-btn {
        flex: 1;
    }

    .league-card {
        flex-direction: column;
        text-align: center;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }
}

/* Responsive - Smartphones pequenos (≤ 576px) */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.1rem;
        padding: 0.3rem 0.8rem;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .sport-icon {
        font-size: 2.5rem;
    }

    .sport-name {
        font-size: 1.1rem;
    }

    .team-name {
        font-size: 1rem;
    }

    .team-score {
        font-size: 1.1rem;
    }

    .odd-btn {
        min-width: 60px;
        padding: 0.4rem 0.7rem;
    }

    .odd-value {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .btn-cta {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* Responsive - Extra pequenos (≤ 400px) */
@media (max-width: 400px) {
    .navbar-brand {
        font-size: 1rem;
        padding: 0.3rem 0.6rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
}

.card-sport {
    margin-bottom: 2rem !important;
}