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

:root {
    --deep-red: #8b0000;
    --royal-gold: #ffd700;
    --black-silk: #0f0f0f;
    --gloss-white: #f8f8f8;
    --jade-accent: #00a86b;
    --soft-gold-glow: #ffcc66;
    --glass-bg: rgba(15, 15, 15, 0.6);
    --glass-border: rgba(255, 215, 0, 0.3);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    --glow-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black-silk);
    color: var(--gloss-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(139, 0, 0, 0.25) 0%, rgba(15, 15, 15, 1) 70%),
                url('images/photo-1618005182384-a83a8bd57fbe.png') no-repeat center center/cover;
    opacity: 0.15;
    z-index: -2;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: var(--royal-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: var(--gloss-white);
    transition: all 0.3s ease;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Glass & Glossy System */
.glossy-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), var(--card-shadow);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glossy-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.7s;
}

.glossy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.9), var(--glow-shadow);
    border-color: var(--soft-gold-glow);
}

.glossy-card:hover::after {
    left: 200%;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #d4af37 0%, #aa7a00 100%);
    color: var(--black-silk);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px;
    border: 1px solid var(--soft-gold-glow);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover {
    color: var(--black-silk);
    box-shadow: var(--glow-shadow);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Header System */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1280px;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

header.shrink {
    top: 10px;
    padding: 10px 30px;
    background: rgba(15, 15, 15, 0.85);
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--royal-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal-gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--royal-gold);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--royal-gold);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--royal-gold);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-disclaimer {
    display: inline-block;
    background: rgba(139, 0, 0, 0.4);
    border: 1px solid var(--deep-red);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    color: #ffcccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    background: linear-gradient(to bottom, #fff, var(--royal-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ddd;
}

.hero-visuals {
    position: relative;
    height: 500px;
}

.lantern-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 0 30px rgba(139,0,0,0.4), 0 0 15px rgba(255,215,0,0.2);
    animation: float 6s ease-in-out infinite;
}

.particle {
    position: absolute;
    background: var(--royal-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--royal-gold);
    animation: sparkle 3s infinite linear;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--deep-red);
    box-shadow: 0 0 10px var(--deep-red);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--royal-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,215,0,0.5);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.game-thumb {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Footer System */
footer {
    background: linear-gradient(to top, #050505 0%, #0a0a0a 100%);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
    margin-top: 50px;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--gloss-white);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 0.9rem;
}

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

.global-disclaimer {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #bbb;
    text-align: center;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-tags span {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #555;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: bold;
    color: #ddd;
}

/* Game Page & Iframe */
.game-container {
    max-width: 1000px;
    margin: 150px auto 50px;
    position: relative;
}

.game-wrapper {
    aspect-ratio: 16/9;
    width: 100%;
    border: 2px solid var(--royal-gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), var(--glow-shadow);
    background: #000;
}

.game-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--royal-gold);
    box-shadow: 0 0 10px rgba(255,215,0,0.2);
}

/* Inner Pages General */
.inner-hero {
    padding: 180px 0 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, rgba(139,0,0,0.3) 0%, transparent 60%);
}

.inner-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.content-block p {
    margin-bottom: 15px;
    color: #ccc;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(0.5); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .grid-3, .grid-2, .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--glass-border);
    }
    .nav-links.active {
        right: 0;
    }
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    .grid-3, .grid-2, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}