body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    background-color: #121212;
    color: #e0e0e0;
    overflow-x: hidden; 
}
.sidebar {
    width: 250px;
    padding-top: 70px;
    background-color: #1e1e1e;
    overflow-x: hidden;
    overflow-y: auto; 
    transition: transform 0.5s; 
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-250px); 
}
.sidebar.open {
    transform: translateX(0); 
}

.sidebar a {
    padding: 15px 20px;
    text-decoration: none;
    font-size: 20px; 
    color: #e0e0e0;
    display: block;
    transition: 0.3s;
    margin-bottom: 20px; 
    cursor: pointer;
}
.sidebar a:hover {
    background-color: #363636;
    color: #ffffff;
}
.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
.sidebar::-webkit-scrollbar {width: 10px; height: 10px;  background-color: transparent;}
.sidebar::-webkit-scrollbar-track {border-radius:10px;}
.sidebar::-webkit-scrollbar-thumb {background-color: rgba(255, 255, 255, 0.2);border-radius: 2px;}
.sidebar::-webkit-scrollbar-thumb:hover { background: #4b9e5f;}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding: 10px 15px;
    border: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 3;
}
.openbtn:hover {
    background-color: #444;
}
.content {
    flex-grow: 1;
    padding: 20px;
    transition: margin-left 0.5s;
    margin-left: 0;
}

.sidebar.open + .content {
    margin-left: 250px;
}

.hidden {
    display: none;
}
.referral-button {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #424242;
    color: #121212;
    border: none;
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}
.referral-button:hover {
    background-color: #9b59b6;
}
.info {
    position: absolute;
    bottom: 40px;
    left: 10px;
    color: #424242;
}
.info-card {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    text-align: center;
}
.info-card h2 {
    margin-top: 0;
    color: #949494;
    font-size: 28px;
}
.info-card p {
    margin: 10px 0;
    font-size: 22px;
}
.info-card span {
    font-weight: bold;
    color: #e0e0e0;
}
.info-card a {
    color: #949494;
    text-decoration: underline;
}
.info-card a:hover {
    color: #949494;
}
.invite-summary {
    text-align: center;
    font-size: 24px;
    margin-top: 20px;
}
.invite-link {
    text-align: center;
    font-size: 18px;
    margin-top: 10px;
    background-color: #4d4d4d7e;
    padding: 5px 10px;
    border-radius: 6px;
    color: #121212;
    display: inline-block;
    font-weight: bold;
    transition: background-color 0.3s;
}
.invite-link:hover {
    background-color: #4d4d4d7e;
}
.copy-button {
    margin-left: 10px;
    padding: 8px 10px;
    font-size: 14px;
    cursor: pointer;
    background-color: #424242;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.copy-button:hover {
    background-color: #424242;
}
.invite-now-button {
    margin-left: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: red;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
    text-align: center;
}

.invite-now-button:hover {
    background-color: darkred;
}
.video-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}
.video-placeholder {
    width: 100%;
    max-width: 800px;
    height: auto;
    background-color: #2c2c2c;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    font-size: 18px;
    object-fit: contain;
}
.buy-now-button {
    background-color: green;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    display: inline-block; 
    text-align: center;
}

.buy-now-button:hover {
    background-color: #006400;
}
.buy-now1 {
    position: fixed; 
    bottom: 65px; 
    right: 20px; 
    background-color: #4CAF50; 
    color: white; 
    border: none; 
    padding: 10px 28.5px; 
    text-align: center; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 14px; 
    border-radius: 5px; 
    cursor: pointer;
}
.buy-now1:hover {
    background-color: #50c954;
}
.buy-now2 {
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background-color: #4CAF50; 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    text-align: center; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 14px; 
    border-radius: 5px; 
    cursor: pointer;
}
.buy-now2:hover {
    background-color: #50c954;
}
.a-page {cursor: pointer;}
.a-page:hover {color: #fff !important;}

@media (max-width: 768px) {
    .sidebar a {
        font-size: 20px;
    }
    .openbtn {
        font-size: 18px;
        padding: 8px 12px;
    }
    .content {
        padding: 10px;
    }
    .info-card h2 {
        font-size: 24px;
    }
    .info-card p {
        font-size: 18px;
    }
    .invite-summary {
        font-size: 20px;
    }
    .invite-link {
        font-size: 16px;
    }
    .copy-button {
        font-size: 12px;
        padding: 6px 8px;
    }
    .invite-now-button {
        font-size: 12px;
        padding: 6px 8px;
    }
    .video-placeholder {
        font-size: 16px;
    }
    .buy-now-button {
        font-size: 16px;
        padding: 8px 16px;
    }
}
@media (min-width: 768px) {
    .video-placeholder {
        max-width: 600px; 
    }
}
#inviteListDetails li {
    font-size: 18px; 
    margin-bottom: 10px;
}
@media (min-width: 768px) {
    #inviteListDetails li {
        font-size: 22px; 
    }
}
@media (max-width: 768px) {
    .sidebar a {
        margin-bottom: 10px;
    }
}
