* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0b0b10;
    background-image: url('webpc.png');
    background-size: cover;
    background-position: center 80px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #f1f1f1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Mobile Screen Background */
@media (max-width: 768px) {
    body {
        background-image: url('webphone.png');
        background-size: cover;
        background-position: center 70px;
        background-attachment: fixed;
        background-repeat: no-repeat;
    }
}

/* Navbar */
.navbar {
    background: rgba(11, 11, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid rgba(0, 255, 204, 0.3);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 10px #00ffcc);
    animation: pulse-icon 2s infinite ease-in-out;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px #00ffcc); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 16px #00ffcc); }
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(45deg, #00ffcc, #0088ff, #ff007f);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    animation: gradient-shift 5s linear infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav-tagline {
    font-size: 0.65rem;
    color: #00ffcc;
    background: rgba(0, 255, 204, 0.12);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 204, 0.4);
    font-weight: 600;
}

/* Main Container */
.main-container {
    max-width: 780px;
    width: 100%;
    margin: 20px auto;
    padding: 0 12px;
    flex: 1;
}

/* Intro Hero */
.intro-hero {
    background: rgba(15, 15, 24, 0.85) !important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(0, 255, 204, 0.4);
    border-radius: 20px;
    padding: 22px 18px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 255, 204, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInIntro 0.8s ease-out;
}

@keyframes fadeInIntro {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.coder-graphic {
    background: #07070a;
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 12px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.window-header {
    background: #12121c;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.filename {
    font-size: 0.75rem;
    color: #8a8aa0;
    margin-left: 8px;
    font-family: monospace;
}

.code-body {
    padding: 12px;
    font-family: monospace;
    font-size: 0.78rem;
    color: #d4d4d4;
    line-height: 1.5;
    background: radial-gradient(circle at top left, #10101a 0%, #07070a 100%);
}

.code-keyword { color: #ff79c6; }
.code-class { color: #50fa7b; }
.code-func { color: #8be9fd; }
.code-str { color: #f1fa8c; }
.code-var { color: #ffb86c; }

.welcome-badge {
    display: inline-block;
    background: rgba(0, 255, 204, 0.15);
    color: #00ffcc;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 255, 204, 0.4);
    letter-spacing: 1px;
}

.intro-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #ffffff, #00ffcc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.intro-subtitle {
    font-size: 0.88rem;
    color: #b8b8d2;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 15px auto;
}

.stats-strip {
    display: flex;
    justify-content: space-around;
    background: rgba(11, 11, 16, 0.6);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 1rem;
    font-weight: 800;
    color: #00ffcc;
}

.stat-label {
    font-size: 0.65rem;
    color: #8a8aa0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    font-size: 0.72rem;
    color: #00ffcc;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* Glassmorphism Cards */
.hero-showcase, .about-card, .leaderboard-card {
    background: rgba(15, 15, 24, 0.8) !important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 20px;
    padding: 20px 15px;
    margin-bottom: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-showcase::before, .about-card::before, .intro-hero::before, .leaderboard-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #00ffcc, #ff007f, transparent);
    animation: border-glow 4s linear infinite;
}

@keyframes border-glow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-showcase:hover, .about-card:hover, .leaderboard-card:hover {
    border-color: rgba(0, 255, 204, 0.7);
    box-shadow: 0 16px 45px rgba(0, 255, 204, 0.2);
}

.showcase-badge {
    display: inline-block;
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 68, 68, 0.4);
    letter-spacing: 0.8px;
}

.gold-badge {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.web-badge {
    background: rgba(0, 255, 204, 0.2);
    color: #00ffcc;
    border: 1px solid rgba(0, 255, 204, 0.4);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.game-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-frame {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 204, 0.35);
    background: #000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s ease;
}

.image-frame:hover {
    transform: scale(1.02);
}

.game-banner {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-banner:hover {
    transform: scale(1.04);
}

.game-details {
    text-align: center;
}

.game-title {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #00ffcc, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    font-weight: 800;
}

.game-desc {
    font-size: 0.88rem;
    color: #a8a8c8;
    margin-bottom: 16px;
    line-height: 1.5;
}

.download-btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00ffcc 0%, #0077ff 100%);
    color: #0b0b10;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 255, 204, 0.4);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.download-btn::after, .pay-now-btn::after, .see-full-btn::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(0deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(45deg) translate(-200%, 0);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(45deg) translate(-200%, 0); }
    20% { transform: rotate(45deg) translate(200%, 0); }
    100% { transform: rotate(45deg) translate(200%, 0); }
}

.portal-btn {
    background: linear-gradient(135deg, #ff007f 0%, #00ffcc 100%);
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.4);
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 255, 204, 0.6);
}

.about-heading {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 12px;
    border-left: 4px solid #0077ff;
    padding-left: 8px;
    font-weight: 700;
}

.about-text {
    font-size: 0.88rem;
    color: #b8b8d2;
    line-height: 1.7;
    text-align: left;
}

.about-text strong {
    color: #00ffcc;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
}

/* Leaderboard */
.leaderboard-header {
    text-align: center;
    margin-bottom: 20px;
}

.leaderboard-main-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 5px;
    margin-bottom: 6px;
    background: linear-gradient(45deg, #ffd700, #ff007f, #00ffcc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.leaderboard-subtext {
    font-size: 0.82rem;
    color: #a8a8c8;
    margin-bottom: 14px;
}

.timer-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.timer-label {
    font-size: 0.75rem;
    color: #ffd700;
    font-weight: 600;
}

.timer-count {
    font-size: 0.8rem;
    color: #00ffcc;
    font-weight: 800;
    font-family: monospace;
}

.pay-now-btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffd700 0%, #ff007f 100%);
    color: #000;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.pay-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.leaderboard-preview {
    margin-top: 15px;
}

.preview-title {
    font-size: 1.05rem;
    color: #00ffcc;
    margin-bottom: 12px;
    text-align: center;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.lb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(11, 11, 18, 0.75);
    border: 1px solid rgba(0, 255, 204, 0.15);
    padding: 10px 14px;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.lb-row:hover {
    background: rgba(0, 255, 204, 0.1);
    border-color: rgba(0, 255, 204, 0.4);
}

.top-three {
    border: 1px solid rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.08);
}

.rank-1 { border-color: #ffd700; box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.2); }
.rank-2 { border-color: #c0c0c0; }
.rank-3 { border-color: #cd7f32; }

.rank-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #00ffcc;
    background: rgba(0, 255, 204, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    min-width: 55px;
    text-align: center;
}

.top-three .rank-badge {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
}

.supporter-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    flex: 1;
    margin: 0 12px;
    text-align: left;
}

.supporter-amount {
    font-size: 0.9rem;
    font-weight: 800;
    color: #50fa7b;
}

.lb-action-buttons {
    display: flex;
    gap: 10px;
}

.see-full-btn {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00ffcc 0%, #0077ff 100%);
    color: #0b0b10;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 255, 204, 0.3);
    transition: all 0.3s ease;
}

.see-full-btn:hover {
    transform: scale(1.02);
}

/* Modals Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.modal-content {
    background: #0f0f18;
    border: 2px solid rgba(0, 255, 204, 0.4);
    border-radius: 20px;
    padding: 22px;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.25);
}

.modal-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.modal-top-bar h2 {
    font-size: 1.1rem;
    color: #00ffcc;
}

.back-btn {
    background: rgba(255, 0, 127, 0.2);
    color: #ff007f;
    border: 1px solid rgba(255, 0, 127, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: #ff007f;
    color: #fff;
}

.lb-modal-desc {
    font-size: 0.8rem;
    color: #a8a8c8;
    margin-bottom: 15px;
}

.full-list {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Official White Gateway Modal Styling */
.white-gateway-modal {
    background: #ffffff !important;
    color: #1a1a2e !important;
    border: none !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
    border-radius: 16px !important;
    padding: 20px !important;
}

.gateway-close-x {
    position: absolute;
    top: 14px; right: 16px;
    background: #f1f3f6;
    border: none;
    color: #555;
    width: 28px; height: 28px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gateway-header {
    border-bottom: 1px solid #eef0f5;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-badge {
    background: #0066ff;
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 8px;
}

.brand-text h4 {
    font-size: 1rem;
    color: #111;
    margin: 0;
}

.secure-tag {
    font-size: 0.72rem;
    color: #2e7d32;
    font-weight: 600;
}

.gateway-error-banner {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.gateway-body {
    text-align: left;
}

.gateway-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.gateway-field label {
    font-size: 0.78rem;
    color: #555;
    font-weight: 600;
}

.gateway-field input {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 10px;
    border-radius: 8px;
    color: #111;
    font-size: 0.9rem;
    outline: none;
}

.gateway-field input:focus {
    border-color: #0066ff;
    background: #fff;
}

.payment-options-heading {
    font-size: 0.78rem;
    color: #777;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 8px;
}

.upi-apps-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.upi-app-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
    text-decoration: none;
    color: #222;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.upi-app-card:hover {
    border-color: #0066ff;
    background: #eef5ff;
}

.card-pay {
    background: #eef5ff;
    border-color: #0066ff;
    color: #0066ff;
}

.gateway-footer {
    text-align: center;
    margin-top: 15px;
}

.official-pay-btn {
    width: 100%;
    background: #0066ff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    transition: background 0.2s ease;
}

.official-pay-btn:hover {
    background: #0052cc;
}

.gateway-disclaimer {
    font-size: 0.7rem;
    color: #888;
    margin-top: 10px;
}

/* Footer Section */
.footer {
    background: rgba(8, 8, 12, 0.95);
    backdrop-filter: blur(16px);
    border-top: 2px solid rgba(0, 255, 204, 0.2);
    padding: 25px 12px;
    text-align: center;
}

.thankyou-msg {
    font-size: 0.98rem;
    color: #00ffcc;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

.contact-box {
    margin-bottom: 12px;
    color: #8a8aa0;
    font-size: 0.85rem;
}

.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    background: rgba(0, 255, 204, 0.08);
    padding: 7px 14px;
    border-radius: 18px;
    border: 1px solid rgba(0, 255, 204, 0.25);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.25s ease;
}

.social-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.email-link:hover {
    background: rgba(0, 255, 204, 0.25);
    color: #00ffcc;
    border-color: #00ffcc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 204, 0.3);
}

.copyright {
    font-size: 0.75rem;
    color: #555570;
    margin-top: 12px;
}