:root {
    --primary: #F76E23;
    --primary-hover: #d65a1b;
    --secondary: #0758FF;
    --accent: #ff0080;
    --success: #0070f3;
    --background: #000000;
    --surface: #111111;
    --text: #ffffff;
    --text-muted: #aaaaaa;
    --border: #333333;
    --glass: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Local Fonts */
@font-face {
    font-family: 'Anakotmai';
    src: url('src/webfont/anakotmai-light.woff2') format('woff2'),
        url('src/webfont/anakotmai-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Anakotmai';
    src: url('src/webfont/anakotmai-medium.woff2') format('woff2'),
        url('src/webfont/anakotmai-medium.woff') format('woff');
    font-weight: 400;
    /* Using Medium as Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Anakotmai';
    src: url('src/webfont/anakotmai-bold.woff2') format('woff2'),
        url('src/webfont/anakotmai-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Anakotmai', sans-serif;
}

body {
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #000;
    position: relative;
}

.main-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: linear-gradient(300deg, #000000, #0758FF, #F76E23, #000000);
    background-size: 300% 300%;
    animation: bg-shift 15s ease infinite;
}

@keyframes bg-shift {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: url('data:image/svg+xml,%3Csvg viewBox=\'0 0 200 200\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cfilter id=\'noiseFilter\'%3E%3CfeTurbulence type=\'fractalNoise\' baseFrequency=\'0.65\' numOctaves=\'3\' stitchTiles=\'stitch\'/%3E%3C/filter%3E%3Crect width=\'100%25\' height=\'100%25\' filter=\'url(%23noiseFilter)\' opacity=\'0.05\'/%3E%3C/svg%3E');
    opacity: 0.4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    width: 100%;
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 1rem;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background: white;
    color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    background: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
    /* Space for equalizer */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-logo {
    font-size: 5rem;
    line-height: 0.9;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #F76E23, #0758FF);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGradient 5s ease infinite;
    margin-bottom: 1.5rem;
}

.year-outline {
    color: transparent;
    -webkit-text-stroke: 2px white;
    opacity: 0.5;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@keyframes titleGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Poster */
.poster-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.poster-card {
    padding: 1rem;
    transform: rotate(-5deg);
    max-width: 380px;
    width: 100%;
    transition: transform 0.3s ease;
}

.poster-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.poster-img {
    width: 100%;
    border-radius: 16px;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.poster-info {
    padding: 1.5rem 1rem 0.5rem;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.poster-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.poster-info p {
    color: var(--text-muted);
}

.glowing-orb {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Equalizer */
.equalizer {
    display: flex;
    justify-content: center;
    gap: 4px;
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    z-index: 10;
}

.equalizer .bar {
    width: 4px;
    height: 20px;
    background: white;
    border-radius: 2px;
    animation: bounce 0.5s ease-in-out infinite alternate;
}

@keyframes bounce {
    0% {
        height: 10px;
        opacity: 0.5;
    }

    100% {
        height: 40px;
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
    /* Ensure labels align left */
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(248, 28, 229, 0.1);
}

/* Responsive specific styles */
@media (max-width: 992px) {
    .hero-logo {
        font-size: 4rem;
    }

    .hero-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
        /* Start content from top on mobile */
        padding-top: 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 1;
        /* Keep content first, or change to 2 to put poster first */
    }

    .hero-logo {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        justify-content: center;
        width: 100%;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        /* Full width buttons on mobile */
    }

    .poster-wrapper {
        order: 2;
        /* Poster below content */
        margin-bottom: 4rem;
    }

    .poster-card {
        max-width: 320px;
        width: 90%;
        transform: rotate(-2deg);
        padding: 0.75rem;
    }

    .poster-info h3 {
        font-size: 1.2rem;
    }

    .poster-info p {
        font-size: 0.9rem;
    }
}