:root {
  --rankplayworld-bg: #0e0f13;
  --rankplayworld-card: #151821;
  --rankplayworld-border: #2a2f3a;
  --rankplayworld-primary: #5b8cff;
  --rankplayworld-primary-light: #8fb0ff;
  --rankplayworld-secondary: #ff8a5b;
  --rankplayworld-text: #e6e8ee;
  --rankplayworld-text-muted: #a7afc2;
}

body { background: var(--rankplayworld-bg); color: var(--rankplayworld-text); font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
a { color: var(--rankplayworld-primary); text-decoration: none; }
a:hover { color: var(--rankplayworld-primary-light); }

/* Navbar */
.rankplayworld-navbar { background: rgba(10,11,16,0.6); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rankplayworld-border); position: sticky; top: 0; z-index: 1000; }
.rankplayworld-navbar-inner { display:flex; align-items:center; justify-content:space-between; padding: 12px 16px; }
.rankplayworld-navbar-home-link { display:flex; align-items:center; gap:10px; color: var(--rankplayworld-text); font-weight: 700; letter-spacing: 0.2px; }
.rankplayworld-navbar-logo { border-radius: 8px; }
.rankplayworld-navbar-toggle { background: transparent; border: 2px solid var(--rankplayworld-primary); border-radius: 8px; padding: 6px; display:none; color: var(--rankplayworld-primary); }
.rankplayworld-navbar-toggle-bar { display:block; width:22px; height:2px; background: var(--rankplayworld-primary); margin:4px 2px; }
.rankplayworld-navbar-right { display:flex; gap:10px; }
.rankplayworld-navbar-right.is-open { display:block; }
.rankplayworld-nav-link-pill { padding: 8px 14px; border-radius: 999px; color: var(--rankplayworld-text); border:1px solid transparent; }
.rankplayworld-nav-link-pill.active, .rankplayworld-nav-link-pill:hover { border-color: var(--rankplayworld-border); background: var(--rankplayworld-card); }

@media (max-width: 991px){
  .rankplayworld-navbar-toggle { display:block; }
  .rankplayworld-navbar-right { display:none; flex-direction:column; position:absolute; right:12px; top:56px; background: var(--rankplayworld-card); border:1px solid var(--rankplayworld-border); border-radius:12px; padding:8px; }
}

/* Hero */
.rankplayworld-hero { position: relative; padding: 48px 0 24px; overflow:hidden; }
.rankplayworld-hero-inner { display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items:center; }
.rankplayworld-hero-title { font-size: 40px; line-height:1.1; margin:0 0 12px; }
.rankplayworld-hero-highlight { color: var(--rankplayworld-primary); }
.rankplayworld-hero-desc { color: var(--rankplayworld-text-muted); max-width: 640px; }
.rankplayworld-hero-ctas { display:flex; gap: 12px; margin-top: 16px; }
.rankplayworld-cta-btn { background: var(--rankplayworld-primary); color:#0b0d12; padding:10px 16px; border-radius:12px; font-weight:700; }
.rankplayworld-cta-link { color: var(--rankplayworld-primary-light); padding:10px 12px; }
.rankplayworld-hero-right { position: relative; display:flex; justify-content:flex-end; align-items:center; }
.rankplayworld-hero-art { position:absolute; right:0; background: radial-gradient(800px 400px at 50% -20%, rgba(91,140,255,0.35), transparent), radial-gradient(600px 200px at 80% 120%, rgba(255,138,91,0.25), transparent); height: 180px; max-width: 520px; width: 100%; border-radius: 20px; border:1px solid var(--rankplayworld-border); }
/* If a hero image is provided, show it above the decorative art */
.rankplayworld-hero-right .rankplayworld-hero-img { max-width: 520px; width: 50%; height: auto; position: relative; z-index: 1; display:block; }
.rankplayworld-hero-badge { position:absolute; right: 24px; top: 16px; background: var(--rankplayworld-card); border:1px solid var(--rankplayworld-border); padding:4px 10px; border-radius: 999px; letter-spacing:1px; font-weight:700; color: var(--rankplayworld-primary-light); z-index:1; }
.rankplayworld-hero-wave { position:absolute; left:-10%; right:-10%; bottom:-40px; height:80px; background: radial-gradient(500px 80px at 50% -20px, rgba(255,255,255,0.06), transparent); pointer-events:none; z-index:0; }
.rankplayworld-hero-art { pointer-events:none; z-index:0; }
.rankplayworld-hero-left, .rankplayworld-hero-ctas { position: relative; z-index:2; }

@media (max-width: 991px){
  .rankplayworld-hero-inner { grid-template-columns: 1fr; }
  .rankplayworld-hero-art { height: 140px; max-width: 100%; }
  .rankplayworld-hero-right { display: none;}
}

/* Cards/sections */
.rankplayworld-section { padding: 40px 0; }
.rankplayworld-section-alt { padding: 36px 0; background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent); border-top:1px solid var(--rankplayworld-border); }
.rankplayworld-section-title { font-size: 28px; margin-bottom: 6px; }
.rankplayworld-section-subtitle { color: var(--rankplayworld-text-muted); margin-bottom: 16px; }
.rankplayworld-card-grid { display:grid; grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 16px; }
.rankplayworld-card { background: var(--rankplayworld-card); border:1px solid var(--rankplayworld-border); border-radius: 14px; padding: 16px; display:flex; align-items:center; justify-content:space-between; }
.rankplayworld-card-cta { color: var(--rankplayworld-secondary); font-weight:700; }

/* Operators */
.rankplayworld-operator-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rankplayworld-operator-card { background: var(--rankplayworld-card); border:1px solid var(--rankplayworld-border); border-radius: 16px; padding: 16px; }
.rankplayworld-operator-head { display:flex; align-items:center; gap: 12px; margin-bottom: 8px; }
.rankplayworld-operator-badge { background: var(--rankplayworld-primary); color:#0b0d12; font-weight: 800; border-radius: 10px; padding: 6px 10px; }
.rankplayworld-operator-btn { display:inline-block; margin-top: 8px; background: transparent; color: var(--rankplayworld-primary); border:1px solid var(--rankplayworld-primary); padding:8px 12px; border-radius: 10px; }

.rankplayworld-note { color: var(--rankplayworld-text-muted); font-size: 14px; }

/* Contact */
.rankplayworld-contact-form .form-control { background: #0f121a; border-color: #242a36; color: var(--rankplayworld-text); }
.rankplayworld-cta { background: var(--rankplayworld-primary); color:#0b0d12; border:none; border-radius:10px; padding:10px 16px; font-weight:700; }

/* Footer */
.rankplayworld-footer { background: #0c0d12; border-top:1px solid var(--rankplayworld-border); padding-top: 24px; }
.rankplayworld-footer-links { list-style:none; padding-left:0; }
.rankplayworld-footer-links li { margin: 6px 0; }
.rankplayworld-footer-divider { border-top-color: var(--rankplayworld-border); }
.rankplayworld-cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1001; }
.rankplayworld-cookie-content { background: var(--rankplayworld-card); border:1px solid var(--rankplayworld-border); padding: 12px; border-radius: 12px; display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.rankplayworld-hidden { display:none; }
.rankplayworld-visible { display:block; }

/* Cookie actions - ensure visibility on dark bg */
.rankplayworld-cookie-actions #acceptCookies { 
  background: var(--rankplayworld-primary) !important; 
  color: #0b0d12 !important; 
  border: none !important; 
}
.rankplayworld-cookie-actions #acceptCookies:hover { 
  background: var(--rankplayworld-primary-light) !important; 
}
.rankplayworld-cookie-actions #declineCookies { 
  background: transparent !important; 
  color: var(--rankplayworld-secondary) !important; 
  border: 1px solid var(--rankplayworld-secondary) !important; 
}
.rankplayworld-cookie-actions #declineCookies:hover { 
  background: var(--rankplayworld-secondary) !important; 
  color: #0b0d12 !important; 
}

