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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #1a1f2e;
    color: #ffffff;
    line-height: 1.6;
}

/* Top Header */
.top-header {
    background: linear-gradient(135deg, #0d1421 0%, #1a2332 100%);
    border-bottom: 2px solid #2a3441;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo-img {
    max-height: 50px;
    width: auto;
    display: inline-block;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

.main-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
}

.main-nav a:hover {
    color: #4fc3f7;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-login,
.btn-register {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #4fc3f7;
}

.btn-login:hover {
    background-color: #4fc3f7;
    color: #1a1f2e;
}

.btn-register {
    background-color: #ffd700;
    color: #1a1f2e;
}

.btn-register:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.datetime {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: #b0bec5;
}

/* Secondary Navigation */
.secondary-nav {
    background-color: #252b3a;
    border-bottom: 1px solid #2a3441;
    padding: 10px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-container a {
    color: #b0bec5;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.nav-container a:hover {
    color: #4fc3f7;
}

/* Main Wrapper */
.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 250px 1fr 320px;
    gap: 20px;
}

/* Left Sidebar */
.left-sidebar {
    background-color: #1e2430;
    border-radius: 8px;
    padding: 15px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.search-box {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 10px;
    background-color: #252b3a;
    border: 1px solid #2a3441;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
}

.search-input::placeholder {
    color: #6b7a8a;
}

.sidebar-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.special-list,
.featured-list {
    list-style: none;
}

.special-list li,
.featured-list li {
    margin-bottom: 8px;
}

.special-list a,
.featured-list a {
    color: #b0bec5;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    transition: color 0.3s;
}

.special-list a:hover,
.featured-list a:hover {
    color: #4fc3f7;
}

.icon {
    color: #ffd700;
    font-size: 16px;
}

.sport-icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    min-height: 600px;
}

.featured-matches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.match-card {
    background: linear-gradient(135deg, #252b3a 0%, #1e2430 100%);
    border: 1px solid #2a3441;
    border-radius: 8px;
    padding: 15px;
}

.match-card.featured {
    border-left: 4px solid #4fc3f7;
}

.match-card.odds-rocket {
    border-left: 4px solid #ffd700;
    background: linear-gradient(135deg, #2a2f1e 0%, #252b3a 100%);
}

.match-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    color: #b0bec5;
}

.rocket-label {
    color: #ffd700;
    font-weight: 600;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.team-name {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.odds {
    background-color: #1a1f2e;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    color: #4fc3f7;
    cursor: pointer;
    transition: all 0.3s;
}

.odds:hover {
    background-color: #4fc3f7;
    color: #1a1f2e;
    transform: scale(1.05);
}

.vs {
    color: #6b7a8a;
    font-size: 12px;
}

.bet-type {
    font-size: 12px;
    color: #b0bec5;
    text-align: center;
}

.odds-range {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #ffd700;
    margin-top: 10px;
}

/* Match Listings */
.match-listings {
    background-color: #1e2430;
    border-radius: 8px;
    padding: 20px;
}

.list-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #2a3441;
}

.tab {
    background: none;
    border: none;
    color: #b0bec5;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.tab.active {
    color: #4fc3f7;
    border-bottom-color: #4fc3f7;
}

.tab:hover {
    color: #4fc3f7;
}

.sport-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-btn {
    background-color: #252b3a;
    border: 1px solid #2a3441;
    color: #b0bec5;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background-color: #4fc3f7;
    color: #1a1f2e;
    border-color: #4fc3f7;
}

.filter-btn:hover {
    background-color: #2a3441;
}

.matches-container {
    margin-bottom: 20px;
}

.league-group {
    margin-bottom: 25px;
}

.league-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #252b3a;
    border-left: 3px solid #ffd700;
}

.match-row {
    background-color: #252b3a;
    border: 1px solid #2a3441;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    transition: all 0.3s;
}

.match-row:hover {
    background-color: #2a3441;
    border-color: #4fc3f7;
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.match-teams-row {
    font-size: 13px;
    font-weight: 500;
}

.match-time {
    font-size: 11px;
    color: #6b7a8a;
}

.bet-options {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.bet-option {
    background-color: #1a1f2e;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #4fc3f7;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 45px;
    text-align: center;
}

.bet-option:hover {
    background-color: #4fc3f7;
    color: #1a1f2e;
    transform: scale(1.05);
}

.more-options {
    color: #ffd700;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
}

.more-options:hover {
    text-decoration: underline;
}

.btn-more {
    width: 100%;
    padding: 12px;
    background-color: #252b3a;
    border: 1px solid #4fc3f7;
    color: #4fc3f7;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-more:hover {
    background-color: #4fc3f7;
    color: #1a1f2e;
}

/* Right Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.betting-slip {
    background-color: #1e2430;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #2a3441;
}

.slip-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #2a3441;
}

.slip-tab {
    background: none;
    border: none;
    color: #b0bec5;
    padding: 8px 15px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.slip-tab.active {
    color: #4fc3f7;
    border-bottom-color: #4fc3f7;
}

.slip-content {
    text-align: center;
    padding: 20px 0;
}

.empty-slip {
    color: #6b7a8a;
    font-size: 14px;
    margin-bottom: 10px;
}

.register-prompt {
    color: #b0bec5;
    font-size: 12px;
}

.outright-section {
    background-color: #1e2430;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #2a3441;
}

.outright-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a3441;
}

.outright-title {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
}

.outright-date {
    font-size: 11px;
    color: #6b7a8a;
}

.outright-list {
    list-style: none;
    margin-bottom: 15px;
}

.outright-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #2a3441;
}

.competitor {
    font-size: 13px;
    color: #b0bec5;
}

.btn-see-more {
    width: 100%;
    padding: 10px;
    background-color: #252b3a;
    border: 1px solid #4fc3f7;
    color: #4fc3f7;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-see-more:hover {
    background-color: #4fc3f7;
    color: #1a1f2e;
}

.disclaimer {
    background-color: #2a1f1e;
    border: 1px solid #4a2f2e;
    border-radius: 8px;
    padding: 12px;
    font-size: 11px;
    color: #ffb74d;
    text-align: center;
}

.bet-builder {
    background-color: #1e2430;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #2a3441;
}

.bet-builder h4 {
    font-size: 14px;
    color: #ffd700;
    margin-bottom: 12px;
}

.builder-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background-color: #252b3a;
    border-radius: 4px;
    font-size: 12px;
}

.builder-bet {
    color: #4fc3f7;
    font-weight: 600;
}

.builder-type,
.builder-match,
.builder-player {
    color: #b0bec5;
    font-size: 11px;
}

/* Footer */
.footer {
    background-color: #0d1421;
    border-top: 2px solid #2a3441;
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a3441;
}

.footer-links a {
    color: #4fc3f7;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.footer-link-disabled {
    color: #6b7a8a;
    font-size: 12px;
    cursor: not-allowed;
}

.footer-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a3441;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #ffd700;
}

.footer-logo-img {
    max-height: 40px;
    width: auto;
    display: block;
    margin-bottom: 10px;
}

.cert-logo-img {
    max-height: 30px;
    width: auto;
    margin: 0 5px;
}

.age-icon-img {
    width: 40px;
    height: 40px;
}

.certifications {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.cert-text {
    font-size: 10px;
    color: #6b7a8a;
}

.cert-logos {
    display: flex;
    gap: 15px;
}

.cert-logo {
    font-size: 11px;
    color: #b0bec5;
    padding: 5px 10px;
    background-color: #252b3a;
    border-radius: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.responsible-gaming {
    display: flex;
    align-items: center;
    gap: 15px;
}

.age-icon {
    width: 40px;
    height: 40px;
    background-color: #ffd700;
    color: #1a1f2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.responsible-gaming p {
    font-size: 12px;
    color: #b0bec5;
}

.social-media {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background-color: #252b3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4fc3f7;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #4fc3f7;
    color: #1a1f2e;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a3441;
}

.copyright p {
    font-size: 11px;
    color: #6b7a8a;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    background-color: #1e2430;
    margin: 5% auto;
    padding: 30px;
    border: 2px solid #4fc3f7;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #b0bec5;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
}

.close:hover {
    color: #ffffff;
}

.modal-content h2 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #b0bec5;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"] {
    width: 100%;
    padding: 12px;
    background-color: #252b3a;
    border: 1px solid #2a3441;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #4fc3f7;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 12px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #ffd700;
    color: #1a1f2e;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-wrapper {
        grid-template-columns: 220px 1fr 280px;
        gap: 15px;
    }
    
    .featured-matches {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .left-sidebar {
        position: static;
        order: 3;
    }

    .right-sidebar {
        order: 2;
    }

    .main-content {
        order: 1;
    }

    .featured-matches {
        grid-template-columns: 1fr;
    }

    .match-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .match-info {
        margin-bottom: 10px;
    }

    .bet-options {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .bet-option {
        flex: 0 0 auto;
    }
    
    .more-options {
        text-align: left;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    
    .main-nav a {
        font-size: 12px;
        padding: 5px 8px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .datetime {
        width: 100%;
        margin-top: 10px;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-container a {
        font-size: 12px;
    }

    .sport-filters {
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .sport-filters::-webkit-scrollbar {
        height: 4px;
    }
    
    .sport-filters::-webkit-scrollbar-thumb {
        background: #4fc3f7;
        border-radius: 2px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-logos {
        flex-direction: column;
        align-items: flex-start;
    }

    .certifications {
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .match-listings {
        padding: 15px;
    }
    
    .list-tabs {
        flex-wrap: wrap;
    }
    
    .tab {
        font-size: 12px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 20px;
    }

    .main-nav {
        flex-direction: column;
        gap: 5px;
    }
    
    .main-nav a {
        font-size: 11px;
        padding: 5px;
        width: 100%;
        text-align: center;
    }

    .btn-login,
    .btn-register {
        padding: 6px 12px;
        font-size: 11px;
        width: 48%;
    }

    .modal-content {
        padding: 20px 15px;
        margin: 5% auto;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 20px;
    }
    
    .left-sidebar,
    .right-sidebar {
        padding: 12px;
    }
    
    .section-title {
        font-size: 12px;
    }
    
    .featured-matches {
        gap: 10px;
    }
    
    .match-card {
        padding: 12px;
    }
    
    .betting-slip,
    .outright-section,
    .bet-builder {
        padding: 12px;
    }
}

