@import url('../standard/style.css');

:root {
  --bg:           #050505;
  --bg2:          rgba(20, 20, 25, 0.7);
  --primary:      #ff3c00;
  --primary-dim:  rgba(255, 60, 0, 0.15);
  --primary-glow: 0 0 30px rgba(255, 60, 0, 0.5);
  --accent:       #ffcc00;
  --text:         #ffffff;
  --text-dim:     #aaaaaa;
  --border:       rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 60, 0, 0.5);
}

/* Typography */
body { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 500; }
h1, h2, h3, .logo-text, .nav-link, .btn { 
    font-family: 'Syncopate', sans-serif; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 3px;
}

/* Glassmorphism */
.section, .adm-section, .page-main, .rank-controls, .site-header {
    background: rgba(15, 15, 20, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8) !important;
}

/* Header & Logo */
.site-header {
    border-bottom: 2px solid transparent !important;
    border-image: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent) 1;
}
.logo-text {
    background: linear-gradient(90deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(255,204,0,0.3));
}

/* Buttons & Interactive */
.btn-primary {
    background: linear-gradient(135deg, #ff3c00 0%, #ffcc00 100%) !important;
    color: #000 !important;
    border: none !important;
    box-shadow: var(--primary-glow) !important;
    transition: all 0.3s ease !important;
}
.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 45px rgba(255, 60, 0, 0.7) !important;
}

/* Ranking & Podium */
.podium-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.podium-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary) !important;
    transform: translateY(-10px) scale(1.02) !important;
}

/* Background */
.bg-overlay {
    background: radial-gradient(circle at center, rgba(5,5,5,0.4) 0%, rgba(0,0,0,0.95) 100%) !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
/* 3-Column FIXED Layout */
html, body {
    height: 100vh !important;
    overflow: hidden !important;
}
.site-header {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}
.site-footer {
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(15, 15, 20, 0.95) !important;
    backdrop-filter: blur(10px);
}
.page-main {
    position: fixed !important;
    top: var(--header-h);
    bottom: 56px; /* Footer height */
    left: 0; right: 0;
    margin-top: 0 !important;
    overflow: hidden !important;
}
.layout-container {
    display: grid !important;
    grid-template-columns: 320px 1fr 320px !important;
    height: 100% !important;
    gap: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.sidebar {
    height: 100% !important;
    overflow-y: auto !important;
    padding: 24px !important;
    background: rgba(0,0,0,0.2);
    border-right: 1px solid var(--border);
}
.sidebar-right { border-right: none; border-left: 1px solid var(--border); }

.content-center {
    height: 100% !important;
    overflow-y: auto !important;
    padding: 40px !important;
}

@media (max-width: 1200px) {
    html, body { height: auto !important; overflow: auto !important; }
    .site-header, .site-footer, .page-main { position: static !important; height: auto !important; }
    .layout-container { grid-template-columns: 1fr !important; display: block !important; }
    .sidebar, .content-center { height: auto !important; overflow: visible !important; }
}

/* ── 404 ERROR PAGE ── */
.error-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
  text-align: center;
  font-family: var(--font-main, 'Rajdhani', sans-serif);
}

.error-visual {
  position: relative;
  margin-bottom: 40px;
  max-width: 600px;
  width: 100%;
}

.error-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(232, 35, 42, 0.3);
  border: 1px solid rgba(232, 35, 42, 0.2);
}

.error-glitch-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-title, 'Orbitron', sans-serif);
  text-shadow: 0 0 20px rgba(232, 35, 42, 0.8);
  letter-spacing: 10px;
  pointer-events: none;
}

.error-title {
  font-family: var(--font-title, 'Orbitron', sans-serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--primary, #e8232a);
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.error-message {
  font-size: 18px;
  color: var(--text-dim, #aaa);
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 768px) {
  .error-glitch-text { font-size: 80px; }
  .error-title { font-size: 32px; }
  .error-actions { flex-direction: column; }
}
