:root {
    --bg-dark: #000000;
    --bg-card: rgba(15, 15, 15, 0.6);
    --primary-accent: #ffffff;
    --secondary-accent: #e2e8f0;
    --text-main: #ffffff;
    --text-dim: #888888;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-glow: 0 0 20px rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* Starfield Background */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%);
    overflow: hidden;
}

.starfield::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 50px 160px, rgba(255,255,255,0.5), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 80px 120px, #fff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 110px 210px, rgba(255,255,255,0.3), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 150px 40px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 250px 250px;
    opacity: 0.1;
    /* animation: rotateStars 200s linear infinite; */ /* Disabled for lag */
}

@keyframes rotateStars {
    from { transform: rotate(0deg); }
    to { transform: rotate(0deg); } /* Static background for performance */
}

.glow-orb {
    position: fixed;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(50px);
}

header {
    padding: 2.5rem 0;
    display: flex;
    justify-content: center;
}

.top-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

main {
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: 5rem 2rem;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    width: 100%;
    flex-wrap: nowrap;
}

.hero-left {
    flex: 1;
}

.best-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.sub-text {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 3.5rem;
    letter-spacing: 1.5px;
    max-width: 500px;
    border-left: 3px solid #fff;
    padding-left: 1.5rem;
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 500px;
}

@media (max-width: 600px) {
    .hero-buttons { grid-template-columns: 1fr; }
}

.btn {
    text-decoration: none;
    padding: 1.1rem 2rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-white {
    background: #fff;
    color: #000;
}

.btn-dark {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn i { 
    width: 20px; 
    height: 20px; 
    stroke-width: 2.5px;
    display: inline-block;
    vertical-align: middle;
}

[data-lucide] {
    width: 1.25em;
    height: 1.25em;
    stroke-width: 2px;
}

/* Dashboard Mockup */
.hero-right {
    flex: 0 0 680px; 
    perspective: 1000px;
}

.dash-mockup {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    transform-origin: center right;
}

.dash-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.dash-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dash-logo {
    background: #fff;
    color: #000;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border-radius: 10px;
}

.dash-logo-text { font-size: 0.9rem; font-weight: 800; color: #fff; }

.dash-title-info {
    margin-left: 2.5rem;
    flex: 1;
}

.dash-title-info h3 { font-size: 0.95rem; font-weight: 700; color: #fff; }
.dash-title-info p { font-size: 0.72rem; color: var(--text-dim); }

.dash-body {
    display: flex;
    height: 420px;
}

.dash-sidebar {
    width: 160px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.5rem 0.8rem;
}

.side-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    opacity: 0.4;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 12px;
    margin-bottom: 0.3rem;
    color: #fff;
}

.side-item.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid #fff;
}

.dash-main {
    flex: 1;
    padding: 2.5rem;
}

.info-panel {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #fff;
}

.info-content p { 
    margin-bottom: 1.5rem; 
    font-size: 0.85rem; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 1rem;
}
.info-content strong { color: var(--text-dim); margin-right: 15px; font-weight: 500; min-width: 80px; display: inline-block; }

.dash-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.dash-btns button {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.9rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.3s;
}

.dash-btns button:hover {
    background: #fff;
    color: #000;
}

/* Stats Section */
.stats {
    padding: 8rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 3.5rem;
    border-radius: 24px;
    text-align: center;
    transition: 0.4s;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: #fff;
    background: rgba(20, 20, 20, 0.8);
}

.stat-card i {
    width: 32px;
    height: 32px;
    margin-bottom: 2.5rem;
    color: #fff;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: 1.5px;
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-dim);
}

/* Loader Section */
.loader-section {
    padding: 6rem 2rem;
}

.loader-box {
    max-width: 900px;
    margin: 0 auto;
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.loader-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem 2.5rem;
    display: flex;
    align-items: center;
}

.dots { display: flex; gap: 10px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; opacity: 0.4; }
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.loader-title {
    margin-left: 3rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.loader-content {
    padding: 4rem 3rem 6rem;
}

.code-line {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.main-code {
    color: #fff;
    word-break: break-all;
    font-weight: 700;
}

.copy-btn {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    background: #fff;
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    transition: 0.3s;
}

.copy-btn:hover {
    background: #e2e8f0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.copy-feedback {
    margin-top: 2rem;
    color: #fff;
    font-weight: 900;
    text-align: center;
    display: none;
    font-size: 1.1rem;
}

/* Games Grid */
.games {
    padding: 8rem 2rem;
}

.games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5rem;
}

.games-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.made-by {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 4px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.game-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: brightness(0.4);
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.game-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 1.5rem;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    transform: translateY(10px);
    transition: 0.4s;
    opacity: 0.8;
}

.game-card:hover img {
    filter: brightness(1) scale(1.1);
}

footer {
    padding: 5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
}

/* Donate Page Specifics */
.donate-nav {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.btn-back {
    position: absolute;
    right: 2rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

@media (max-width: 1200px) {
    .hero-content { flex-direction: column; align-items: center; text-align: center; }
    .hero-right { flex: 0 0 auto; width: 100%; max-width: 680px; margin-top: 3rem; }
    .hero { padding: 4rem 1rem; }
    .main-title { font-size: 4rem; }
    .sub-text { border: none; padding: 0; margin: 0 auto 3rem; }
    .hero-buttons { justify-content: center; }
    .hero-right { width: 100%; perspective: none; }
    .dash-mockup { transform: none; }
    .stats-grid { grid-template-columns: 1fr; }
}

.donate-hero {
    flex-direction: column !important;
    text-align: center;
    padding-top: 5rem;
}

.donate-hero .main-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.donate-methods {
    max-width: 1300px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.donate-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    transition: 0.4s;
}

.donate-card:hover {
    border-color: #fff;
    transform: translateY(-10px);
    background: rgba(20, 20, 20, 0.4);
}

.card-top {
    margin-bottom: 2.5rem;
    color: #fff;
}

.card-top i { width: 40px; height: 40px; }

.donate-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 900;
}

.account-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.account-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.acc-num {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.click-to-copy {
    margin-top: 2rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

#copy-feedback-donate {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    background: #fff;
    color: #000;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-weight: 900;
    display: none;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}
