:root {
    --obsidian: #050505;
    --arena-sand: #1a1410;
    --iron: #1f2933;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-heavy: rgba(20, 20, 20, 0.6);
    --green: #22c55e;
    --blood: #b11226;
    --flame: #ff6a00;
    --steel: #3a86ff;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    --grad-green-flame: linear-gradient(135deg, var(--green), var(--flame));
    --grad-war-energy: linear-gradient(135deg, var(--blood), var(--flame));
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--obsidian);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

canvas#fire-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.text-gradient {
    color: var(--flame); /* Fallback */
    background: var(--grad-green-flame);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-war {
    color: var(--blood); /* Fallback */
    background: var(--grad-war-energy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--glass-heavy);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 1rem 0;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

header.visible {
    transform: translateY(0);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
    text-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

.logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-green-flame);
    transition: width 0.3s ease;
}

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

.cta-button {
    background: var(--grad-green-flame);
    color: var(--obsidian);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button::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: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 106, 0, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/photo-1552832230-c0197dd311b5.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: 0;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 5, 5, 0.7) 0%, var(--obsidian) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,1);
    opacity: 0;
}

/* Legal Glossy Box */
.hero-legal-box {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(31, 41, 51, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 1.5rem 2.5rem;
    text-align: center;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0,0,0,0.5), inset 0 0 10px rgba(34, 197, 94, 0.1);
    animation: pulseGlow 4s infinite alternate;
}

.hero-legal-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0.2rem 0;
}

.hero-legal-box p strong {
    color: var(--green);
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(0,0,0,0.5), inset 0 0 10px rgba(34, 197, 94, 0.1); }
    100% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.2), inset 0 0 20px rgba(34, 197, 94, 0.2); }
}

/* Sections Global */
section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Gladiator Lore Section */
.lore-section {
    background: linear-gradient(to bottom, var(--obsidian), var(--arena-sand));
}

.lore-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lore-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--green);
}

.lore-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.lore-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.lore-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 4px;
    pointer-events: none;
}

.lore-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.2) sepia(0.2);
    transition: transform 0.7s ease;
}

.lore-image:hover img {
    transform: scale(1.05);
}

/* Game Showcase Section */
.game-section {
    background: url('images/photo-1605806616949-1e87b487bc2a.png') center/cover fixed;
    position: relative;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 5, 0.85);
}

.game-frame-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(255, 106, 0, 0.2));
    box-shadow: 0 0 50px rgba(255, 106, 0, 0.15);
}

.game-frame {
    width: 100%;
    height: 700px;
    background: var(--obsidian);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--green);
    box-shadow: inset 0 0 30px rgba(0,0,0,1);
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Features Section */
.features-section {
    background: var(--obsidian);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--glass);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top, rgba(34, 197, 94, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Parallax Banner */
.parallax-banner {
    height: 60vh;
    background: url('images/photo-1599839619722-39751411ea63.png') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.parallax-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(177, 18, 38, 0.4);
    mix-blend-mode: multiply;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.parallax-content h2 {
    font-size: 4rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

/* Trust Section */
.trust-section {
    background: var(--arena-sand);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.trust-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 2rem 1rem;
    text-align: center;
}

.trust-card h5 {
    color: var(--green);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Internal Pages Structure */
.page-header {
    padding: 12rem 2rem 6rem;
    background: linear-gradient(to bottom, var(--obsidian), var(--arena-sand));
    text-align: center;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.content-section {
    padding: 4rem 2rem 8rem;
    background: var(--arena-sand);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.text-block {
    margin-bottom: 3rem;
}

.text-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--green);
}

.text-block p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.text-block ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.text-block li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--glass);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--green);
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--green);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background: var(--obsidian);
    border-top: 1px solid rgba(34, 197, 94, 0.2);
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-legal-notice {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(177, 18, 38, 0.05);
    border: 1px solid rgba(177, 18, 38, 0.2);
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-legal-notice p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
    .lore-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .game-frame { height: 400px; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .hero-legal-box { width: 90%; padding: 1rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}