/* --- Global Reset & Variables --- */
:root {
    --primary-bg: #121212;
    --secondary-bg: #1a1a1a;
    --accent-color: #e91e63; /* Pinkish Red */
    --accent-hover: #c2185b;
    --text-color: #f4f4f4;
    --text-muted: #b0b0b0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #fff;
}

a {
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--secondary-bg);
}

.text-center {
    text-align: center;
}

/* --- Topbar --- */
.topbar {
    background: #000;
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #222;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
}

.top-info span { margin-right: 20px; color: var(--text-muted); }
.top-info i { color: var(--accent-color); margin-right: 5px; }
.top-social a { margin-left: 15px; color: var(--text-muted); }
.top-social a:hover { color: var(--accent-color); }

/* --- Header --- */
header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 20px 0;
    
    /* Sticky honay ke liye yeh zaroori hai: */
    position: sticky; 
    top: 0;
    
    z-index: 1000; /* Taake baaki content ke ooper rahay */
    border-bottom: 1px solid #333;
    transition: 0.3s; /* Smooth effect ke liye */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 { font-size: 1.8rem; text-transform: uppercase; letter-spacing: 2px; }
.logo span { color: var(--accent-color); }

.navbar ul { display: flex; gap: 30px; }
.navbar a { font-weight: 500; font-size: 0.9rem; text-transform: uppercase; color: #ddd; }
.navbar a:hover, .navbar a.active { color: var(--accent-color); }
.btn-download { background: var(--accent-color); padding: 8px 20px; border-radius: 4px; color: #fff !important; }
.btn-download:hover { background: var(--accent-hover); }

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: #fff; }

/* --- Hero Section --- */
#hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1511882150382-421056c89033?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content { max-width: 800px; padding: 20px; animation: fadeIn 1s ease-in; }
.hero-content h2 { color: var(--accent-color); letter-spacing: 3px; font-size: 1.2rem; margin-bottom: 10px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 0 0 20px rgba(233, 30, 99, 0.4); }
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; color: #ccc; }

.btn { display: inline-block; padding: 12px 35px; border-radius: 4px; font-weight: bold; text-transform: uppercase; margin: 0 10px; }
.btn-primary { background: var(--accent-color); border: 2px solid var(--accent-color); }
.btn-primary:hover { background: transparent; color: var(--accent-color); }
.btn-outline { border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: #000; }

/* --- Features Strip --- */
#features-strip { background: var(--secondary-bg); padding: 40px 0; border-bottom: 1px solid #333; }
#features-strip .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.feature-box { display: flex; align-items: center; gap: 15px; }
.feature-box i { font-size: 2rem; color: var(--accent-color); }
.feature-box h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- General Content Styles --- */
.sub-heading { color: var(--accent-color); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.content-img img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.check-list li { margin: 15px 0; font-size: 1.1rem; display: flex; align-items: center; }
.check-list i { color: var(--accent-color); margin-right: 15px; background: rgba(233, 30, 99, 0.1); padding: 8px; border-radius: 50%; }

/* --- Cards Grid --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.game-card, .shop-card, .review-card { background: #222; padding: 25px; border-radius: 8px; border: 1px solid #333; transition: 0.3s; }
.game-card:hover, .shop-card:hover { transform: translateY(-10px); border-color: var(--accent-color); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.game-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; margin-bottom: 20px; }
.shop-card i { font-size: 3rem; color: var(--accent-color); margin-bottom: 20px; display: block; }
.shop-card button { background: transparent; border: 1px solid var(--accent-color); color: #fff; padding: 10px 20px; margin-top: 15px; cursor: pointer; border-radius: 4px; transition: 0.3s; width: 100%; }
.shop-card button:hover { background: var(--accent-color); }

/* --- Avatars --- */
.avatar-scroller { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.avatar img { width: 90px; height: 90px; border-radius: 50%; border: 3px solid #333; transition: 0.3s; object-fit: cover; cursor: pointer; }
.avatar img:hover { border-color: var(--accent-color); transform: scale(1.1); }

/* --- Gallery --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin-top: 40px; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; transition: 0.3s; opacity: 0.8; }
.gallery-grid img:hover { opacity: 1; transform: scale(1.02); }

/* --- System Requirements Table --- */
.req-box { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; border: 1px solid #333; border-radius: 8px; overflow: hidden; }
.req-col { flex: 1; padding: 30px; background: #151515; min-width: 300px; }
.req-col.highlight { background: #1e1e1e; border-left: 1px solid #333; }
.req-col h3 { margin-bottom: 20px; color: var(--accent-color); border-bottom: 1px solid #333; padding-bottom: 10px; display: inline-block; }
.req-col ul li { margin-bottom: 12px; font-size: 0.95rem; color: #ccc; }
.req-col strong { color: #fff; margin-right: 10px; }

/* --- Reviews --- */
.review-card { text-align: left; }
.review-card .stars { color: gold; margin-bottom: 15px; font-size: 1.2rem; }
.review-card p { font-style: italic; color: #ccc; margin-bottom: 15px; }
.review-card h4 { font-size: 0.9rem; color: var(--accent-color); text-align: right; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { background: #222; margin-bottom: 15px; padding: 20px; border-radius: 6px; border-left: 4px solid var(--accent-color); }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 10px; font-family: var(--font-body); }
.faq-item p { color: #aaa; font-size: 0.95rem; }

/* --- Download Section --- */
.download-section { background: linear-gradient(135deg, #121212, #240b15); padding: 100px 0; }
.store-buttons { margin-top: 40px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.store-btn { background: #000; border: 1px solid #444; padding: 15px 35px; border-radius: 50px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.store-btn:hover { background: var(--accent-color); border-color: var(--accent-color); transform: translateY(-5px); }

/* --- Footer --- */
footer { background: #080808; padding: 60px 0 20px; border-top: 3px solid var(--accent-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-card h3 { font-size: 1.2rem; margin-bottom: 20px; color: #fff; }
.footer-card ul li { margin-bottom: 10px; }
.footer-card ul li a { color: #888; }
.footer-card ul li a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-form { display: flex; }
.footer-form input { padding: 12px; width: 100%; border: none; background: #222; color: #fff; border-radius: 4px 0 0 4px; }
.footer-form button { padding: 12px; background: var(--accent-color); border: none; color: #fff; cursor: pointer; border-radius: 0 4px 4px 0; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #222; color: #555; font-size: 0.9rem; }

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .content-img { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .req-col.highlight { border-left: none; border-top: 1px solid #333; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .topbar { display: none; }
    .navbar { position: absolute; top: 100%; left: 0; width: 100%; background: #121212; padding: 20px; border-top: 1px solid #333; display: none; }
    .navbar.active { display: block; animation: fadeIn 0.3s; }
    .navbar ul { flex-direction: column; align-items: center; gap: 20px; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-form { justify-content: center; }
    
    /* Mobile Stack for Requirements */
    .req-box { flex-direction: column; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- New Styles for About Page --- */

/* Page Header (Small Hero) */
.page-header {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 3rem;
    text-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
}

.page-header h1 span {
    color: var(--accent-color);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: #222;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: 0.3s;
}

.team-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    margin-bottom: 15px;
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.team-social a {
    color: #fff;
    margin: 0 8px;
    font-size: 1.1rem;
}

.team-social a:hover {
    color: var(--accent-color);
}

/* Roadmap (Timeline) */
.roadmap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    position: relative;
}

.roadmap-item {
    flex: 1;
    min-width: 200px;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border-top: 3px solid var(--accent-color);
    position: relative;
}

.roadmap-item .circle {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-family: var(--font-heading);
}

.roadmap-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.roadmap-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Mobile Fix for Roadmap */
@media (max-width: 768px) {
    .roadmap {
        flex-direction: column;
    }
}

/* --- Contact Page Styles --- */

/* Wrapper Grid */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info chota, Form bada */
    gap: 60px;
    align-items: flex-start;
}

/* Contact Info Side */
.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(233, 30, 99, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Social Icons in Contact */
.contact-social h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-icons a {
    display: inline-block;
    background: #222;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 5px;
    margin-right: 10px;
    color: #fff;
    border: 1px solid #333;
}

.social-icons a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Contact Form Side */
.contact-form-container {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: #252525;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #2a2a2a;
}

/* Page Header Specific Image */
.contact-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1534423861386-85a16f5d13fd?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

/* Mobile Responsive for Contact */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}

/* --- Mechanics Page Styles --- */

/* Hero Background */
.mechanics-header {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1639322537228-f710d846310a?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 45vh;
}

/* Intro Highlight Box */
.highlight-box {
    background: rgba(233, 30, 99, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
    border-radius: 4px;
}

.highlight-box i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* --- Game Visual Simulation (The Grid) --- */
.game-demo-visual {
    background: #222;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #333;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    max-width: 400px;
    margin: 0 auto;
}

.demo-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.demo-tile {
    width: 80px;
    height: 80px;
    background: #333;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: bold;
    color: #555;
    font-size: 1.2rem;
    position: relative;
    border: 1px solid #444;
}

/* Tile States */
.demo-tile.success {
    background: #4caf50;
    color: #fff;
    box-shadow: 0 0 10px #4caf50;
    border-color: #4caf50;
}

.demo-tile.active {
    background: #2a2a2a;
    border-color: #fff;
    color: #fff;
    animation: pulse 2s infinite;
    cursor: pointer;
}

.demo-tile.locked {
    opacity: 0.5;
}

.demo-label {
    text-align: center;
    margin-top: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* --- Step Process Cards --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: #1a1a1a;
    padding: 30px 20px;
    border-radius: 10px;
    position: relative;
    border-top: 1px solid #333;
    transition: 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    background: #202020;
    border-top-color: var(--accent-color);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05);
    font-weight: bold;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Jackpot Box --- */
.jackpot-box {
    background: linear-gradient(135deg, #1a1a1a, #2c0b15);
    padding: 60px;
    border-radius: 15px;
    border: 2px solid var(--accent-color);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(233, 30, 99, 0.2);
}

.jackpot-box h2 {
    font-size: 2.5rem;
    margin: 10px 0 20px;
    text-transform: uppercase;
}

.jackpot-box p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ddd;
}

/* --- AUTH PAGES (Login & Register) --- */

/* Full Screen Background */
.auth-page {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: var(--font-body);
}

/* Back Button */
.back-home {
    position: absolute;
    top: 30px;
    left: 30px;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #444;
}

.back-home:hover {
    color: var(--accent-color);
    background: #000;
    border-color: var(--accent-color);
}

/* Central Card */
.auth-container {
    background: rgba(15, 15, 15, 0.95);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    border: 1px solid #333;
    backdrop-filter: blur(5px);
    margin: 20px; /* Mobile safe margin */
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.auth-header h2 span {
    color: var(--accent-color);
}

.auth-header p {
    color: #888;
    font-size: 0.95rem;
}

/* Inputs */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1rem;
    z-index: 2;
}

.input-group .toggle-password {
    left: auto;
    right: 15px;
    cursor: pointer;
}

.input-group .toggle-password:hover {
    color: #fff;
}

.input-group input {
    width: 100%;
    padding: 14px 15px 14px 45px; /* Icon space */
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.1);
}

/* Options (Remember Me / Forgot Pass) */
.form-options {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 25px;
    color: #bbb;
    align-items: center;
}

.form-options a {
    color: var(--accent-color);
}

.form-options a:hover {
    text-decoration: underline;
}

/* Main Button */
.btn-full {
    width: 100%;
    padding: 14px;
    background: var(--accent-color);
    border: none;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-full:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

/* Divider */
.divider {
    text-align: center;
    margin: 30px 0 20px;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #333;
    z-index: 1;
}

.divider span {
    background: rgba(15, 15, 15, 1);
    padding: 0 15px;
    color: #666;
    font-size: 0.8rem;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* Social Buttons */
.social-login {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    font-size: 0.95rem;
}

.social-btn.google {
    background: #db4437;
}

.social-btn.discord {
    background: #5865F2;
}

.social-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Auth Footer (Link to other page) */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #888;
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--accent-color);
    font-weight: 600;
    margin-left: 5px;
}

.auth-footer a:hover {
    color: #fff;
}

/* --- Navbar Buttons (Row Fix) --- */

/* Wrapper for Login & Register */
.auth-group {
    display: flex;
    align-items: center;
    gap: 10px; /* In dono ke darmiyan ka fasla yahan control hoga */
    margin-left: 20px; /* Baki menu links se doori */
}

/* Login Button (Outline) */
.navbar .login-link {
    border: 1px solid #fff;
    padding: 8px 20px;
    border-radius: 5px;
    color: #fff;
    transition: 0.3s;
    white-space: nowrap; /* Text tootna nahi chahiye */
}

.navbar .login-link:hover {
    background: #fff;
    color: #000;
}

/* Register Button (Filled) */
.navbar .btn-download {
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 8px 20px;
    border-radius: 5px;
    color: #fff !important;
    white-space: nowrap;
}

.navbar .btn-download:hover {
    background: transparent;
    color: var(--accent-color) !important;
}

/* --- Mobile Responsive Fix --- */
@media (max-width: 768px) {
    /* Mobile per bhi Flex rahega (Row mein) */
    .auth-group {
        width: 100%;
        justify-content: center; /* Center mein ajayein */
        margin-left: 0;
        margin-top: 15px; /* Thora gap uper se */
        gap: 15px; /* Mobile per thora khula fasla */
    }

    /* Buttons ka size adjust karein */
    .navbar .login-link, 
    .navbar .btn-download {
        display: inline-block;
        width: auto; /* Full width nahi hoga ab */
        margin: 0;
        padding: 10px 25px; /* Thora bada touch area mobile ke liye */
    }
}

/* --- LEADERBOARD PAGE STYLES --- */

/* Hero Image */
.leaderboard-header {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1511512578047-dfb367046420?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

/* Rank Filters */
.rank-filters {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    background: #222;
    border: 1px solid #333;
    padding: 10px 25px;
    color: #888;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-body);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

/* --- Top 3 Podium --- */
.podium-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Bottom align taake stairs jaisa lage */
    gap: 30px;
    padding-bottom: 30px;
}

.podium-card {
    background: #1a1a1a;
    border-radius: 15px 15px 0 0;
    text-align: center;
    padding: 20px;
    position: relative;
    border: 2px solid #333;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.podium-card h3 {
    font-size: 1.2rem;
    margin: 10px 0 5px;
}

.podium-card .score { color: #888; font-size: 0.9rem; }
.podium-card .winnings { color: #fff; font-weight: bold; font-size: 1.1rem; margin-top: 5px; }

.rank-avatar { position: relative; display: inline-block; }
.rank-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #333;
}

.rank-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #fff;
}

/* Gold / Winner Styling */
.podium-card.gold {
    height: 340px; /* Sab se lamba */
    border-color: #FFD700;
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.1), #1a1a1a);
    order: 2; /* Center mein lane ke liye */
    z-index: 2;
}
.podium-card.gold .crown i { color: #FFD700; font-size: 2rem; margin-bottom: 10px; }
.podium-card.gold .rank-avatar img { width: 100px; height: 100px; border-color: #FFD700; }
.podium-card.gold .rank-badge { background: #FFD700; color: #000; border-color: #FFD700; }

/* Silver Styling */
.podium-card.silver {
    height: 290px;
    border-color: #C0C0C0;
    order: 1; /* Left side */
}
.podium-card.silver .crown i { color: #C0C0C0; font-size: 1.5rem; margin-bottom: 10px; }
.podium-card.silver .rank-avatar img { border-color: #C0C0C0; }
.podium-card.silver .rank-badge { background: #C0C0C0; color: #000; border-color: #C0C0C0; }

/* Bronze Styling */
.podium-card.bronze {
    height: 260px;
    border-color: #CD7F32;
    order: 3; /* Right side */
}
.podium-card.bronze .crown i { color: #CD7F32; font-size: 1.5rem; margin-bottom: 10px; }
.podium-card.bronze .rank-avatar img { border-color: #CD7F32; }
.podium-card.bronze .rank-badge { background: #CD7F32; color: #000; border-color: #CD7F32; }


/* --- Ranking Table --- */
.leaderboard-table-wrapper {
    overflow-x: auto; /* Mobile scroll */
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Min width for mobile scroll */
}

.leaderboard-table th {
    background: #111;
    color: #888;
    padding: 15px;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.leaderboard-table td {
    padding: 15px;
    border-bottom: 1px solid #333;
    color: #ddd;
}

.leaderboard-table tbody tr:hover {
    background: #222;
}

/* Table Specific Columns */
.rank-num { font-weight: bold; color: var(--text-muted); font-size: 1.1rem; }
.money { color: #4caf50; font-weight: bold; }

.player-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.player-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Status Dots */
.status {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    background: #333;
}
.status.online { color: #4caf50; background: rgba(76, 175, 80, 0.1); }
.status.playing { color: var(--accent-color); background: rgba(233, 30, 99, 0.1); }
.status.offline { color: #666; background: rgba(255, 255, 255, 0.05); }

/* Mobile Responsive */
@media (max-width: 768px) {
    .podium-wrapper {
        flex-direction: column; /* Stack them */
        align-items: center;
    }
    
    .podium-card {
        width: 100%;
        max-width: 300px;
        height: auto !important; /* Reset height */
        border-radius: 15px;
        margin-bottom: 20px;
    }

    .podium-card.gold { order: 1; } /* Winner on top in mobile */
    .podium-card.silver { order: 2; }
    .podium-card.bronze { order: 3; }
}

/* --- POLICY / LEGAL PAGE STYLES --- */

/* Header Background */
.policy-header {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

/* Layout Wrapper */
.legal-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr; /* Left Menu fixed, Right Content auto */
    gap: 40px;
    align-items: start;
}

/* Sidebar Styling */
.legal-sidebar {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
    position: sticky;
    top: 100px; /* Sticky effect while scrolling */
}

.legal-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    color: var(--text-muted);
}

.tab-link {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: #bbb;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: 0.3s;
    font-family: var(--font-body);
}

.tab-link i {
    width: 25px;
    color: #666;
}

.tab-link:hover {
    background: #252525;
    color: #fff;
}

.tab-link.active {
    background: rgba(233, 30, 99, 0.1);
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

.tab-link.active i {
    color: var(--accent-color);
}

/* Content Area Styling */
.legal-content {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #333;
    min-height: 500px;
}

.tab-content {
    display: none; /* Hidden by default */
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block; /* Show via JS */
}

.legal-content h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #fff;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.legal-block {
    margin-bottom: 30px;
}

.legal-block h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.legal-block p, .legal-block ul li {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-block ul {
    list-style: disc;
    margin-left: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .legal-wrapper {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 20px;
    }

    .legal-sidebar {
        position: static; /* Sticky hata den mobile par */
        display: flex;
        flex-direction: column;
    }
    
    .legal-content {
        padding: 20px;
    }
}

/* --- SHOP & PRODUCT STYLES --- */

/* Shop Header Image */
.shop-header {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1552820728-8b83bb6b773f?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

/* --- SHOP LAYOUT (Sidebar + Grid) --- */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr; /* Sidebar fixed, Content flexible */
    gap: 40px;
}

/* Sidebar Styling */
.shop-sidebar {
    background: #151515;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    height: fit-content;
}

.filter-group {
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    width: 100%;
    padding: 10px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
}

.category-list li {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 0.95rem;
}

.category-list input {
    margin-right: 10px;
    accent-color: var(--accent-color);
}

.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-inputs input {
    width: 100%;
    padding: 8px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    text-align: center;
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

/* --- PRODUCT CARD --- */
.product-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.product-card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

.product-card .badge.sale { background: #ff9800; }

.prod-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.product-card:hover .prod-img img {
    transform: scale(1.1);
}

.prod-info { padding: 20px; }
.prod-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.prod-info .desc { color: #888; font-size: 0.9rem; margin-bottom: 15px; }

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-row .price { font-size: 1.2rem; font-weight: bold; color: #fff; }
.price-row .price del { font-size: 0.9rem; color: #666; margin-right: 5px; }

.btn-sm {
    background: #333;
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.btn-sm:hover { background: var(--accent-color); }

/* Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination button {
    width: 40px;
    height: 40px;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.pagination button.active, .pagination button:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* --- PRODUCT DETAIL PAGE --- */

.product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

/* Left: Gallery */
.main-image img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #333;
}

.thumb-grid {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumb-grid img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    border: 1px solid transparent;
}

.thumb-grid img.active, .thumb-grid img:hover {
    opacity: 1;
    border-color: var(--accent-color);
}

/* Right: Info */
.product-details .category-tag {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.product-details h1 {
    font-size: 2.5rem;
    margin: 10px 0;
}

.rating { margin-bottom: 20px; color: #ffb400; font-size: 0.9rem; }
.rating span { color: #888; margin-left: 10px; }

.product-details .price {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #333;
}

.description { color: #ccc; margin-bottom: 25px; line-height: 1.7; }

.features-list { margin-bottom: 30px; }
.features-list li { margin-bottom: 10px; color: #ddd; }
.features-list i { color: #4caf50; margin-right: 10px; }

/* Purchase Actions */
.purchase-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #444;
    border-radius: 5px;
}

.qty-selector button {
    background: #222;
    border: none;
    color: #fff;
    width: 40px;
    height: 100%;
    font-size: 1.2rem;
    cursor: pointer;
}

.qty-selector input {
    background: transparent;
    border: none;
    color: #fff;
    width: 50px;
    text-align: center;
    font-weight: bold;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
    width: 100%;
}

.meta-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

/* --- PRODUCT PAGE TABS --- */
.product-tabs-header {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.p-tab-btn {
    background: transparent;
    border: none;
    padding: 15px 0;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    font-family: var(--font-body);
}

.p-tab-btn.active {
    color: var(--accent-color);
    font-weight: bold;
}

.p-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
}

.p-tab-pane {
    display: none;
    color: #ccc;
    line-height: 1.7;
    animation: fadeIn 0.5s;
}

.p-tab-pane.active {
    display: block;
}

/* Reviews Design */
.review-item {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.review-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.specs-table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
}

.specs-table td {
    padding: 10px;
    border-bottom: 1px solid #333;
}

.specs-table tr td:first-child {
    color: #888;
    width: 150px;
}

/* --- MOBILE RESPONSIVE (Combined) --- */
@media (max-width: 900px) {
    /* Shop Page Stack */
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        margin-bottom: 30px;
    }
    
    /* Product Detail Stack */
    .product-wrapper {
        grid-template-columns: 1fr;
    }
    .purchase-actions {
        flex-direction: column;
    }
    .qty-selector {
        height: 50px;
        justify-content: center;
    }
}

/* --- CHECKOUT PAGE STYLES --- */

/* Header Background */
.checkout-header {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1646586994707-66c0c4e1648f?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Left bada, Right chota */
    gap: 40px;
}

/* Forms Styling */
.checkout-box {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 30px;
}

.box-title {
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-title i { color: var(--accent-color); }

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .input-group { flex: 1; }

.checkout-box label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.9rem;
}

.checkout-box input, .checkout-box select {
    width: 100%;
    padding: 12px;
    background: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
}

/* Payment Methods */
.payment-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.pay-tab {
    flex: 1;
    background: #222;
    border: 1px solid #333;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
}

.pay-tab i { display: block; font-size: 1.5rem; margin-bottom: 5px; color: #888; }
.pay-tab:hover { background: #2a2a2a; }

.pay-tab.active {
    background: rgba(233, 30, 99, 0.1);
    border-color: var(--accent-color);
    color: #fff;
}

.pay-tab.active i { color: var(--accent-color); }

.payment-content { display: none; animation: fadeIn 0.4s; }
.payment-content.active { display: block; }

/* Card Input specific */
.card-input-wrapper { position: relative; }
.card-input-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #fff;
}

/* Crypto specific */
.crypto-box {
    background: #0a0a0a;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #333;
}
.crypto-box img { background: #fff; padding: 10px; border-radius: 5px; margin: 15px 0; }
.wallet-address {
    background: #222;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    margin-top: 10px;
    font-family: monospace;
}
.copy-btn {
    background: none; border: none; color: var(--accent-color); cursor: pointer;
}

/* Wallet Balance */
.wallet-balance-box {
    text-align: center;
    background: linear-gradient(45deg, #1a1a1a, #2c0b15);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--accent-color);
}
.wallet-balance-box h2 { font-size: 2.5rem; color: #fff; margin: 10px 0; }

/* --- ORDER SUMMARY (Right Side) --- */
.order-summary {
    position: sticky;
    top: 100px; /* Sticky effect */
    height: fit-content;
}

.summary-box {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.summary-items { max-height: 300px; overflow-y: auto; margin-bottom: 20px; }

.sum-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #222;
}

.sum-item img { width: 50px; height: 50px; border-radius: 5px; object-fit: cover; }
.sum-info h4 { font-size: 0.95rem; margin-bottom: 3px; }
.sum-info p { color: #888; font-size: 0.85rem; }
.sum-price { margin-left: auto; font-weight: bold; }

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #ccc;
}

.total-row.final {
    border-top: 1px solid #333;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
}

/* Promo Code */
.promo-box { display: flex; gap: 10px; margin: 20px 0; }
.promo-box input { flex: 1; padding: 10px; background: #0a0a0a; border: 1px solid #333; color: #fff; border-radius: 4px; }
.promo-box button { padding: 10px 20px; background: #333; border: none; color: #fff; cursor: pointer; border-radius: 4px; }
.promo-box button:hover { background: var(--accent-color); }

.btn-checkout {
    background: #4caf50; /* Green for payment */
    border: none;
    width: 100%;
    padding: 15px;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-checkout:hover { background: #45a049; }

.security-badges {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.security-badges span { font-size: 0.8rem; font-family: sans-serif; }

/* Mobile */
@media (max-width: 900px) {
    .checkout-wrapper { grid-template-columns: 1fr; }
    .order-summary { position: static; order: -1; margin-bottom: 30px; } /* Summary on top for mobile */
}