/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0ff;
    --secondary: #f0f;
    --dark: #0a0a0a;
    --darker: #000;
    --light: #fff;
    --gray: #ccc;
    --dark-gray: #222;
    --success: #00ff88;
    --danger: #ff4444;
    --warning: #ff0;
    --info: #0ff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.fade-out {
    opacity: 0;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(0, 255, 255, 0.1);
    border-top: 4px solid var(--primary);
    border-right: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px var(--primary);
}

.loading-text {
    margin-top: 20px;
    color: var(--primary);
    font-size: 1.2rem;
    letter-spacing: 2px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Particle Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--darker) 0%, #1a1a2e 100%);
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--light);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a:hover {
    text-shadow: 0 0 20px var(--primary);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
}

.nav-links li {
    margin: 0;
    position: relative;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    transition: var(--transition);
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.nav-links a i {
    font-size: 1.1rem;
    color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-links a:hover i {
    transform: scale(1.2);
}

.nav-links a.active {
    background: rgba(0, 255, 255, 0.2);
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.nav-links .btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
}

.nav-links .btn:hover {
    background: var(--primary);
    color: var(--darker);
}

.nav-links .btn:hover i {
    color: var(--darker);
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.burger div {
    width: 30px;
    height: 3px;
    background: var(--primary);
    margin: 6px 0;
    transition: var(--transition);
    box-shadow: 0 0 5px var(--primary);
    border-radius: 2px;
}

/* Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--primary);
    color: var(--darker);
    box-shadow: 0 0 20px var(--primary);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn.neon-btn {
    animation: neonPulse 2s infinite;
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn.danger {
    border-color: var(--danger);
    color: var(--danger);
}

.btn.danger:hover {
    background: var(--danger);
    color: var(--light);
    box-shadow: 0 0 20px var(--danger);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary);
    }
    50% {
        box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary);
    }
}

/* ==================== FORM STYLES (Login, Register, Profile) ==================== */
.form-container {
    max-width: 500px;
    margin: 3rem auto;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    animation: slideInUp 0.5s ease;
}

.form-container h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.form-container p {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray);
}

.form-container p a {
    color: var(--primary);
    font-weight: 600;
}

.form-container p a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(34, 34, 34, 0.8);
    border: 1px solid var(--primary);
    color: var(--light);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 10px var(--primary);
    background: rgba(34, 34, 34, 1);
}

.form-group input[type="file"] {
    padding: 0.5rem;
    background: transparent;
}

.form-group input[type="file"]::-webkit-file-upload-button {
    background: var(--primary);
    color: var(--darker);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 1rem;
}

.form-group .input-hint {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.3rem;
}

/* Error and Success Messages */
.error-message,
.success-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.error-message {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.success-message {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid var(--success);
    color: var(--success);
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==================== DASHBOARD STYLES ==================== */
.dashboard {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.dashboard h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2.2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.dashboard h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--primary);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.stat-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.stat-card p {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--light);
    position: relative;
    z-index: 1;
}

/* Recent Sections */
.recent-joined,
.recent-transactions {
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--primary);
}

/* ==================== PROFILE STYLES ==================== */
.profile {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.profile h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.profile-pic {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-pic img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px var(--primary);
    object-fit: cover;
    transition: var(--transition);
}

.profile-pic img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary);
}

/* ==================== WALLET STYLES ==================== */
.wallet {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
}

.wallet h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2.2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.balance-card {
    background: linear-gradient(135deg, #111, #1a1a2e);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    animation: glow 3s infinite;
}

.balance-card h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.balance-card .balance {
    font-size: 4rem;
    font-weight: bold;
    color: var(--light);
    margin: 1.5rem 0;
    text-shadow: 0 0 10px var(--primary);
}

/* ==================== REDEEM STYLES ==================== */
.redeem {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid var(--primary);
}

.redeem h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.redeem p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light);
}

/* ==================== TOURNAMENT STYLES ==================== */
.tournaments {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.tournaments h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2.2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tournament-card {
    background: linear-gradient(135deg, #111, #1a1a2e);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.tournament-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,255,255,0.3);
}

.tournament-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,255,255,0.1), transparent);
    transition: left 0.5s;
}

.tournament-card:hover::before {
    left: 100%;
}

.tournament-card .card-header {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    padding: 1rem;
    text-align: center;
}

.tournament-card .card-header h3 {
    color: var(--darker);
    font-size: 1.3rem;
    margin: 0;
    font-weight: bold;
}

.tournament-card .card-body {
    padding: 2rem;
}

.tournament-card .free-tag,
.tournament-card .admin-badge {
    position: absolute;
    top: 20px;
    z-index: 2;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

.tournament-card .free-tag {
    right: 20px;
    background: var(--success);
    color: var(--darker);
}

.tournament-card .admin-badge {
    left: 20px;
    background: rgba(255, 0, 255, 0.9);
    color: var(--light);
}

.tournament-card .tournament-detail {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    color: var(--light);
    font-size: 1rem;
}

.tournament-card .tournament-detail i {
    width: 30px;
    color: var(--primary);
    font-size: 1.2rem;
}

.tournament-card .prize-pool {
    background: rgba(0,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin: 1.5rem 0;
    border: 1px dashed var(--primary);
}

.tournament-card .prize-pool .label {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tournament-card .prize-pool .amount {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    color: var(--primary);
    line-height: 1.2;
}

.tournament-card .skill-badge {
    display: inline-block;
    background: rgba(255,255,0,0.2);
    color: var(--warning);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--warning);
    margin: 0.2rem;
}

.tournament-card .card-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tournament-card .card-btn:hover {
    background: var(--primary);
    color: var(--darker);
    box-shadow: 0 0 30px var(--primary);
}

/* Social Verify Buttons */
.social-verify {
    margin-top: 1rem;
}

.social-btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.8rem;
    background: #222;
    border: 1px solid var(--light);
    color: var(--light);
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn i {
    margin-right: 0.5rem;
}

.social-btn.youtube-btn:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-btn.instagram-btn:hover {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
    border-color: transparent;
}

.social-btn.whatsapp-btn:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-btn.done {
    background: var(--success);
    border-color: var(--success);
    color: var(--darker);
    pointer-events: none;
}

.social-status {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.social-status .done {
    color: var(--success);
    font-size: 0.9rem;
}

/* ==================== MATCH DETAILS STYLES ==================== */
.match-details {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid var(--primary);
}

.match-details h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.room-details {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.room-details h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.room-details p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.room-details strong {
    color: var(--primary);
}

/* ==================== TABLE STYLES ==================== */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

table th {
    background: rgba(0, 255, 255, 0.2);
    color: var(--primary);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--light);
}

table tr:hover {
    background: rgba(0, 255, 255, 0.05);
}

table tr:last-child td {
    border-bottom: none;
}

.credit {
    color: var(--success);
    font-weight: bold;
}

.debit {
    color: var(--danger);
    font-weight: bold;
}

/* ==================== PAGINATION STYLES ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination a {
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: var(--darker);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-badge {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--darker);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content {
    z-index: 2;
    animation: slideInUp 1s ease-out;
    max-width: 1000px;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-highlight {
    color: var(--primary);
    animation: glow 3s infinite;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    color: var(--primary);
    opacity: 0.1;
    animation: float 6s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary); }
    50% { text-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary), 0 0 60px var(--primary); }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Stats Section */
.stats-section {
    padding: 4rem 2rem;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    margin: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(0,0,0,0.3));
    border-radius: 15px;
    border: 1px solid var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,255,255,0.2);
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    color: var(--primary);
    font-family: 'Arial Black', sans-serif;
    line-height: 1.2;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light);
}

/* No Tournaments Message */
.no-tournaments {
    text-align: center;
    padding: 4rem;
    background: rgba(0,255,255,0.05);
    border-radius: 15px;
    border: 2px dashed var(--primary);
    max-width: 600px;
    margin: 2rem auto;
}

.no-tournaments i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.no-tournaments h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--primary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary);
}

/* Skill Section */
.skill-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0a0a1a, #000);
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.skill-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0,255,255,0.05);
    border-radius: 15px;
    border: 1px solid var(--primary);
    transition: var(--transition);
}

.skill-card:hover {
    transform: scale(1.05);
    background: rgba(0,255,255,0.1);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: rgba(0,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary);
}

.skill-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.skill-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* How It Works */
.how-it-works {
    padding: 5rem 2rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    z-index: 1;
}

.step:last-child::after {
    display: none;
}

.step i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 2rem;
    background: rgba(17, 17, 17, 0.9);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(0,255,255,0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--primary);
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--primary);
    font-weight: bold;
}

.rating {
    color: var(--warning);
    margin-top: 0.5rem;
}

/* Legal Section */
.legal-section {
    padding: 4rem 2rem;
    background: #0a0a1a;
    border-top: 2px solid var(--primary);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.legal-card {
    padding: 2rem;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    border: 1px solid var(--primary);
    transition: var(--transition);
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,255,255,0.2);
}

.legal-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.legal-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.legal-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.legal-badge {
    display: inline-block;
    background: rgba(0,255,255,0.1);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    margin-top: 1rem;
    border: 1px solid var(--primary);
}

.disclaimer-box {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: rgba(255,0,0,0.1);
    border: 1px solid var(--danger);
    border-radius: 10px;
    text-align: center;
}

.disclaimer-box i {
    color: var(--danger);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.disclaimer-box h4 {
    color: var(--danger);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--darker);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--darker);
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--darker);
    color: var(--primary);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 2px solid var(--darker);
}

.cta-btn:hover {
    background: transparent;
    color: var(--darker);
    border-color: var(--darker);
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #0a0a1a;
    padding: 4rem 2rem 1rem;
    border-top: 2px solid var(--primary);
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--gray);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin: 0.8rem 0;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links i {
    color: var(--primary);
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(0,255,255,0.1);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--darker);
    transform: rotate(360deg) scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,255,255,0.2);
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--darker);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 99;
    box-shadow: 0 0 20px var(--primary);
    transition: var(--transition);
    font-size: 1.2rem;
}

.back-to-top:hover {
    transform: scale(1.1);
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: var(--primary);
    color: var(--darker);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    z-index: 1000;
    pointer-events: none;
    white-space: nowrap;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

.toast-success {
    background: var(--success);
    color: var(--darker);
}

.toast-error {
    background: var(--danger);
    color: var(--light);
}

.toast-warning {
    background: var(--warning);
    color: var(--darker);
}

.toast-info {
    background: var(--primary);
    color: var(--darker);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--primary);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    float: right;
    cursor: pointer;
    color: var(--primary);
    font-size: 1.2rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media screen and (max-width: 1024px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 0.2rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .tournament-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 85%;
        max-width: 350px;
        background: linear-gradient(135deg, #111 0%, #1a1a2e 100%);
        flex-direction: column;
        padding: 80px 20px 30px;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        border-left: 2px solid var(--primary);
        box-shadow: -5px 0 30px rgba(0, 255, 255, 0.3);
        z-index: 999;
        overflow-y: auto;
        gap: 0.5rem;
    }
    
    .nav-links.nav-active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.3s ease;
    }
    
    .nav-links.nav-active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links a {
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.03);
        margin: 2px 0;
    }
    
    .nav-links a i {
        width: 30px;
    }
    
    .nav-links .btn {
        background: rgba(0, 255, 255, 0.1);
        justify-content: center;
        margin-top: 10px;
    }
    
    .burger {
        display: block;
    }
    
    /* Stagger animation delays */
    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links li:nth-child(6) { transition-delay: 0.6s; }
    .nav-links li:nth-child(7) { transition-delay: 0.7s; }
    .nav-links li:nth-child(8) { transition-delay: 0.8s; }
    
    /* Hero section */
    .hero {
        min-height: 80vh;
        padding: 3rem 1rem;
    }
    
    .hero-badge {
        padding: 0.4rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    /* Tournament grid */
    .tournament-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Forms */
    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .form-container h2 {
        font-size: 1.8rem;
    }
    
    /* Dashboard */
    .dashboard {
        padding: 1rem;
    }
    
    .dashboard h1 {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Profile */
    .profile {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .profile h1 {
        font-size: 1.8rem;
    }
    
    /* Wallet */
    .wallet {
        padding: 1rem;
    }
    
    .balance-card {
        padding: 2rem;
    }
    
    .balance-card .balance {
        font-size: 3rem;
    }
    
    /* Table */
    .table-responsive {
        margin: 1rem 0;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 0.8rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Legal grid */
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    /* Steps */
    .step::after {
        display: none;
    }
    
    /* Feature tags */
    .feature-tag {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feature-tag span {
        width: 100%;
    }
    
    /* Back to top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    /* Stats grid */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero badge */
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }
    
    .cta-btn {
        width: 100%;
        padding: 0.8rem 2rem;
    }
    
    /* Balance card */
    .balance-card .balance {
        font-size: 2.5rem;
    }
    
    /* Disclaimer */
    .disclaimer-box {
        padding: 1rem;
    }
    
    /* Form inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
    }
    
    /* Tournament cards */
    .tournament-card .card-body {
        padding: 1.5rem;
    }
    
    /* Profile pic */
    .profile-pic img {
        width: 120px;
        height: 120px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.ml-1 { margin-left: 0.5rem; }
.mr-1 { margin-right: 0.5rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .btn,
    .back-to-top,
    .social-links {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
}