﻿/* Custom Benzin typeface */
@font-face {
    font-family: 'Benzin';
    src: url('font/Benzin-Regular.woff2') format('woff2'),
         url('font/Benzin-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Benzin';
    src: url('font/Benzin-Medium.woff2') format('woff2'),
         url('font/Benzin-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Benzin';
    src: url('font/Benzin-Semibold.woff2') format('woff2'),
         url('font/Benzin-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Benzin';
    src: url('font/Benzin-Bold.woff2') format('woff2'),
         url('font/Benzin-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Benzin';
    src: url('font/Benzin-ExtraBold.woff2') format('woff2'),
         url('font/Benzin-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-primary: #050608;
    --bg-secondary: #10131a;
    --accent: #eab308;
    --accent-soft: rgba(234, 179, 8, 0.35);
    --text-primary: #f9fafb;
    --text-secondary: rgba(249, 250, 251, 0.76);
    --card-glass: rgba(15, 19, 28, 0.68);
    --card-border: rgba(234, 179, 8, 0.18);
    --shadow: 0 18px 60px rgba(8, 10, 20, 0.6);
}

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

body {
    font-family: 'Benzin', 'Segoe UI', Tahoma, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(234, 179, 8, 0.2), transparent 45%),
                radial-gradient(circle at 80% 10%, rgba(14, 165, 233, 0.16), transparent 50%),
                var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 72px);
    animation: backdropPulse 18s ease-in-out infinite;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(234, 179, 8, 0.22), transparent 60%);
    pointer-events: none;
    animation: glowShift 14s ease-in-out infinite;
}

header {
    width: min(1040px, 100%);
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(28px, 5vw, 56px);
    padding: clamp(28px, 6vw, 60px);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.12), transparent 60%);
    opacity: 0;
    animation: headerReveal 1.4s ease forwards;
}

.logo {
    flex-shrink: 0;
    width: clamp(120px, 22vw, 220px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background:
        radial-gradient(circle at 38% 30%, rgba(234, 179, 8, 0.28), rgba(234, 179, 8, 0) 48%),
        radial-gradient(circle at 50% 50%, rgba(30, 30, 30, 0.96) 0%, rgba(11, 13, 18, 0.98) 70%, rgba(5, 6, 8, 0.96) 100%);
    border: 1px solid rgba(234, 179, 8, 0.28);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 32px rgba(234, 179, 8, 0.1), 0 30px 48px rgba(5, 6, 8, 0.65);
    animation: floatIn 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.1s both;
}

.logo::before {
    content: '';
    position: absolute;
    inset: 9%;
    border-radius: inherit;
    background:
        radial-gradient(circle at 28% 25%, rgba(234, 179, 8, 0.55), transparent 70%),
        radial-gradient(circle at 70% 75%, rgba(234, 179, 8, 0.18), transparent 85%);
    mix-blend-mode: screen;
    opacity: 0.85;
    filter: blur(1.5px);
    animation: logoGlow 6s ease-in-out infinite 0.6s;
}

.logo::after {
    content: '';
    position: absolute;
    inset: 14%;
    border-radius: inherit;
    border: 1px solid rgba(234, 179, 8, 0.22);
    opacity: 0;
    animation: pulseRing 2.8s ease-in-out infinite 0.9s;
}

.logo img {
    width: 74%;
    height: auto;
    border-radius: 18px;
    background-color: #1e1e1e;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.35));
}

.header-elements {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 20px);
    animation: floatIn 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.25s both;
}

h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: linear-gradient(120deg, var(--text-primary), var(--accent), var(--text-primary));
    background-size: 220% 220%;
    -webkit-background-clip: text;
    color: transparent;
    animation: shimmer 8s ease-in-out infinite;
}

.highlight {
    display: inline;
    font-family: 'Benzin', 'Segoe UI', Tahoma, sans-serif;
    font-weight: 800;
    letter-spacing: 0.015em;
    background-image: linear-gradient(110deg, #fde047 5%, #facc15 45%, #f97316 95%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 12px 28px rgba(250, 204, 21, 0.35);
}

.header-elements p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.1vw, 1.3rem);
    max-width: 32ch;
    line-height: 1.5;
}

main {
    margin-top: clamp(30px, 6vw, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.discord-button {
    border: none;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(14, 165, 233, 0.28));
    border-radius: 22px;
    padding: clamp(16px, 3vw, 24px);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: floatIn 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.4s both;
}

.discord-button::after {
    content: '';
    position: absolute;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.28), transparent 65%);
    transform: translateX(-110%) rotate(25deg);
    transition: transform 0.6s ease;
}

.discord-button:hover::after {
    transform: translateX(0) rotate(0deg);
}

.discord-button:hover {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(14, 165, 233, 0.45));
    box-shadow: 0 30px 52px rgba(14, 116, 233, 0.35);
}

.discord-button:active {
    transform: translateY(0);
}

.discord-button img {
    display: block;
    width: clamp(140px, 32vw, 220px);
    height: auto;
}

@media (max-width: 900px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .header-elements {
        align-items: center;
        max-width: min(90%, 520px);
    }

    .header-elements p {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    body {
        padding: clamp(20px, 7vw, 40px);
    }

    header {
        border-radius: 22px;
        padding: clamp(22px, 7vw, 34px);
    }

    .logo {
    flex-shrink: 0;
    width: clamp(120px, 22vw, 220px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background:
        radial-gradient(circle at 38% 30%, rgba(234, 179, 8, 0.28), rgba(234, 179, 8, 0) 48%),
        radial-gradient(circle at 50% 50%, rgba(30, 30, 30, 0.96) 0%, rgba(11, 13, 18, 0.98) 70%, rgba(5, 6, 8, 0.96) 100%);
    border: 1px solid rgba(234, 179, 8, 0.28);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 32px rgba(234, 179, 8, 0.1), 0 30px 48px rgba(5, 6, 8, 0.65);
    animation: floatIn 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.1s both;
}

    h1 {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .discord-button {
        width: min(320px, 100%);
    }
}

@media (max-width: 420px) {
    .discord-button img {
        width: min(220px, 80%);
    }
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes headerReveal {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulseRing {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes glowShift {
    0% {
        opacity: 0.35;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.35;
    }
}

@keyframes backdropPulse {
    0% {
        background-position: 0 0, 100% 0, 50% 50%;
    }
    50% {
        background-position: 50% 50%, 50% 80%, 50% 50%;
    }
    100% {
        background-position: 0 0, 100% 0, 50% 50%;
    }
}









