
/*
Theme Name: RoyalX Neo Glass
Author: OpenAI
Version: 2.0
Description: Ultra premium neo-glass casino gaming theme.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700;800;900&display=swap');

:root{
 --bg:#0A080C;
 --card:#16121A;
 --gold:#D4AF37;
 --gold2:#F5D061;
 --text:#F0ECE6;
 --muted:#B0A89E;
}

*{box-sizing:border-box}
body{
 margin:0;
 background:radial-gradient(circle at top,#1a141f 0%,#0A080C 55%);
 color:var(--text);
 font-family:'Inter',sans-serif;
 overflow-x:hidden;
}

body::before{
 content:'';
 position:fixed;
 width:600px;
 height:600px;
 background:radial-gradient(circle,var(--gold),transparent 70%);
 opacity:.08;
 top:-200px;
 right:-100px;
 filter:blur(40px);
 pointer-events:none;
}

header{
 position:sticky;
 top:0;
 z-index:100;
 backdrop-filter:blur(22px);
 background:rgba(10,8,12,.72);
 border-bottom:1px solid rgba(255,255,255,.05);
}

.nav{
 max-width:1300px;
 margin:auto;
 padding:18px 24px;
 display:flex;
 justify-content:space-between;
 align-items:center;
}

.logo{
 font-family:'Playfair Display',serif;
 font-size:32px;
 font-weight:900;
 color:var(--gold);
 letter-spacing:2px;
}

.menu{
 display:flex;
 gap:28px;
}

.menu a{
 color:var(--text);
 text-decoration:none;
 transition:.3s;
}

.menu a:hover{
 color:var(--gold2);
}

.hero{
 min-height:95vh;
 display:flex;
 align-items:center;
 padding:120px 8%;
 position:relative;
}

.glass{
 background:rgba(255,255,255,.05);
 border:1px solid rgba(255,255,255,.08);
 backdrop-filter:blur(24px);
 border-radius:28px;
 box-shadow:0 0 40px rgba(212,175,55,.12);
}

.hero-box{
 max-width:760px;
 padding:48px;
}

.badge{
 display:inline-block;
 background:rgba(212,175,55,.15);
 color:var(--gold2);
 padding:10px 18px;
 border-radius:999px;
 font-size:14px;
 margin-bottom:18px;
}

.hero h1{
 font-family:'Playfair Display',serif;
 font-size:clamp(3rem,8vw,6rem);
 line-height:1;
 margin:0 0 20px;
 background:linear-gradient(135deg,#fff,#D4AF37,#fff);
 -webkit-background-clip:text;
 -webkit-text-fill-color:transparent;
 animation:glow 6s infinite linear;
}

@keyframes glow{
 0%{filter:hue-rotate(0deg)}
 100%{filter:hue-rotate(360deg)}
}

.hero p{
 font-size:1.15rem;
 line-height:1.9;
 color:var(--muted);
}

.buttons{
 display:flex;
 gap:18px;
 margin-top:30px;
 flex-wrap:wrap;
}

.btn{
 padding:16px 28px;
 border-radius:18px;
 text-decoration:none;
 font-weight:700;
 transition:.35s;
}

.btn-primary{
 background:linear-gradient(135deg,#D4AF37,#F5D061,#B8860B);
 color:#111;
 box-shadow:0 10px 30px rgba(212,175,55,.28);
}

.btn-primary:hover{
 transform:translateY(-4px) scale(1.02);
}

.btn-secondary{
 border:1px solid rgba(255,255,255,.12);
 color:#fff;
}

.section{
 padding:100px 8%;
}

.section-title{
 font-family:'Playfair Display',serif;
 font-size:clamp(2rem,4vw,3.5rem);
 margin-bottom:18px;
}

.section-text{
 color:var(--muted);
 max-width:760px;
 line-height:1.8;
 margin-bottom:40px;
}

.games-grid{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
 gap:24px;
}

.game-card{
 overflow:hidden;
 position:relative;
 transition:.4s;
}

.game-card:hover{
 transform:translateY(-10px) rotate3d(1,1,0,2deg);
 box-shadow:0 20px 40px rgba(212,175,55,.18);
}

.game-image{
 height:240px;
 background-size:cover;
 background-position:center;
 position:relative;
}

.game-image::after{
 content:'';
 position:absolute;
 inset:0;
 background:linear-gradient(to top,#0A080C,transparent);
}

.live{
 position:absolute;
 top:18px;
 right:18px;
 background:#00E676;
 color:#000;
 padding:8px 14px;
 border-radius:999px;
 font-size:12px;
 font-weight:700;
 z-index:3;
}

.game-content{
 padding:28px;
}

.game-content h3{
 color:var(--gold2);
 margin-top:0;
 font-size:1.5rem;
}

.stats{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
 gap:22px;
}

.stat{
 padding:40px;
 text-align:center;
}

.stat h3{
 font-size:3rem;
 color:var(--gold2);
 margin:0;
}

.features{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
 gap:24px;
}

.feature{
 padding:36px;
}

.faq{
 max-width:900px;
 margin:auto;
}

.faq-item{
 margin-bottom:18px;
 padding:24px;
}

footer{
 padding:70px 8%;
 border-top:1px solid rgba(255,255,255,.08);
 color:var(--muted);
}

.footer-grid{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
 gap:40px;
}

@media(max-width:768px){
 .menu{display:none}
 .hero-box{padding:32px}
 .buttons{flex-direction:column}
}
