 /* ─── PREMIUM DARK DESIGN TOKENS (ABYSS THEME) ─── */
 :root {
     --bg-base: #07090f;
     --bg-subtle: #0f1423;
     --bg-surface: #141a2e;

     --text-main: #ffffff;
     --text-muted: #94a3b8;

     /* Darkened borders as requested */
     --border-light: rgba(255, 255, 255, 0.4);
     --border-hover: rgba(255, 255, 255, 0.6);

     --brand-gold: #fbbf24;
     --brand-gold-light: #fde047;
     --brand-gold-dark: #d97706;

     --brand-primary: var(--brand-gold);
     --brand-secondary: #e2e8f0;
     --brand-accent: var(--brand-gold);

     --brand-gradient: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold-dark));
     --gold-gradient: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold-dark));

     --success: #10b981;
     --warning: #fbbf24;
     --danger: #ef4444;

     --font-main: 'Plus Jakarta Sans', sans-serif;
     --max-w: 1200px;

     --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
     --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.5);
     --shadow-glow: 0 10px 30px -10px rgba(251, 191, 36, 0.25);

     --radius-sm: 8px;
     --radius-md: 12px;
     --radius-lg: 20px;

     --transition: all 0.2s ease-in-out;
     --header-bg: rgba(7, 9, 15, 0.85);
 }

 * {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: var(--font-main);
     background-color: var(--bg-base);
     color: var(--text-main);
     line-height: 1.6;
     -webkit-font-smoothing: antialiased;
     overflow-x: hidden;
     position: relative;
 }

 a {
     text-decoration: none;
     color: inherit;
 }

 button {
     border: none;
     background: none;
     font-family: inherit;
     cursor: pointer;
 }

 .container {
     width: 100%;
     max-width: var(--max-w);
     margin: 0 auto;
     padding: 0 24px;
     position: relative;
     z-index: 10;
 }

 /* ─── AMBIENT LIGHT BLOOMS ─── */
 .ambient-bloom {
     position: absolute;
     border-radius: 50%;
     filter: blur(120px);
     pointer-events: none;
     z-index: 0;
     opacity: 0.35;
 }

 .bloom-gold {
     background: rgba(251, 191, 36, 0.25);
 }

 .bloom-violet {
     background: rgba(124, 58, 237, 0.15);
 }

 .bloom-dark-purple {
     background: rgba(88, 28, 135, 0.20);
 }

 /* ─── HEADER ─── */
 .header {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     z-index: 1000;
     background: var(--header-bg);
     backdrop-filter: blur(20px);
     border-bottom: 1px solid var(--border-light);
     transition: var(--transition);
 }

 .header.scrolled {
     box-shadow: var(--shadow-sm);
 }

 .nav-container {
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 80px;
     max-width: 1600px;
     margin: 0 auto;
     padding: 0 24px;
 }

 .brand {
     display: flex;
     align-items: center;
     gap: 10px;
     font-weight: 900;
     font-size: 24px;
     color: var(--text-main);
     letter-spacing: -0.05em;
 }

 .brand-logo {
     height: 85px;
     width: auto;
     display: block;
     object-fit: contain;
     filter: brightness(0) invert(1);
     margin-left: -8px;
 }

 .nav-actions {
     display: flex;
     gap: 12px;
     align-items: center;
 }

 .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     padding: 12px 24px;
     border-radius: 999px;
     font-weight: 700;
     font-size: 15px;
     transition: var(--transition);
     cursor: pointer;
     border: 1px solid var(--border-light);
 }

 .btn-primary {
     background: var(--brand-gradient);
     color: #000 !important;
     box-shadow: var(--shadow-glow);
 }

 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 15px 40px -5px rgba(251, 191, 36, 0.4);
 }

 .btn-outline {
     background: transparent;
     color: var(--text-main);
 }

 .btn-outline:hover {
     border-color: var(--brand-gold);
 }

 /* ─── HERO BANNER ─── */
 .eula-hero {
     padding: 180px 0 80px;
     text-align: center;
     position: relative;
     border-bottom: 1px solid var(--border-light);
     overflow: hidden;
 }

 .eula-badge {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: rgba(251, 191, 36, 0.08);
     border: 1px solid var(--border-light);
     border-radius: 999px;
     padding: 6px 16px;
     font-size: 13px;
     font-weight: 800;
     text-transform: uppercase;
     letter-spacing: 0.05em;
     color: var(--brand-gold);
     margin-bottom: 24px;
     position: relative;
     z-index: 10;
 }

 .eula-hero h1 {
     font-size: clamp(2.5rem, 5vw, 4rem);
     font-weight: 900;
     letter-spacing: -0.04em;
     line-height: 1.1;
     margin-bottom: 20px;
     position: relative;
     z-index: 10;
 }

 .text-gradient {
     background: var(--gold-gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     display: inline-block;
 }

 .eula-hero p {
     font-size: 18px;
     color: var(--text-muted);
     max-width: 560px;
     margin: 0 auto 32px;
     font-weight: 500;
     position: relative;
     z-index: 10;
 }

 .eula-meta {
     display: inline-flex;
     align-items: center;
     gap: 24px;
     font-size: 13px;
     color: var(--text-muted);
     font-weight: 600;
     position: relative;
     z-index: 10;
 }

 .eula-meta span {
     display: flex;
     align-items: center;
     gap: 6px;
 }

 /* ─── MAIN CONTENT LAYOUT ─── */
 .eula-layout {
     display: grid;
     grid-template-columns: 260px 1fr;
     gap: 48px;
     padding: 64px 0 120px;
     align-items: start;
     position: relative;
     z-index: 10;
 }

 /* ─── SIDEBAR TOC ─── */
 .toc {
     position: sticky;
     top: 120px;
 }

 .toc-title {
     font-size: 12px;
     font-weight: 800;
     letter-spacing: 0.1em;
     text-transform: uppercase;
     color: var(--text-muted);
     margin-bottom: 16px;
 }

 .toc-list {
     display: flex;
     flex-direction: column;
     gap: 4px;
 }

 .toc-list a {
     display: flex;
     align-items: center;
     gap: 10px;
     font-size: 14px;
     font-weight: 600;
     color: var(--text-muted);
     padding: 10px 14px;
     border-radius: var(--radius-sm);
     transition: var(--transition);
     border: 1px solid transparent;
 }

 .toc-list a:hover,
 .toc-list a.active {
     color: var(--brand-gold);
     background: rgba(251, 191, 36, 0.05);
     border-color: var(--border-light);
 }

 .toc-number {
     font-size: 11px;
     font-weight: 800;
     color: var(--text-muted);
     background: var(--bg-subtle);
     border: 1px solid var(--border-light);
     border-radius: 4px;
     padding: 2px 6px;
     min-width: 24px;
     text-align: center;
 }

 .toc-list a.active .toc-number {
     color: #000;
     background: var(--brand-gold);
     border-color: var(--brand-gold);
 }

 .toc-cta {
     margin-top: 32px;
     padding: 20px;
     background: var(--bg-surface);
     border-radius: var(--radius-md);
     border: 1px solid var(--border-light);
     box-shadow: var(--shadow-sm);
 }

 .toc-cta p {
     font-size: 13px;
     color: var(--text-muted);
     margin-bottom: 12px;
     line-height: 1.5;
     font-weight: 500;
 }

 .toc-cta a {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     font-size: 13px;
     font-weight: 700;
     color: var(--brand-gold);
 }

 .toc-cta a:hover {
     opacity: 0.8;
 }

 /* ─── EULA CONTENT ─── */
 .eula-content {
     min-width: 0;
 }

 /* Alert banner */
 .eula-alert {
     display: flex;
     gap: 16px;
     background: var(--bg-surface);
     border: 1px solid var(--border-light);
     border-radius: var(--radius-md);
     padding: 24px;
     margin-bottom: 48px;
     box-shadow: var(--shadow-sm);
 }

 .eula-alert-icon {
     width: 48px;
     height: 48px;
     flex-shrink: 0;
     background: var(--brand-gradient);
     border-radius: var(--radius-sm);
     border: 1px solid var(--border-light);
     display: grid;
     place-items: center;
     color: #000;
 }

 .eula-alert strong {
     display: block;
     font-size: 16px;
     margin-bottom: 6px;
     color: var(--text-main);
 }

 .eula-alert p {
     font-size: 14px;
     color: var(--text-muted);
     line-height: 1.6;
 }

 /* Sections */
 .eula-section {
     margin-bottom: 64px;
 }

 .section-header {
     display: flex;
     align-items: center;
     gap: 16px;
     margin-bottom: 24px;
     padding-bottom: 16px;
     border-bottom: 1px solid var(--border-light);
     max-width: 100% !important;
 }

 .section-num {
     width: 40px;
     height: 40px;
     flex-shrink: 0;
     background: var(--brand-gradient);
     border-radius: var(--radius-sm);
     border: 1px solid var(--border-light);
     display: grid;
     place-items: center;
     font-size: 15px;
     font-weight: 800;
     color: #000;
 }

 .section-header h2 {
     font-size: 24px;
     font-weight: 800;
     letter-spacing: -0.03em;
     color: var(--text-main);
 }

 .eula-section p {
     font-size: 16px;
     color: var(--text-muted);
     line-height: 1.8;
     margin-bottom: 16px;
     font-weight: 500;
 }

 .eula-section p:last-child {
     margin-bottom: 0;
 }

 /* Permission / Prohibition cards */
 .rule-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 24px;
     margin-top: 8px;
 }

 .rule-card {
     border-radius: var(--radius-md);
     border: 1px solid var(--border-light);
     overflow: hidden;
     background: var(--bg-surface);
     box-shadow: var(--shadow-sm);
 }

 .rule-card-header {
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 16px 20px;
     font-size: 13px;
     font-weight: 800;
     text-transform: uppercase;
     letter-spacing: 0.08em;
 }

 .rule-card.allowed .rule-card-header {
     background: rgba(16, 185, 129, 0.1);
     color: var(--success);
     border-bottom: 1px solid rgba(16, 185, 129, 0.2);
 }

 .rule-card.prohibited .rule-card-header {
     background: rgba(239, 68, 68, 0.1);
     color: var(--danger);
     border-bottom: 1px solid rgba(239, 68, 68, 0.2);
 }

 .rule-list {
     padding: 20px;
     display: flex;
     flex-direction: column;
     gap: 16px;
 }

 .rule-item {
     display: flex;
     gap: 12px;
     font-size: 14px;
     font-weight: 500;
     color: var(--text-muted);
     line-height: 1.6;
 }

 .rule-item .rule-icon {
     flex-shrink: 0;
     margin-top: 2px;
 }

 .rule-card.allowed .rule-icon {
     color: var(--success);
 }

 .rule-card.prohibited .rule-icon {
     color: var(--danger);
 }

 /* Warning / Disclaimer cards */
 .warning-card {
     border-radius: var(--radius-md);
     border: 1px solid rgba(251, 191, 36, 0.2);
     background: rgba(251, 191, 36, 0.05);
     padding: 24px;
     margin-bottom: 24px;
 }

 .warning-card h3 {
     font-size: 14px;
     font-weight: 800;
     text-transform: uppercase;
     letter-spacing: 0.08em;
     color: var(--warning);
     margin-bottom: 12px;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .warning-card p {
     font-size: 14px;
     color: var(--text-muted);
     line-height: 1.7;
     margin-bottom: 0;
     font-weight: 500;
 }

 .danger-card {
     border-radius: var(--radius-md);
     border: 1px solid rgba(239, 68, 68, 0.2);
     background: rgba(239, 68, 68, 0.05);
     padding: 24px;
     margin-bottom: 24px;
 }

 .danger-card h3 {
     font-size: 14px;
     font-weight: 800;
     text-transform: uppercase;
     letter-spacing: 0.08em;
     color: var(--danger);
     margin-bottom: 12px;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .danger-card p {
     font-size: 14px;
     color: var(--text-muted);
     line-height: 1.7;
     margin-bottom: 0;
     font-weight: 500;
 }

 /* Definition block */
 .def-block {
     background: var(--bg-surface);
     border: 1px solid var(--border-light);
     border-radius: var(--radius-md);
     padding: 24px;
     margin-bottom: 20px;
     box-shadow: var(--shadow-sm);
 }

 .def-block dt {
     font-size: 14px;
     font-weight: 800;
     color: var(--brand-gold);
     text-transform: uppercase;
     letter-spacing: 0.06em;
     margin-bottom: 8px;
 }

 .def-block dd {
     font-size: 15px;
     color: var(--text-muted);
     line-height: 1.7;
     font-weight: 500;
 }

 /* Copyright footer strip */
 .eula-copyright {
     display: flex;
     align-items: center;
     gap: 20px;
     background: var(--bg-surface);
     border: 1px solid var(--border-light);
     border-radius: var(--radius-md);
     padding: 24px;
     margin-top: 24px;
     box-shadow: var(--shadow-sm);
 }

 .copyright-icon {
     width: 48px;
     height: 48px;
     flex-shrink: 0;
     background: var(--brand-gradient);
     border: 1px solid var(--border-light);
     border-radius: var(--radius-sm);
     display: grid;
     place-items: center;
     color: #000;
 }

 .eula-copyright strong {
     font-size: 16px;
     display: block;
     margin-bottom: 6px;
     color: var(--text-main);
 }

 .eula-copyright p {
     font-size: 14px;
     color: var(--text-muted);
     margin: 0;
 }

 /* ─── FOOTER ─── */
 .footer {
     padding: 60px 0;
     background: var(--bg-base);
     border-top: 1px solid var(--border-light);
     position: relative;
     z-index: 10;
 }

 .footer-grid {
     display: grid;
     grid-template-columns: 2fr 1fr 1fr 1fr;
     gap: 48px;
     margin-bottom: 48px;
 }

 .footer-col h4 {
     font-weight: 800;
     margin-bottom: 20px;
     font-size: 14px;
     text-transform: uppercase;
     color: var(--text-main);
 }

 .footer-col ul {
     display: flex;
     flex-direction: column;
     gap: 12px;
     list-style: none;
 }

 .footer-col ul li a {
     font-size: 15px;
     color: var(--text-muted);
     font-weight: 500;
     transition: color 0.2s;
 }

 .footer-col ul li a:hover {
     color: var(--brand-gold);
 }

 .footer-bottom {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding-top: 32px;
     border-top: 1px solid var(--border-light);
     font-size: 14px;
     color: var(--text-muted);
     font-weight: 500;
 }

 .footer-bottom a {
     color: var(--text-muted);
     transition: color 0.2s;
 }

 .footer-bottom a:hover {
     color: var(--brand-gold);
 }

 /* ─── ANIMATIONS ─── */
 .fade-up {
     opacity: 0;
     transform: translateY(24px);
     transition: opacity 0.5s ease, transform 0.5s ease;
 }

 .fade-up.visible {
     opacity: 1;
     transform: translateY(0);
 }

 /* ─── RESPONSIVE ─── */
 @media (max-width: 900px) {
     .eula-layout {
         grid-template-columns: 1fr;
     }

     .toc {
         display: none;
     }

     .rule-grid {
         grid-template-columns: 1fr;
     }

     .footer-grid {
         grid-template-columns: 1fr 1fr;
     }
 }

 @media (max-width: 600px) {
     .eula-hero {
         padding: 140px 0 60px;
     }

     .eula-hero h1 {
         font-size: 2.2rem;
     }

     .footer-grid {
         grid-template-columns: 1fr;
     }

     .footer-bottom {
         flex-direction: column;
         gap: 12px;
         text-align: center;
     }
 }