/* 
==================================================
VARIABLES - FINDERORBITT BOXING CHAMPIONSHIP
==================================================
*/
:root {
    /* Colors */
    --bg-primary: #090b12; /* Deep arena night */
    --bg-secondary: #151923; /* Dark steel surface */
    --glass-bg: rgba(255, 255, 255, 0.05);
    
    --accent-primary: #4fd1c5; /* Championship teal */
    --accent-secondary: #8ff5e8; /* Energy highlight */
    --accent-power: #ff7a45; /* Controlled fight energy */
    
    --text-primary: #f7fafc;
    --text-secondary: #a8b2c3;
    
    --border-normal: rgba(79, 209, 197, 0.35);
    --border-active: rgba(143, 245, 232, 0.75);
    --glow-primary: rgba(79, 209, 197, 0.35);
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Oswald', system-ui, -apple-system, sans-serif; /* Simulating a sports header font */
    
    /* Spacing & Structure */
    --border-radius: 16px;
    --border-radius-btn: 12px;
    --transition-speed: 0.3s;
    
    --desktop-spacing: 40px;
    --mobile-spacing: 20px;
    
    /* Navigation Width */
    --nav-width: 300px;
}

/* 
==================================================
RESET & GLOBAL
==================================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-primary);
}

p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

/* 
==================================================
FULL BACKGROUND SYSTEM
==================================================
*/
.arena-background-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
}

.arena-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.arena-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(9, 11, 18, 0.92) 0%,
        rgba(9, 11, 18, 0.75) 50%,
        rgba(9, 11, 18, 0.95) 100%
    );
}

/* 
==================================================
LAYOUT ARCHITECTURE
==================================================
*/
.platform-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* 
==================================================
GLASS PANELS (CRITICAL FOR BORDERS)
==================================================
*/
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--border-normal);
    border-radius: var(--border-radius);
    padding: var(--desktop-spacing);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(79, 209, 197, 0.05);
    overflow: hidden; /* Ensures contents do not escape borders */
    position: relative;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-active), transparent);
    opacity: 0.5;
}

/* 
==================================================
FLOATING NAVIGATION (LEFT SIDE)
==================================================
*/
.side-navigation {
    width: var(--nav-width);
    position: sticky;
    top: 0;
    height: 100vh;
    padding: var(--desktop-spacing);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.nav-glass-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary); /* Solid fallback for glass */
    background: var(--glass-bg);
    border: 1px solid var(--border-normal);
    border-radius: var(--border-radius);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 30px 20px;
    overflow-y: auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-normal);
}

.brand-logo a {
    display: block;
    width: 100%;
}

.header-logo-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.nav-item {
    display: block;
    padding: 12px 16px;
    border-radius: var(--border-radius-btn);
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-item:hover, .nav-item.active {
    background: rgba(79, 209, 197, 0.1);
    border-color: var(--border-normal);
    color: var(--text-primary);
    box-shadow: inset 0 0 15px rgba(79, 209, 197, 0.1);
}

.nav-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-normal);
}

/* Mobile Toggle (CSS Only) */
.mobile-nav-toggle {
    display: none;
}
.mobile-nav-label {
    display: none;
}

/* 
==================================================
MAIN CONTENT AREA
==================================================
*/
.main-content {
    flex: 1;
    padding: var(--desktop-spacing);
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: calc(100% - var(--nav-width));
}

/* 
==================================================
BUTTON SYSTEM
==================================================
*/
.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2b7a72 0%, var(--accent-primary) 100%);
    color: var(--bg-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-secondary);
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(79, 209, 197, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(143, 245, 232, 0.5);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-full {
    width: 100%;
}

.btn-secondary {
    background: transparent;
    border-color: var(--border-normal);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(79, 209, 197, 0.1);
    color: var(--accent-secondary);
}

/* 
==================================================
HERO ARENA SECTION
==================================================
*/
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
}

.hero-tag {
    color: var(--accent-power);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid var(--accent-power);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
}

.hero-section h2 {
    font-size: 3.5rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

.hero-section .hero-desc {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Legal Disclaimer Box */
.legal-disclaimer {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed var(--border-normal);
    border-radius: var(--border-radius-btn);
    padding: 20px;
    margin: 30px auto;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.legal-item {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.legal-item::before {
    content: '•';
    color: var(--accent-primary);
}

/* 
==================================================
GAME SHOWCASE (BOX SLOT)
==================================================
*/
.game-showcase-container {
    width: 90%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 10px; /* Space for the glowing border */
    position: relative;
}

/* The frame acts as the arena jumbotron */
.game-frame {
    background: #000;
    border: 2px solid var(--border-active);
    border-radius: var(--border-radius);
    padding: 5px;
    box-shadow: 0 0 40px rgba(79, 209, 197, 0.4), inset 0 0 20px rgba(79, 209, 197, 0.2);
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: calc(var(--border-radius) - 5px);
    background-color: var(--bg-secondary);
}

.game-header {
    text-align: center;
    margin-bottom: 30px;
}

.game-header h3 {
    font-size: 2.5rem;
    color: var(--accent-secondary);
}

.game-preview-image {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 800px;
}

.promo-image {
    border-radius: var(--border-radius);
    border: 2px solid var(--border-active);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(79, 209, 197, 0.3);
    width: 100%;
    height: auto;
}

/* 
==================================================
SPORTS CARDS / CONTENT SECTIONS
==================================================
*/
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(21, 25, 35, 0.6);
    border: 1px solid var(--border-normal);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-active);
    box-shadow: 0 10px 30px rgba(79, 209, 197, 0.15);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    background: rgba(79, 209, 197, 0.1);
    border: 1px solid var(--border-normal);
}

/* Text Content Pages (About, Terms, etc.) */
.content-layout {
    max-width: 900px;
    margin: 0 auto;
}

.content-layout h2 {
    color: var(--accent-secondary);
    border-bottom: 1px solid var(--border-normal);
    padding-bottom: 15px;
    margin-bottom: 25px;
    margin-top: 40px;
}

.content-layout h2:first-child {
    margin-top: 0;
}

.content-layout h3 {
    color: var(--text-primary);
    margin-top: 30px;
    font-size: 1.2rem;
}

.content-layout ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-layout li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    position: relative;
    list-style-type: square;
    color: var(--accent-primary);
}

.content-layout li span {
    color: var(--text-secondary);
}

/* 
==================================================
CONTACT FORM SYSTEM
==================================================
*/
.contact-section {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form-container {
    background: rgba(21, 25, 35, 0.6);
    border: 1px solid var(--border-normal);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: inset 0 0 20px rgba(79, 209, 197, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--accent-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(9, 11, 18, 0.8);
    border: 1px solid var(--border-normal);
    border-radius: 8px;
    padding: 16px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(79, 209, 197, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(168, 178, 195, 0.4);
}

/* 
==================================================
FOOTER
==================================================
*/
.site-footer {
    background-color: #090b12;
    background-image: radial-gradient(circle at top center, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
                      linear-gradient(to bottom, rgba(9, 11, 18, 0.95), #090b12);
    border: 1px solid var(--border-normal);
    border-top: 1px solid rgba(79, 209, 197, 0.35);
    border-radius: var(--border-radius);
    padding: 50px 40px 30px;
    margin-top: auto;
    color: var(--text-secondary);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: border-color var(--transition-speed);
}

.site-footer:hover {
    border-top-color: rgba(143, 245, 232, 0.75);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
}

.brand-column p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-heading {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-primary);
}

.footer-links-list, .footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    display: inline-block;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-speed);
    position: relative;
    text-decoration: none;
}

.footer-links-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width var(--transition-speed);
    box-shadow: 0 0 5px var(--glow-primary);
}

.footer-links-list a:hover {
    transform: translateY(-3px);
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(79, 209, 197, 0.4);
}

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

.footer-info-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info-list li::before {
    content: '•';
    color: var(--accent-power);
    font-size: 1.2rem;
    line-height: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .copyright {
    color: var(--text-primary);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-bottom .disclaimer {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 
==================================================
RESPONSIVE LAYOUT (MOBILE FIRST ADAPTATION)
==================================================
*/
@media (max-width: 1024px) {
    .game-showcase-container {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .platform-wrapper {
        flex-direction: column;
    }

    /* Mobile Header Conversion */
    .side-navigation {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        padding: 10px var(--mobile-spacing);
        z-index: 1000;
        background: transparent;
    }

    .nav-glass-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        height: auto;
        box-shadow: 0 4px 20px rgba(0,0,0,0.8);
    }

    .brand-logo {
        margin: 0;
        padding: 0;
        border: none;
    }
    
    .header-logo-image {
        max-width: 160px;
    }

    .nav-links, .nav-footer {
        display: none; /* Hidden by default on mobile */
    }

    /* Hamburger Mechanics */
    .mobile-nav-label {
        display: block;
        cursor: pointer;
        padding: 10px;
        border: 1px solid var(--border-normal);
        border-radius: 8px;
        background: rgba(79, 209, 197, 0.1);
        color: var(--accent-primary);
    }

    /* Mobile Menu Open State */
    .mobile-nav-toggle:checked ~ .nav-glass-container {
        flex-direction: column;
        align-items: stretch;
    }

    .mobile-nav-toggle:checked ~ .nav-glass-container .brand-logo {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-normal);
        justify-content: flex-start;
    }

    .mobile-nav-toggle:checked ~ .nav-glass-container .nav-links,
    .mobile-nav-toggle:checked ~ .nav-glass-container .nav-footer {
        display: flex;
    }
    
    .mobile-nav-toggle:checked ~ .nav-glass-container .mobile-nav-label {
        position: absolute;
        top: 15px;
        right: 20px;
    }

    /* Main Content Mobile Adjustment */
    .main-content {
        max-width: 100%;
        padding: calc(90px + var(--mobile-spacing)) var(--mobile-spacing) var(--mobile-spacing);
        gap: 40px;
    }

    .hero-section h2 {
        font-size: 2.2rem;
    }
    
    .glass-panel {
        padding: 20px;
    }
    
    .site-footer {
        padding: 30px 20px;
    }
    
    .game-header h3 {
        font-size: 1.8rem;
    }
    
    .game-frame {
        aspect-ratio: auto;
        height: 50vh; /* Better for mobile viewing */
    }
    
    /* Contact Form Responsive */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links-list, .footer-info-list {
        align-items: center;
    }
    
    .footer-links-list a::after {
        left: 50%;
        transform: translateX(-50%);
    }
}