body {
    background-color: #1a1a1a;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    cursor: pointer; /* Whole body is clickable */
}

.page-container {
    display: flex;
}

.left-sidebar, .right-sidebar {
    width: 250px;
    background-color: #2a2a2a;
    padding: 20px;
}

.main-content-wrapper {
    flex-grow: 1;
}

.profile {
    text-align: center;
    margin-bottom: 20px;
}

.profile-icon img {
    width: 100px;
    height: 80px;
    border-radius: 100%;
    background-color: #444;
    padding: 10px;
}

.profile .login {
    display: block;
    background-color: #ffc107;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}

.sidebar-actions {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.sidebar-actions a {
    color: #fff;
    text-decoration: none;
}

.sidebar-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #444;
}

.sidebar-nav a span {
    background-color: #00a82d;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 5px;
}

.betslip {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 5px;
}

.betslip h3 {
    font-size: 20px;
    margin-top: 0;
}

.betslip-tabs, .betslip-options {
    display: flex;
    margin-bottom: 15px;
}

.betslip-tabs a, .betslip-options a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    flex-grow: 1;
    text-align: center;
    background-color: #444;
}

.betslip-tabs a.active, .betslip-options a.active {
    background-color: #555;
}

.betslip-placeholder {
    text-align: center;
    padding: 40px 20px;
    background-color: #333;
    border-radius: 5px;
}


.accumulator-list {
    display: flex;
    justify-content: space-between;
}

.accumulator {
    background-color: #333;
    padding: 20px;
    border-radius: 5px;
    width: 30%;
}

.accumulator-event {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.accumulator-event img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.accumulator-event div {
    display: flex;
    flex-direction: column;
}

.accumulator-event span {
    font-weight: bold;
    margin-bottom: 5px;
}

.accumulator-event p {
    margin: 0;
    color: #aaa;
    font-size: 12px;
}

.accumulator button {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
}


.event {
    display: grid;
    grid-template-columns: 50px 1fr 150px;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #222;
    background-color: #000;
    margin-bottom: 4px;
    border-radius: 4px;
}

.event-teams {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-teams div {
    display: flex;
    align-items: center;
}

.event-teams img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
}

.event-teams span {
    font-size: 14px;
    font-weight: 500;
}

.event-time {
    color: #888;
    font-size: 11px;
    margin-top: 2px;
}

.event-odds {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.event-odds span {
    background-color: #333;
    color: #ffc107;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}


footer {
    background-color: #222;
    padding: 40px 20px;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.link-section h3 {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 15px;
}

.link-section a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
}

.app-store {
    text-align: center;
}

.app-store img {
    height: 40px;
}


.popular-events, .football-accumulators {
    padding: 20px;
}

.popular-events h2, .football-accumulators h2 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.event-icon img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

.icon-arrow-right::before { content: "→"; }
.icon-refresh::before { content: "↺"; }

.popular-events h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-events h2::before {
    content: "🔥";
    font-size: 20px;
}


.hero {
    background-image: url('images/OIP.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    text-align: left;
    display: flex;
    align-items: center;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 40px;
    margin: 0;
    color: #ffc107;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 18px;
    margin: 15px 0 25px;
    color: #fff;
    font-weight: 500;
}

.bet-here {
    background-color: #ffc107;
    color: #000;
    padding: 12px 35px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    display: inline-block;
    transition: background-color 0.3s;
}

.bet-here:hover {
    background-color: #e0a800;
}


.main-nav {
    display: flex;
    justify-content: center;
    background-color: #222;
    padding: 15px 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 16px;
}


.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
}

.logo img {
    height: 40px;
}

.top-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.user-actions a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    padding: 10px 15px;
    border-radius: 5px;
}

.join-now {
    background-color: #ffc107;
    color: #000;
}

/* Mobile Responsiveness */
@media screen and (max-width: 1024px) {
    .page-container {
        flex-direction: column;
    }
    
    .left-sidebar, .right-sidebar {
         width: 100%;
         padding: 10px;
         box-sizing: border-box;
     }

     .sidebar-nav {
         display: flex;
         overflow-x: auto;
         gap: 10px;
         padding-bottom: 10px;
         white-space: nowrap;
     }

     .sidebar-nav a {
         border: 1px solid #444;
         border-radius: 20px;
         padding: 5px 15px;
     }

     .profile, .sidebar-actions {
         display: none; /* Hide profile/actions on mobile to save space */
     }

    .left-sidebar {
        order: 2;
    }

    .main-content-wrapper {
        order: 1;
        width: 100%;
    }

    .right-sidebar {
        order: 3;
    }

    .accumulator-list {
        flex-direction: column;
        gap: 15px;
    }

    .accumulator {
        width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }

    .link-section {
        flex: 1 1 150px;
    }

    .hero {
        padding: 40px 20px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .main-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px;
        white-space: nowrap;
    }

    .main-nav a {
        margin: 0 10px;
        font-size: 14px;
    }

    .top-bar {
        padding: 10px;
    }

    .top-nav {
        display: none; /* Hide minor nav on mobile */
    }

    .logo img {
        height: 30px;
    }

    .user-actions a {
        padding: 5px 10px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .bet-here {
        padding: 10px 20px;
        font-size: 14px;
    }

    .event {
        grid-template-columns: 40px 1fr 100px;
    }
}


