body {
    background: linear-gradient(135deg, #5e3c9e, #2d1b65);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.header-left {
    font-size: 26px;
    font-weight: 500;
}
.header-left img {
    height: 50px;
    vertical-align: middle;
}
.header-right {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 15px;
}

.header-right a {
    text-decoration: none;
    color: #fff;
}
.header-buttons {
    display: flex;
    gap: 10px;
}
.header-buttons button {
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 50px;
}

.profile-dropdown .dropdown-menu.show {
    margin-top: 24px !important;
}

.profile-dropdown {
    position: relative;
}
.profile-img-link {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}
.profile-img-link::after {
    display: none !important;
    content: none;
}
.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    transition: box-shadow 0.3s, transform 0.3s;
}
.profile-img-link:hover .profile-img {
    box-shadow: 0 0 0 2px #a086e0;
    transform: scale(1.03);
}

.dropdown-menu {
    background-color: #1A102B;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.dropdown-item {
    color: #fff;
    font-weight: 500;
    padding: 10px 20px;
}
.dropdown-item:hover {
    background-color: #7C58C5;
    color: #fff;
}

.beta-banner {
    position: absolute;
    top: 120px;
    left: -100px;
    transform: rotate(-45deg);
    background-color: #ffcc00;
    color: #000;
    padding: 10px 200px;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 900;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.hero {
    padding: 150px 20px;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}
.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}
.btn-custom {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: #8a65d2;
    border: none;
    transition: background 0.3s, transform 0.3s;
    display: block;
    width: 250px;
    margin: 0 auto;
}
.btn-custom:hover {
    background-color: #a086e0;
    transform: scale(1.05);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    text-align: center;
}
.scroll-indicator i {
    font-size: 2rem;
    animation: bounce 2s infinite;
}
.scroll-text {
    font-size: 1rem;
    margin-top: 5px;
    text-align: center;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}
#scoreboard-section {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out, visibility 1s;
    margin-top: 50px;
}
#scoreboard-section.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.scoreboard-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 10px;
}
@media (min-width: 576px) {
    .scoreboard-header {
        flex-direction: row;
    }
}
.scoreboard-header .trophy-icon {
    font-size: 3rem;
    margin-right: 10px;
}
.scoreboard-header .scoreboard-header-text {
    text-align: center;
}
.scoreboard-header .scoreboard-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}
.scoreboard-header .scoreboard-subtitle {
    font-size: 1rem;
    font-style: italic;
    color: #a086e0;
    text-align: center;
}
.scoreboard-card {
    margin: 50px auto;
    max-width: 400px;
    background: linear-gradient(135deg, #4a148c, #311b92);
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.scoreboard-card .card-header {
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    margin-bottom: 15px;
}
.scoreboard-card .card-header h3 {
    margin: 0;
    font-weight: 700;
}
.scoreboard-card .card-body {
    padding: 10px;
}
.scoreboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.scoreboard-list li {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 10px 0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.scoreboard-list li:hover {
    background: rgba(255, 255, 255, 0.15);
}
.score-info, .score-points {
    display: flex;
    align-items: center;
}
.score-icon {
    margin-right: 10px;
    font-size: 1.5rem;
}
.gold { color: #FFD700; }
.silver { color: #C0C0C0; }
.bronze { color: #CD7F32; }
.default-icon {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 5px;
}
.embed-footer {
    background: rgba(0,0,0,0.6);
    padding: 8px 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.embed-code {
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 5px;
    cursor: pointer;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.copy-icon {
    cursor: pointer;
    color: #a086e0;
}

.copy-alert {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  z-index: 9999;
}
.copy-alert.show {
  opacity: 1;
}

.custom-alert {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 9999;
}
.custom-alert.alert-danger {
    background-color: #dc3545;
}
.custom-alert.alert-success {
    background-color: #28a745;
}
.custom-alert.alert-info {
    background-color: #17a2b8;
}
@keyframes slideDownTop {
    0% {
        top: -200px;
        opacity: 0;
    }
    100% {
        top: 20px;
        opacity: 1;
    }
}
@keyframes slideUpTop {
    0% {
        top: 20px;
        opacity: 1;
    }
    100% {
        top: -200px;
        opacity: 0;
    }
}
#whitelistBanner {
    margin-top: 70px;
}
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}
.mobile-info {
    background: linear-gradient(135deg, #8a65d2, #a086e0);
    padding: 15px 20px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-top: 20px;
}
.mobile-info p {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}
.info-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1A102B, #2d1b65);
    text-align: center;
}
.info-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}
.info-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #ddd;
}
.info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.info-card {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.info-card i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #00C8FF;
}
.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}
.info-card p {
    font-size: 1.1rem;
    color: #ddd;
}
.stats-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #2d1b65, #1A102B);
    color: #fff;
}
.stats-section h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
}
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.stats .stat {
    font-size: 2rem;
    background: rgba(255,255,255,0.05);
    padding: 20px 30px;
    border-radius: 10px;
    border: 2px solid rgba(0,200,255,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}
.stats .stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0,200,255,0.7);
}
.stats .stat i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #00C8FF;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
    color: #00C8FF;
}
.stat-label {
    font-size: 1.2rem;
    color: #ccc;
}

@media (max-width: 480px) {
    .header-left {
        font-size: 20px;
    }
    .header-buttons button {
        font-size: 0.8rem;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn-custom {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        width: 250px;
    }
    .scoreboard-card {
        max-width: 90%;
    }
}
@media (max-width: 1030px) {
    .beta-banner {
        display: none;
    }
}
@media (max-width: 1200px) {
    .beta-banner {
        top: 100px;
		left: -90px;
		transform: rotate(-50deg);
		padding: 10px 150px;
    }
}
@media (min-width: 1200px) {
	.hero {
        padding: 150px 20px;
    }
}
@media (min-width: 1920px) {
	.hero {
        padding: 300px 40px;
    }
	.hero h1 {
        font-size: 6rem;
		white-space: nowrap;
    }
    .hero p {
        font-size: 1.5rem;
    }
    .btn-custom {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        width: 300px;
    }
    .scoreboard-card {
        max-width: 450px;
    }
    .scoreboard-list li {
        padding: 15px;
    }
    iframe {
        width: 500px !important;
        height: 700px !important;
    }
}

body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
body::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #5e3c9e, #2d1b65);
    border-radius: 20px;
}
body::-webkit-scrollbar-thumb {
    background: #8a65d2;
    border-radius: 20px;
    border: 3px solid transparent;
    background-clip: content-box;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
}
body::-webkit-scrollbar-thumb:hover {
    background: #a086e0;
}
body::-webkit-scrollbar-corner {
    background: linear-gradient(135deg, #5e3c9e, #2d1b65);
    border-radius: 20px;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #8a65d2 #2d1b65;
}
