*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #e7d63c;
    --gold-dim: rgba(231, 214, 60, 0.12);
    --gold-glow: rgba(231, 214, 60, 0.06);
    --black: #000;
    --dark: #080808;
    --dark2: #0e0e0e;
    --dark3: #151515;
    --dark4: #1c1c1c;
    --text: #a0a0a0;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gold-gradient: linear-gradient(135deg, #e7d63c 0%, #b5a41d 100%);
}

html { scroll-behavior: smooth; }

body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
ul { list-style: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nav-container {
    max-width: 1300px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.logo { font-size: 1.25rem; font-weight: 900; color: #fff; letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; }
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.2rem; }
.nav-links a { font-weight: 500; font-size: 0.75rem; color: #666; text-transform: uppercase; letter-spacing: 0.5px; position: relative; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 100%; height: 2px; background: var(--gold); border-radius: 1px;
}
.nav-discord { color: #5865F2 !important; }
.nav-discord:hover { color: #7289DA !important; }
.btn-shop {
    background: var(--gold) !important; color: var(--black) !important;
    padding: 0.4rem 1.1rem !important; border-radius: 8px; font-weight: 700 !important; font-size: 0.78rem !important;
}
.btn-shop:hover { background: #d4c435 !important; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(231,214,60,0.2); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 22px; height: 2px; background: #fff; transition: 0.3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* HERO */
.hero {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: var(--dark); overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(231,214,60,0.04) 0%, transparent 60%);
}
.particles { position: absolute; inset: 0; pointer-events: none; }
.particles canvas { display: block; }
.hero-bg-anim {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-block; font-size: 0.65rem; font-weight: 600; letter-spacing: 4px;
    color: var(--gold); background: var(--gold-dim); padding: 0.35rem 1.2rem;
    border-radius: 50px; margin-bottom: 1.5rem; text-transform: uppercase;
}
.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 900;
    color: #fff; letter-spacing: 8px; margin-bottom: 0.8rem; text-transform: uppercase;
}
.hero-content h1 span, .section-title span, h2 span, .page-header h1 span, .footer-logo span { color: var(--gold); }

.glitch { position: relative; animation: glitchShift 4s infinite; }
.glitch::before, .glitch::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit;
}
.glitch::before { color: var(--gold); z-index: -1; animation: glitch1 2.5s infinite; clip-path: inset(20% 0 60% 0); }
.glitch::after { color: #fff; z-index: -2; animation: glitch2 3s infinite; clip-path: inset(60% 0 10% 0); }
@keyframes glitch1 { 0%,100%{transform:translate(0)} 20%{transform:translate(-2px,1px)} 40%{transform:translate(2px,-1px)} 60%{transform:translate(-1px,1px)} 80%{transform:translate(1px,-1px)} }
@keyframes glitch2 { 0%,100%{transform:translate(0)} 25%{transform:translate(1px,-2px)} 50%{transform:translate(-2px,1px)} 75%{transform:translate(2px,1px)} }
@keyframes glitchShift { 0%,93%,100%{opacity:1} 94%{opacity:.85} 95%{opacity:1} 96%{opacity:.7} 97%{opacity:1} }

.tagline { font-size: 0.95rem; color: #444; margin-bottom: 2.5rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 400; }
.hero-buttons { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.7rem 1.6rem; font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; border-radius: var(--radius-sm);
    cursor: pointer; transition: all 0.25s ease; border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-primary:hover { background: transparent; color: var(--gold); box-shadow: 0 0 25px rgba(231,214,60,0.2); }
.btn-discord { background: #5865F2; color: #fff; border-color: transparent; }
.btn-discord:hover { background: rgba(88,101,242,0.8); color: #fff; box-shadow: 0 0 20px rgba(88,101,242,0.4); transform: translateY(-2px); }
.btn-outline { 
    background: rgba(255,255,255,0.03); color: #888; border-color: var(--glass-border); 
}
.btn-outline:hover { 
    background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2);
}

.btn-panel {
    background: rgba(231,214,60,0.1) !important;
    border: 1px solid rgba(231,214,60,0.2) !important;
    color: var(--gold) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: 0.3s;
    cursor: pointer;
}
.btn-panel:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
    transform: translateY(-2px);
}


.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); }
.scroll-indicator span {
    display: block; width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,0.12); border-radius: 11px; position: relative;
}
.scroll-indicator span::after {
    content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    width: 3px; height: 7px; background: var(--gold); border-radius: 2px; animation: scrollAnim 1.5s infinite;
}
@keyframes scrollAnim { 0%{opacity:1;transform:translateX(-50%) translateY(0)} 100%{opacity:0;transform:translateX(-50%) translateY(14px)} }

/* STATS */
.stats { padding: 5rem 0; background: var(--dark2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat-card {
    background: var(--dark3); border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover {
    border-color: rgba(231,214,60,0.12); transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.stat-icon { font-size: 1.3rem; color: var(--gold); margin-bottom: 1rem; opacity: 0.7; }
.stat-number { font-size: 2.5rem; font-weight: 900; color: #fff; display: block; line-height: 1; }
.stat-label { color: #555; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-top: 0.6rem; display: block; font-weight: 500; }

/* CTA */
.cta { padding: 5rem 0; }
.cta-card {
    background: linear-gradient(135deg, var(--dark3) 0%, var(--dark2) 100%);
    border: 1px solid rgba(231,214,60,0.08); border-radius: 20px;
    padding: 3.5rem; display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; position: relative; overflow: hidden;
}
.cta-card::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(231,214,60,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.cta-text h2 { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; letter-spacing: 0.5px; }
.cta-text p { color: #555; font-size: 0.95rem; }
.cta-buttons { display: flex; gap: 0.8rem; flex-shrink: 0; }

/* FOOTER */
.footer { padding: 3rem 0 2rem; background: var(--dark2); border-top: 1px solid rgba(255,255,255,0.03); }
.footer-content {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.footer-logo { font-size: 1.1rem; font-weight: 900; color: #fff; letter-spacing: 3px; text-transform: uppercase; }
.footer-desc { color: #444; font-size: 0.75rem; margin-top: 0.3rem; letter-spacing: 0.5px; }
.footer-center { display: flex; gap: 2rem; }
.footer-center a { color: #555; font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-center a:hover { color: var(--gold); }
.footer-social {
    display: flex; align-items: center; justify-content: center;
    color: #5865F2; font-size: 1.8rem;
    transition: all 0.25s ease;
}
.footer-social:hover { color: #fff; filter: drop-shadow(0 0 10px #5865F2); transform: translateY(-3px) scale(1.1); }
.footer-bottom { padding-top: 1.5rem; text-align: center; }
.footer-bottom p { color: #333; font-size: 0.7rem; letter-spacing: 0.5px; }

/* PAGE HEADER (regulamin) */
.page-header {
    padding: 5.5rem 2rem 1.5rem; text-align: center;
    background: linear-gradient(180deg, rgba(231,214,60,0.02) 0%, var(--dark) 100%);
}
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: 1px; margin-bottom: 0.6rem; }
.page-header p { color: #555; font-size: 0.95rem; }

/* RULES */
.rules-section { padding: 3rem 0 5rem; }
.rules-list { display: flex; flex-direction: column; gap: 1.2rem; }
.rule-card {
    background: var(--dark2); border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius); padding: 2rem 2.5rem; transition: all 0.3s ease;
}
.rule-card:hover { border-color: rgba(231,214,60,0.1); box-shadow: 0 4px 25px rgba(0,0,0,0.2); }
.rule-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.rule-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--gold-dim); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.rule-number { font-size: 0.7rem; font-weight: 700; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; display: block; }
.rule-card h3 { font-size: 1.1rem; font-weight: 700; color: #ddd; margin-top: 0.1rem; }
.rule-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.rule-card li {
    color: #777; padding-left: 1.4rem; position: relative; line-height: 1.7; font-size: 0.9rem;
}
.rule-card li::before {
    content: ''; position: absolute; left: 0; top: 0.65rem;
    width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-card { flex-direction: column; text-align: center; padding: 2.5rem; }
    .cta-buttons { justify-content: center; }
    .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 64px; left: 0; width: 100%;
        background: rgba(8,8,8,0.95); backdrop-filter: blur(20px);
        flex-direction: column; padding: 1.5rem; gap: 1.2rem;
        transform: translateY(-120%); transition: 0.35s ease;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .nav-links.show { transform: translateY(0); }
    .hero-content h1 { letter-spacing: 4px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .stat-card { padding: 1.5rem 1rem; }
    .stat-number { font-size: 2rem; }
    .rule-card { padding: 1.5rem; }
}

/* ══════════════ PREMIUM UI UTILITIES ══════════════ */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

.gold-glow {
    box-shadow: 0 0 30px rgba(231, 214, 60, 0.1);
}

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ══════════════ APPLICATIONS PAGE ══════════════ */
.app-section { padding: 2rem 0 4rem; position: relative; }

.app-section::before {
    content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(231,214,60,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.login-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 2.5rem; background: var(--dark2);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    max-width: 420px; margin: 1rem auto 2rem; position: relative; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.login-card::after {
    content: ''; position: absolute; inset: 0; 
    border-radius: inherit; padding: 1px; 
    background: linear-gradient(135deg, rgba(231,214,60,0.2), transparent 40%, transparent 60%, rgba(231,214,60,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude; pointer-events: none;
}
.login-icon { 
    font-size: 3rem; color: #5865F2; margin-bottom: 1.5rem; 
    filter: drop-shadow(0 0 15px rgba(88,101,242,0.3));
}
.login-card h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 0.8rem; letter-spacing: 1px; }
.login-card p { color: #666; margin-bottom: 2rem; font-size: 0.9rem; max-width: 320px; line-height: 1.6; }

.user-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.8rem 1.5rem; background: rgba(255,255,255,0.02); 
    border-radius: 50px; border: 1px solid var(--glass-border);
    margin-bottom: 2rem; backdrop-filter: blur(10px);
}
.user-info { display: flex; align-items: center; gap: 1rem; }
.user-avatar { 
    width: 42px; height: 42px; border-radius: 50%; 
    border: 2px solid var(--gold-dim); padding: 2px;
}
.user-info span { color: #fff; font-weight: 700; font-size: 0.95rem; }

.faction-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem; margin-bottom: 4rem;
}
.faction-card {
    background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden;
}
.faction-card:hover {
    background: rgba(231,214,60,0.03);
    border-color: rgba(231,214,60,0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.faction-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at top right, rgba(231,214,60,0.05), transparent 60%);
    opacity: 0; transition: 0.4s;
}
.faction-card:hover::before { opacity: 1; }
.faction-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 1rem; transition: 0.4s; }
.faction-card:hover .faction-icon { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(231,214,60,0.4)); }
.faction-card h3 { color: #fff; font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: 0.5px; }
.faction-card p { color: #666; font-size: 0.85rem; line-height: 1.6; }

.form-card {
    background: var(--dark2); border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg); padding: 2.5rem 3rem; max-width: 800px; margin: 0 auto 3rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5); position: relative;
}
.form-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 1.5rem; }
.form-header h2 { color: #fff; font-size: 1.8rem; font-weight: 800; }
.form-header p { color: var(--gold); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block; color: #fff; font-size: 0.8rem; font-weight: 700;
    margin-bottom: 0.5rem; letter-spacing: 0.5px;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 0.9rem 1.2rem; background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
    color: #fff; font-size: 0.9rem; transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--gold); background: rgba(0,0,0,0.4);
    box-shadow: 0 0 0 4px rgba(231,214,60,0.05);
}

.my-app-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 2rem; background: rgba(255,255,255,0.015); border: 1px solid var(--glass-border);
    border-radius: 16px; margin-bottom: 1rem; transition: 0.3s;
}
.my-app-card:hover { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); }

/* ══════════════ MODAL & PANEL STYLES ══════════════ */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
    z-index: 1000; padding: 2rem;
}
.modal-container {
    width: 100%; max-width: 900px; max-height: 90vh; overflow-y: auto;
    position: relative; animation: modalFade 0.3s ease-out;
}
@keyframes modalFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 2rem; border-bottom: 1px solid var(--glass-border);
}
.modal-header h2 { font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: 0.8rem; }
.btn-close { background: none; border: none; color: #555; font-size: 1.5rem; cursor: pointer; transition: 0.2s; }
.btn-close:hover { color: #fff; }

.modal-body { padding: 2rem; }

.panel-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; }
.panel-main { display: flex; flex-direction: column; gap: 2rem; }

.panel-user-header { display: flex; align-items: center; gap: 1.5rem; }
.panel-avatar { width: 80px; height: 80px; border-radius: 20px; border: 2px solid var(--gold-dim); padding: 4px; }
.panel-user-header h3 { color: #fff; font-size: 1.5rem; font-weight: 800; }
.panel-user-header p { color: #666; font-size: 0.9rem; margin-top: 0.2rem; }

.panel-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-box {
    background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border);
    padding: 1.2rem; border-radius: var(--radius); display: flex; align-items: center; gap: 1rem;
}
.stat-box i { font-size: 1.5rem; color: var(--gold); opacity: 0.7; }
.stat-box span { display: block; color: #555; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.2rem; }
.stat-box strong { color: #fff; font-size: 1rem; font-weight: 800; }

.panel-section h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.asset-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.asset-item {
    background: rgba(255,255,255,0.015); border: 1px solid var(--glass-border);
    padding: 0.8rem 1.2rem; border-radius: 12px; display: flex; align-items: center; gap: 1rem;
}
.asset-item i { color: #444; }
.asset-item span { color: #bbb; font-weight: 600; font-size: 0.85rem; }
.badge-outline { border: 1px solid rgba(255,255,255,0.1); color: var(--gold); font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; margin-left: auto; }

.panel-side-box {
    background: rgba(231, 214, 60, 0.03); border: 1px solid rgba(231, 214, 60, 0.1);
    border-radius: var(--radius); padding: 1.5rem;
}
.panel-side-box h4 { color: var(--gold); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; margin-bottom: 1.2rem; text-align: center; }

.mini-stats { display: flex; flex-direction: column; gap: 1rem; }
.mini-stat { display: flex; align-items: center; justify-content: space-between; padding-bottom: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.03); }
.mini-stat:last-child { border: none; padding-bottom: 0; }
.mini-stat .val { font-size: 1.4rem; font-weight: 900; }
.mini-stat .lbl { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; opacity: 0.6; }

.mini-stat.accepted .val { color: #22c55e; }
.mini-stat.pending .val { color: var(--gold); }
.mini-stat.rejected .val { color: #ef4444; }

.loader-container { padding: 4rem; display: flex; justify-content: center; }
.loader { width: 40px; height: 40px; border: 3px solid rgba(255,255,255,0.05); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
    .panel-layout { grid-template-columns: 1fr; }
    .panel-grid-3 { grid-template-columns: 1fr; }
    .asset-list { grid-template-columns: 1fr; }
}
order-radius: var(--radius-sm); margin-bottom: 0.6rem;
}
.my-app-left { display: flex; align-items: center; gap: 1rem; }
.my-app-left i { color: var(--gold); font-size: 1.1rem; opacity: 0.7; }
.my-app-left strong { color: #ddd; font-size: 0.9rem; display: block; }
.my-app-date { color: #444; font-size: 0.75rem; }
.empty-text { color: #444; text-align: center; padding: 2rem; font-size: 0.9rem; }

.status-badge {
    padding: 0.25rem 0.8rem; border-radius: 50px; font-size: 0.7rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.status-pending { background: rgba(234,179,8,0.12); color: #eab308; }
.status-accepted { background: rgba(74,222,128,0.12); color: #4ade80; }
.status-rejected { background: rgba(239,68,68,0.12); color: #ef4444; }

/* ══════════════ ADMIN PANEL ══════════════ */

.admin-filters {
    display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem;
}
.filter-btn {
    padding: 0.5rem 1.2rem; background: var(--dark3); border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px; color: #666; font-family: 'Inter', sans-serif; font-size: 0.8rem;
    font-weight: 600; cursor: pointer; transition: 0.2s;
}
.filter-btn:hover { color: #aaa; border-color: rgba(255,255,255,0.08); }
.filter-btn.active { background: var(--gold-dim); color: var(--gold); border-color: rgba(231,214,60,0.2); }
.filter-select {
    padding: 0.5rem 1rem; background: var(--dark3); border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px; color: #888; font-family: 'Inter', sans-serif; font-size: 0.8rem;
    cursor: pointer; outline: none; margin-left: auto;
}

.admin-app-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.5rem; background: var(--dark2); border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-sm); margin-bottom: 0.6rem; cursor: pointer; transition: 0.2s;
}
.admin-app-card:hover { border-color: rgba(231,214,60,0.1); }
.admin-app-left { display: flex; align-items: center; gap: 1rem; }
.admin-app-avatar { width: 36px; height: 36px; border-radius: 50%; }
.admin-app-left strong { color: #ddd; font-size: 0.9rem; display: block; }
.admin-app-faction { color: #555; font-size: 0.8rem; }
.admin-app-faction i { color: var(--gold); margin-right: 0.3rem; opacity: 0.6; }
.admin-app-right { display: flex; align-items: center; gap: 1rem; }
.admin-app-date { color: #444; font-size: 0.75rem; }

.modal {
    position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
    padding: 2rem;
}
.modal-content {
    background: var(--dark2); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; max-width: 650px; width: 100%; max-height: 85vh;
    overflow-y: auto; padding: 2rem;
}
.modal-header {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem;
}
.modal-header h2 { color: #fff; font-size: 1.15rem; font-weight: 700; }
.modal-close {
    background: var(--dark3); border: 1px solid rgba(255,255,255,0.06);
    color: #888; width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.2s; font-size: 0.9rem;
}
.modal-close:hover { color: #ef4444; }
.modal-body { margin-bottom: 1.5rem; }
.modal-field { margin-bottom: 1rem; }
.modal-field label {
    display: block; color: #666; font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.3rem;
}
.modal-field p { color: #ccc; font-size: 0.9rem; line-height: 1.6; }
.modal-actions {
    display: flex; gap: 0.8rem; flex-wrap: wrap; padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.btn-accept {
    background: rgba(74,222,128,0.12); color: #4ade80; border: 1px solid rgba(74,222,128,0.2);
    padding: 0.6rem 1.5rem; border-radius: 8px; font-family: 'Inter', sans-serif;
    font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: 0.2s; flex: 1;
}
.btn-accept:hover { background: #4ade80; color: #000; }
.btn-reject {
    background: rgba(239,68,68,0.12); color: #ef4444; border: 1px solid rgba(239,68,68,0.2);
    padding: 0.6rem 1.5rem; border-radius: 8px; font-family: 'Inter', sans-serif;
    font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: 0.2s; flex: 1;
}
.btn-reject:hover { background: #ef4444; color: #fff; }

@media (max-width: 768px) {
    .user-bar { flex-direction: column; gap: 1rem; }
    .admin-app-card { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .modal-content { padding: 1.5rem; }
    .modal-actions { flex-direction: column; }
}

/* ══════════════ NEW REGULAMIN STYLES ══════════════ */
.rules-intro { margin-bottom: 4rem; }
.intro-card { 
    background: var(--dark2); border: 1px solid rgba(231,214,60,0.1); 
    padding: 3rem 2rem; border-radius: 20px; text-align: center; 
    position: relative; overflow: hidden; 
}
.intro-icon { font-size: 3rem; color: var(--gold); margin-bottom: 1.5rem; opacity: 0.8; }
.intro-card h2 { font-weight: 800; font-size: 2rem; margin-bottom: 1rem; color: #fff; }
.intro-card p { color: #888; max-width: 800px; margin: 0 auto; line-height: 1.8; }
.intro-note { 
    margin-top: 2rem; padding: 1rem; background: rgba(231, 214, 60, 0.04); 
    border-radius: 12px; font-style: italic; color: var(--gold); font-size: 0.9rem;
    border-left: 3px solid var(--gold);
}

.chapter-title { 
    margin: 5rem 0 3rem; text-align: center; position: relative;
    display: flex; flex-direction: column; align-items: center;
}
.chapter-title::after {
    content: ''; width: 50px; height: 3px; background: var(--gold);
    margin-top: 15px; border-radius: 2px;
}
.chapter-num { color: #555; text-transform: uppercase; font-size: 0.8rem; font-weight: 800; letter-spacing: 4px; margin-bottom: 5px; }
.chapter-title h2 { font-size: 2.2rem; color: #fff; font-weight: 900; letter-spacing: 1px; }

.rules-grid { 
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 1.2rem; margin-top: 2rem; justify-content: center;
}
.def-card { 
    background: var(--dark3); padding: 1.8rem; border-radius: 15px; 
    border: 1px solid rgba(255,255,255,0.03); transition: 0.3s; 
    text-align: center;
}
.def-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.def-card h4 { color: var(--gold); margin-bottom: 0.8rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.def-card p { font-size: 0.85rem; color: #666; line-height: 1.6; }

.zones-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.zone-card { padding: 2.5rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.03); text-align: center; }
.zone-card.green { background: linear-gradient(135deg, rgba(34, 197, 94, 0.04) 0%, transparent 100%); border-color: rgba(34, 197, 94, 0.1); }
.zone-card.red { background: linear-gradient(135deg, rgba(239, 68, 68, 0.04) 0%, transparent 100%); border-color: rgba(239, 68, 68, 0.1); }
.zone-card h3 { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 1.5rem; font-size: 1.3rem; }
.zone-card.green h3 { color: #22c55e; }
.zone-card.red h3 { color: #ef4444; }
.zone-card p { color: #fff; font-weight: 600; margin-bottom: 1rem; font-size: 0.95rem; }
.zone-card ul { display: inline-block; text-align: left; }
.zone-card ul li { color: #666; font-size: 0.85rem; margin-bottom: 0.4rem; list-style: disc; margin-left: 1.2rem; }

.limits-section { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.limit-group { background: var(--dark2); padding: 2.5rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.04); }
.limit-group h3 { margin-bottom: 1.8rem; color: var(--gold); display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 1.2rem; }
.limit-table { display: flex; flex-direction: column; gap: 0.8rem; }
.limit-row { 
    display: flex; justify-content: space-between; padding: 0.8rem 0; 
    border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 0.85rem; 
}
.limit-row span:first-child { color: #aaa; }
.limit-row span:last-child { color: var(--gold); font-weight: 700; }

@media (max-width: 900px) {
    .zones-grid, .limits-section { grid-template-columns: 1fr; }
}

/* ══════════════ ANIMATIONS ══════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar gradient scroll effect */
.navbar.scrolled {
    background: rgba(8, 8, 8, 0.95);
    border-bottom: 1px solid rgba(231, 214, 60, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* ══════════════ PREMIUM UI ELEMENTS ══════════════ */
/* Preloader */
#preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--dark); display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease; flex-direction: column; gap: 1rem;
}
.loader-glitch { font-size: 2.5rem; font-weight: 900; color: #fff; letter-spacing: 5px; position: relative; animation: glitchShift 2s infinite; }
.loader-glitch span { color: var(--gold); }
.loader-bar { width: 150px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; position: relative;}
.loader-bar::after { content: ''; position: absolute; left: -50px; top: 0; height: 100%; width: 50px; background: var(--gold); animation: loadBar 1s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes loadBar { 0% { left: -50px; } 100% { left: 100%; } }

/* Custom Cursor */
@media (min-width: 769px) {
    body { cursor: none; }
    a, button, input, textarea, select { cursor: none; }
}
.cursor-dot {
    width: 6px; height: 6px; background-color: var(--gold);
    position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
    border-radius: 50%; z-index: 9999999; pointer-events: none;
    box-shadow: 0 0 10px var(--gold);
}
.cursor-outline {
    width: 30px; height: 30px; border: 2px solid rgba(231,214,60, 0.5);
    position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
    border-radius: 50%; z-index: 9999998; pointer-events: none; transition: transform 50ms ease-out, background-color 50ms ease-out;
}

/* 3D Tilt */
.tilt-effect { transition: transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform-style: preserve-3d; will-change: transform; }

/* Masonry Gallery */
.masonry {
    column-count: 3; column-gap: 1.5rem; padding: 2rem 0;
}
.masonry-item {
    break-inside: avoid; margin-bottom: 1.5rem; position: relative;
    border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05);
}
.masonry-item img {
    width: 100%; display: block; border-radius: 16px; transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.05); filter: brightness(1.1); }

@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 600px) { .masonry { column-count: 1; } }

/* Ekipa Grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.team-card {
    background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
    border: 1px solid var(--glass-border); border-radius: 20px; padding: 2.5rem; text-align: center;
    position: relative; overflow: hidden;
}
.team-avatar {
    width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1.5rem auto; object-fit: cover;
    border: 3px solid var(--gold-dim); box-shadow: 0 0 30px rgba(231,214,60,0.1);
}
.team-card h3 { color: #fff; font-size: 1.4rem; font-weight: 800; }
.team-role { color: var(--gold); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; display: block; }
.team-desc { color: #666; font-size: 0.9rem; line-height: 1.6; }

/* ══════════════ SMOOTH UX ENHANCEMENTS ══════════════ */
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark); 
}
::-webkit-scrollbar-thumb {
    background: rgba(231, 214, 60, 0.3); 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(231, 214, 60, 0.8); 
}

/* Page Transitions */
body {
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}
body.fade-out {
    opacity: 0 !important;
}

/* Magnetic Element Class */
.magnetic {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* ══════════════ EXTREME PREMIUM VISUALS ══════════════ */
/* Cinematic Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform, filter;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Sweeping Glow Cards */
.glow-card {
    position: relative;
    z-index: 1;
}
.glow-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, transparent, rgba(231,214,60,0.8), transparent);
    background-size: 200% 100%;
    z-index: -1;
    border-radius: inherit;
    animation: sweep 3s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.glow-card:hover::before {
    opacity: 1;
}
@keyframes sweep {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Button Sweep Inside */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}
.btn-primary:hover::after {
    left: 0;
}

/* Global Ambient Pulse */
.mesh-bg {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(231,214,60,0.06), transparent 35%),
        radial-gradient(circle at 80% -20%, rgba(231,214,60,0.04), transparent 35%);
    animation: meshPulse 8s alternate infinite ease-in-out;
}
@keyframes meshPulse {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* ══════════════ STORE UI ══════════════ */
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.store-card {
    background: linear-gradient(145deg, var(--dark2) 0%, var(--dark) 100%);
    border: 1px solid var(--glass-border); border-radius: 20px; padding: 2.5rem; text-align: center;
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
}
.store-icon-wrapper {
    background: rgba(231,214,60,0.05); width: 80px; height: 80px; border-radius: 50%;
    margin: 0 auto 1.5rem auto; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(231,214,60,0.2); box-shadow: 0 0 25px rgba(231,214,60,0.1);
}
.store-icon-wrapper i { font-size: 2rem; color: var(--gold); }
.store-card h3 { color: #fff; font-size: 1.5rem; font-weight: 800; }
.store-price { color: var(--gold); font-size: 1.6rem; font-weight: 900; margin: 1rem 0; letter-spacing: 1px; }
.store-features { margin-bottom: 2rem; text-align: left; }
.store-features li {
    position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; color: #aaa; font-size: 0.9rem;
}
.store-features li i { position: absolute; left: 0; top: 3px; color: var(--gold); font-size: 0.8rem; }
.store-image { width: 100%; border-radius: 12px; margin-bottom: 1.5rem; object-fit: cover; border: 1px solid rgba(255,255,255,0.05); }
