* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.15);
    border-bottom: 1px solid rgba(220, 20, 60, 0.2);
}

.navbar-toggler {
    border: 2px solid rgba(220, 20, 60, 0.5);
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    border-color: #dc143c;
    background: rgba(220, 20, 60, 0.15);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.3rem rgba(220, 20, 60, 0.4);
}

.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%28220, 20, 60, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    margin: 0 0.8rem;
    transition: all 0.3s ease;
    text-transform: capitalize;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

.nav-link:hover {
    color: #dc143c !important;
    background: rgba(220, 20, 60, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #dc143c !important;
    background: rgba(220, 20, 60, 0.15);
}

.btn-register {
    background: linear-gradient(135deg, #dc143c 0%, #b81032 100%);
    color: white;
    font-weight: 700;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-register:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.6);
    background: linear-gradient(135deg, #ff1744 0%, #dc143c 100%);
    color: white;
}

.btn-login {
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 0.8rem 2.2rem;
    border: 2px solid rgba(220, 20, 60, 0.6);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-right: 1rem;
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-login:hover {
    border-color: #dc143c;
    background: rgba(220, 20, 60, 0.15);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #dc143c 50%, #ff1744 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Live Banner */
.live-banner {
    background: linear-gradient(135deg, #dc143c 0%, #b81032 100%);
    padding: 1.2rem;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    animation: pulse-badge 2s infinite;
    font-size: 1.1rem;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #7ed321;
    border-radius: 50%;
    animation: blink 1.5s infinite;
    box-shadow: 0 0 10px #7ed321;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

/* Sports Categories */
.sports-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3.5rem;
    text-align: center;
    color: #ffffff;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #dc143c, transparent);
    border-radius: 2px;
}

.sport-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    border-radius: 25px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    border: 2px solid rgba(220, 20, 60, 0.2);
    text-align: center;
    cursor: pointer;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.sport-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #dc143c 0%, #ff1744 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.sport-card:hover::before {
    transform: scaleX(1);
}

.sport-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(220, 20, 60, 0.35);
    border-color: #dc143c;
    background: linear-gradient(135deg, rgba(26, 26, 46, 1) 0%, rgba(22, 33, 62, 1) 100%);
}

.sport-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: #dc143c;
    display: inline-block;
    transition: all 0.3s ease;
}

.sport-card:hover .sport-icon {
    transform: scale(1.2) rotate(5deg);
    color: #ff1744;
}

.sport-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.sport-events {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.sport-badge {
    display: inline-block;
    background: rgba(220, 20, 60, 0.25);
    color: #dc143c;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.8rem;
    border: 1px solid rgba(220, 20, 60, 0.4);
}

/* Matches Section */
.matches-section {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    padding: 5rem 0;
    position: relative;
}

.match-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(220, 20, 60, 0.2);
    transition: all 0.4s ease;
}

.match-card:hover {
    border-color: #dc143c;
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(26, 26, 46, 1) 0%, rgba(22, 33, 62, 1) 100%);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(220, 20, 60, 0.15);
}

.match-league {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
}

.match-league i {
    font-size: 1.3rem;
    color: #dc143c;
}

.match-time {
    color: #7ed321;
    font-weight: 700;
    font-size: 1rem;
    background: rgba(126, 211, 33, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(126, 211, 33, 0.3);
}

.match-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.match-teams {
    flex: 1;
}

.team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.team:hover {
    background: rgba(220, 20, 60, 0.05);
    padding-left: 1rem;
    border-radius: 10px;
}

.team-name {
    font-weight: 700;
    font-size: 1.2rem;
}

.team-score {
    font-size: 1.5rem;
    font-weight: 900;
    color: #dc143c;
    background: rgba(220, 20, 60, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    min-width: 50px;
    text-align: center;
}

.match-odds {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.odd-btn {
    background: rgba(220, 20, 60, 0.15);
    border: 2px solid rgba(220, 20, 60, 0.4);
    color: #dc143c;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 80px;
}

.odd-btn:hover {
    background: #dc143c;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
    border-color: #dc143c;
}

.odd-label {
    font-size: 0.8rem;
    opacity: 0.9;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.odd-value {
    font-size: 1.3rem;
    display: block;
    margin-top: 0.2rem;
}

/* Popular Leagues */
.leagues-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%);
}

.league-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(220, 20, 60, 0.2);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.4s ease;
    cursor: pointer;
}

.league-card:hover {
    border-color: #dc143c;
    transform: translateX(15px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
    background: linear-gradient(135deg, rgba(26, 26, 46, 1) 0%, rgba(22, 33, 62, 1) 100%);
}

.league-icon {
    font-size: 3.5rem;
    color: #dc143c;
    transition: all 0.3s ease;
}

.league-card:hover .league-icon {
    transform: scale(1.2) rotate(10deg);
    color: #ff1744;
}

.league-info {
    flex: 1;
}

.league-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.league-country {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.league-matches {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25) 0%, rgba(220, 20, 60, 0.15) 100%);
    color: #dc143c;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    white-space: nowrap;
    border: 2px solid rgba(220, 20, 60, 0.3);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #dc143c 0%, #b81032 50%, #8b0000 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.btn-cta {
    background: #ffffff;
    color: #dc143c;
    font-weight: 800;
    padding: 1.3rem 3.5rem;
    border-radius: 60px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
    background: #f0f0f0;
    color: #dc143c;
}

/* Footer */
.footer {
    background: #000000;
    padding: 4rem 0 2rem;
    border-top: 2px solid rgba(220, 20, 60, 0.3);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links li {
    display: block;
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #dc143c;
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    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 img {
        width: 60px;
    }

    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 15px;
        border: 1px solid rgba(220, 20, 60, 0.2);
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .nav-item {
        width: 100%;
        margin: 0.4rem 0 !important;
    }

    .nav-link {
        padding: 0.8rem 1.2rem !important;
        border-radius: 10px;
        margin: 0 !important;
        display: block;
    }

    .btn-register,
    .btn-login {
        width: 100%;
        text-align: center;
        margin: 0.6rem 0 !important;
        padding: 1rem 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .sport-icon {
        font-size: 4rem;
    }

    .sport-name {
        font-size: 1.4rem;
    }
}

/* Responsive - Mobile (≤ 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar-brand img {
        width: 55px;
    }

    .hero-section {
        padding: 3.5rem 0 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .sports-section,
    .matches-section,
    .leagues-section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .sport-card {
        padding: 2rem;
    }

    .sport-icon {
        font-size: 3.5rem;
    }

    .sport-name {
        font-size: 1.3rem;
    }

    .match-body {
        flex-direction: column;
        gap: 1.5rem;
    }

    .match-odds {
        width: 100%;
        justify-content: space-between;
    }

    .odd-btn {
        flex: 1;
    }

    .league-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cta-title {
        font-size: 2.3rem;
    }

    .cta-subtitle {
        font-size: 1.2rem;
    }
}

/* Responsive - Smartphones pequenos (≤ 576px) */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .sport-icon {
        font-size: 3rem;
    }

    .sport-name {
        font-size: 1.2rem;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-score {
        font-size: 1.3rem;
    }

    .odd-btn {
        min-width: 70px;
        padding: 0.6rem 0.9rem;
    }

    .odd-value {
        font-size: 1.1rem;
    }

    .cta-title {
        font-size: 1.9rem;
    }

    .btn-cta {
        padding: 1.1rem 2.5rem;
        font-size: 1rem;
    }
}

/* Responsive - Extra pequenos (≤ 400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .sport-icon {
        font-size: 2.5rem;
    }
}

.card-sport {
    margin-bottom: 2rem !important;
}