/* Design System & Variables */
:root {
    /* Colors */
    --color-obsidian: #0a0a0a;
    --color-charcoal: #1c1c1c;
    --color-lava-orange: #ff4500;
    --color-magma-red: #8b0000;
    --color-ash-white: #f0f0f0;
    --color-glow: rgb(255, 166, 0);

    /* Fonts */
    --font-heading: 'Times New Roman', Times, serif;
    /* Changed to Times New Roman */
    --font-hand: 'Rock Salt', cursive;
    --font-glitch: 'Rubik Glitch', system-ui;
    --font-body: 'Avenir Next', 'Avenir', 'Segoe UI', sans-serif;
    /* Avenir Next style */
    /* Avenir Next style */
}

/* Lava Background */
#lava-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.lava-blob {
    filter: blur(80px);
    opacity: 0.5;
    mix-blend-mode: screen;
}

@keyframes lava-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 100px) scale(1.5);
    }
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-obsidian);
    background-image: url('global-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--color-ash-white);
    font-family: var(--font-body);
    font-weight: 300;
    /* Light weight base */
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    position: relative;
    z-index: 10;
}

/* Sections */
section {
    padding: 4rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-bottom: 2px solid rgba(255, 69, 0, 0.2);
}

/* Typography Defaults */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navbar / Lang Toggle */
#navbar {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

#lang-toggle {
    background: var(--color-charcoal);
    color: var(--color-ash-white);
    border: 1px solid var(--color-magma-red);
    /* Red Border */
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: bold;
}

#lang-toggle:hover {
    background: var(--color-lava-orange);
    color: var(--color-obsidian);
}

/* Hero Section with Centered Logo */
#hero {
    padding: 2rem;
    padding-bottom: 8rem;
    /* Increased space at bottom */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    border-bottom: none;
    text-align: center;
    position: relative;
    z-index: 1;
}

#hero-clown {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 110vh;
    width: auto;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
    filter: drop-shadow(-10px -10px 20px rgba(0, 0, 0, 0.5));
    mask-image: linear-gradient(to right, transparent, black 55%),
        linear-gradient(to top, transparent, black 15%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 55%),
        linear-gradient(to top, transparent, black 15%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
}

#hero-image {
    display: none;
}

/* New Logo Styling */
#hero-logo {
    max-width: 80%;
    width: 600px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(255, 69, 0, 0.4));
    animation: float-logo 6s ease-in-out infinite;
}

@keyframes float-logo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-text-centered {
    max-width: 800px;
    margin: 0 auto;
    margin-top: -3rem;
    /* Move text up closer to logo */
    background: transparent;
    /* Removed background */
    padding: 2rem;
    border: none;
    /* Removed border */
    box-shadow: none;
    /* Removed shadow */
    backdrop-filter: none;
    position: relative;
    z-index: 2;
}

.hero-text-centered h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-glow);
    /* White Text */
    text-shadow: 2px 2px 4px #000;
}

.hero-text-centered p {
    font-size: 1.7rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--color-ash-white);
    /* White with slight opacity */
    font-weight: bold;
    text-shadow: 2px 2px 8px #000;
}

.cta-button {
    background-color: rgba(0, 0, 0, 0.2);
    border: 3px solid var(--color-magma-red);
    /* Obsidian Border as user edited */
    color: var(--color-ash-white);
    /* Changed to white */
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 0 10px var(--color-glow);
    display: inline-block;
    text-decoration: none;
    margin-top: 3rem;
    /* Increased
     spacing */
}

.cta-button:hover {
    background-color: rgba(139, 0, 0, 0.4);
    /* Transparent red */
    border: 2px solid var(--color-lava-orange);
    color: var(--color-lava-orange);
    /* Orange on hover */
    box-shadow: 0 0 30px var(--color-lava-orange);
}

/* Philosophy Section */
#philosophy {
    background: linear-gradient(to bottom, #000 0%, #1a1a1a 100%);
    color: var(--color-ash-white);
    align-items: center;
    /* Centered */
    text-align: center;
    /* Centered */
    overflow: hidden;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
}

#philosophy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('IMG_7626.JPEG');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
}

#philosophy h2 {
    font-size: 3.2rem;
    max-width: 800px;
    margin-bottom: 2rem;
    line-height: 1.1;
    transform: none;
    /* Removed rotation */
    color: var(--color-glow);
    /* Changed to yellow/glow */
}

.philosophy-content p {
    font-size: 1.5rem;
    font-weight: bold;
    max-width: 800px;
    /* Increased width for centered layout */
    margin: 0 auto;
    /* Centered */
    padding: 2rem;
    border: none;
    /* Removed border */
    background: transparent;
    /* Removed background */
    transform: none;
    /* Removed skew */
}

/* Logistics Section */
#logistics {
    background: transparent;
    align-items: center;
    text-align: center;
}

#logistics h2 {
    color: var(--color-glow);
    margin-bottom: 3rem;
}

.logistics-box {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-magma-red);
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.logistics-box p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: var(--color-ash-white);
}

.logistics-box p:last-child {
    margin-bottom: 0;
}

.logistics-box strong {
    color: var(--color-glow);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* About Me Section */
#about-me {
    background: black;
    padding: 6rem 2rem;
    color: var(--color-ash-white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    transform: scaleX(-1);
    /* Mirror effect - flipped left */
    box-shadow: 0 0 30px rgba(255, 68, 0, 0.4);
}

.about-text h2 {
    font-size: 2.8rem;
    color: var(--color-lava-orange);
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--color-ash-white);
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }
}

/* Registration Form */
#registration {
    background-image: url('2151709159.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--color-ash-white);
    text-align: center;
    border-bottom: none;
    box-shadow: inset 0 0 0 2000px rgba(10, 10, 10, 0.7);
}

#registration h2 {
    color: var(--color-ash-white);
    /* White Text */
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

#registration p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-style: italic;
    color: var(--color-glow);
}

#invasion-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background: rgba(0, 0, 0, 0.7);
    /* Black with opacity */
    padding: 3rem;
    border: 1px solid var(--color-magma-red);
    /* Changed from charcoal to magma red for consistency */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

#invasion-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--color-magma-red) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
    animation: pulse-glow 5s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    color: var(--color-ash-white);
    font-size: 1.25rem;
    /* Increased size (+2pt equivalent) */
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-ash-white);
    /* White input lines */
    color: var(--color-lava-orange);
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-lava-orange);
    background: rgba(255, 69, 0, 0.1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

#invasion-form .cta-button {
    display: block;
    margin: 2rem auto 0;
    width: fit-content;
}

/* Footer */
footer {
    background: #000;
    /* Pure black background */
    color: var(--color-ash-white);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 5px solid var(--color-magma-red);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    height: 60px;
    /* Small size as requested */
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 68, 0, 0.3));
}

.footer-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

footer a {
    color: var(--color-glow);
    /* Yellow Instagram link */
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

footer a:hover {
    border-bottom-color: var(--color-lava-orange);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #philosophy h2 {
        font-size: 2.5rem;
    }

    .philosophy-content p {
        font-size: 1.2rem;
    }
}