/* Base Reset & Variables */
:root {
    --color-slate-900: #0f172a;
    --color-orange-900: #7c2d12;
    --color-orange-800: #9a3412;
    --color-orange-700: #c2410c;
    --color-orange-600: #ea580c;
    --color-orange-500: #f97316;
    --color-orange-400: #fb923c;
    --color-orange-300: #fdba74;
    --color-orange-100: #ffedd5;

    --color-red-800: #991b1b;
    --color-red-700: #b91c1c;
    --color-red-600: #dc2626;
    --color-red-500: #ef4444;
    --color-red-400: #f87171;
    --color-red-300: #fca5a5;
    --color-red-100: #fee2e2;

    --color-amber-500: #f59e0b;
    --color-amber-400: #fbbf24;
    --color-amber-300: #fcd34d;

    --color-purple-500: #a855f7;
    --color-pink-500: #ec4899;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    overflow: hidden;
    background-color: var(--color-slate-900);
    color: white;
}

/* Background Layers */
.background-container {
    position: fixed;
    inset: 0;
    z-index: -50;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, var(--color-slate-900), var(--color-orange-900), var(--color-slate-900));
    background-size: 200% 200%;
}

.animate-gradient-shift {
    animation: gradientShift 15s ease infinite alternate;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Orbs */
.orbs-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(80px);
}

.orb-1 {
    top: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background-color: rgba(249, 115, 22, 0.2);
    /* orange-500/20 */
    animation: floatGlobal 20s ease-in-out infinite;
}

.orb-2 {
    top: 33.33%;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background-color: rgba(239, 68, 68, 0.2);
    /* red-500/20 */
    animation: floatGlobal 25s ease-in-out infinite 2s;
}

.orb-3 {
    bottom: 25%;
    left: 33.33%;
    width: 24rem;
    height: 24rem;
    background-color: rgba(245, 158, 11, 0.2);
    /* amber-500/20 */
    animation: floatGlobal 22s ease-in-out infinite 4s;
}

.orb-4 {
    top: 50%;
    right: 33.33%;
    width: 20rem;
    height: 20rem;
    background-color: rgba(168, 85, 247, 0.15);
    /* purple-500/15 */
    filter: blur(64px);
    animation: floatGlobal 28s ease-in-out infinite 6s;
}

.orb-5 {
    bottom: 33.33%;
    right: 25%;
    width: 18rem;
    height: 18rem;
    background-color: rgba(236, 72, 153, 0.15);
    /* pink-500/15 */
    filter: blur(64px);
    animation: floatGlobal 24s ease-in-out infinite 8s;
}

@keyframes floatGlobal {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Geometric floating shapes */
.shapes-container {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
}

.shape-1 {
    top: 5rem;
    right: 5rem;
    width: 4rem;
    height: 4rem;
    border: 2px solid rgba(251, 146, 60, 0.3);
    /* orange-400/30 */
    border-radius: 0.5rem;
    opacity: 0.3;
    animation: spinSlow 12s linear infinite;
}

.shape-2 {
    bottom: 5rem;
    left: 5rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to right, rgba(251, 146, 60, 0.4), rgba(248, 113, 113, 0.4));
    border-radius: 50%;
    opacity: 0.4;
    animation: bounceSlow 4s ease-in-out infinite;
}

.shape-3 {
    top: 50%;
    right: 4rem;
    width: 2rem;
    height: 2rem;
    border: 2px solid rgba(248, 113, 113, 0.3);
    transform: rotate(45deg);
    opacity: 0.3;
    animation: pulseShape 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.shape-4 {
    top: 33.33%;
    left: 4rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    opacity: 0.25;
    animation: drift 10s ease-in-out infinite;
}

.shape-5 {
    bottom: 25%;
    right: 33.33%;
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(253, 186, 116, 0.3);
    opacity: 0.35;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes spinSlow {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounceSlow {

    0%,
    100% {
        transform: translateY(-15%);
    }

    50% {
        transform: translateY(15%);
    }
}

@keyframes pulseShape {

    0%,
    100% {
        opacity: 0.3;
        transform: rotate(45deg) scale(1);
    }

    50% {
        opacity: 0.1;
        transform: rotate(45deg) scale(1.1);
    }
}

@keyframes drift {

    0%,
    100% {
        transform: translateX(0) scale(1);
    }

    50% {
        transform: translateX(20px) scale(1.1);
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(12deg);
    }

    50% {
        transform: rotate(-12deg);
    }
}

/* Main layout */
.main-container {
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
.headline {
    font-size: 3.75rem;
    /* 6xl */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 3rem;
    animation: scrollIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    cursor: default;
}

@media (min-width: 768px) {
    .headline {
        font-size: 6rem;
        /* 8xl */
    }
}

@media (min-width: 1024px) {
    .headline {
        font-size: 8rem;
        /* 9xl */
    }
}

.headline>span {
    display: block;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.headline>span:hover {
    transform: scaleY(0.95);
}

.text-line-1 {
    background-image: linear-gradient(to right, white, var(--color-orange-100), var(--color-red-100));
    animation: pulseText 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.text-line-2 {
    background-image: linear-gradient(to right, var(--color-orange-400), var(--color-red-500), var(--color-amber-500));
    animation: glowText 3s ease-in-out infinite alternate;
}

@keyframes scrollIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes glowText {
    0% {
        filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.6));
    }
}

/* Button */
.button-wrapper {
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: scrollIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

.discord-button {
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, var(--color-orange-600), var(--color-red-600));
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1.5rem 3rem;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.7s ease-in-out;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.discord-button:hover {
    transform: scale(1.1) rotate(1deg);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5);
    /* shadow-orange-500/50 */
}

.discord-button:active {
    transform: scale(0.95);
}

/* 3D Layers */
.button-layer-1,
.button-layer-2 {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    transition: transform 0.7s ease-in-out;
}

.button-layer-1 {
    background: linear-gradient(to right, var(--color-orange-700), var(--color-red-700));
    transform: translateY(8px);
    z-index: -1;
}

.button-layer-2 {
    background: linear-gradient(to right, var(--color-orange-800), var(--color-red-800));
    transform: translateY(16px);
    z-index: -2;
}

.discord-button:hover .button-layer-1 {
    transform: translateY(4px);
}

.discord-button:hover .button-layer-2 {
    transform: translateY(8px);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.discord-icon {
    width: 2rem;
    height: 2rem;
    transition: transform 0.3s ease;
}

.discord-button:hover .discord-icon {
    transform: scale(1.1);
}

.discord-button:hover .button-text {
    animation: pulseText 2s infinite;
}

/* Button Hover Particles */
.hover-particles {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.discord-button:hover .hover-particles {
    opacity: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.p-1 {
    top: 0.5rem;
    left: 1rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
}

.p-2 {
    top: 1rem;
    right: 1.5rem;
    width: 0.25rem;
    height: 0.25rem;
    background-color: var(--color-orange-300);
    animation-delay: 0.2s;
}

.p-3 {
    bottom: 0.75rem;
    left: 2rem;
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--color-red-300);
    animation-delay: 0.4s;
}

.p-4 {
    bottom: 1rem;
    right: 1rem;
    width: 0.25rem;
    height: 0.25rem;
    background-color: var(--color-amber-300);
    animation-delay: 0.6s;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Logo */
.logo-container {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.logo-wrapper {
    position: relative;
}

.logo-img {
    width: 3rem;
    height: 3rem;
    opacity: 0.3;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: all 0.5s ease-in-out;
    animation: floatGentle 3s ease-in-out infinite;
}

.logo-container:hover .logo-img {
    transform: scale(1.25) rotate(12deg);
    opacity: 0.8;
}

.logo-glow {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    bottom: -0.5rem;
    left: -0.5rem;
    background: linear-gradient(to right, rgba(251, 146, 60, 0.2), rgba(248, 113, 113, 0.2));
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.logo-container:hover .logo-glow {
    opacity: 1;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatGentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Imprint specific styles */
.imprint-link {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    z-index: 10;
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.imprint-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.imprint-wrapper {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.back-link {
    display: inline-block;
    color: var(--color-orange-400);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
    font-weight: 700;
}

.back-link:hover {
    color: var(--color-orange-300);
}

.imprint-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background-image: linear-gradient(to right, white, var(--color-orange-100));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.imprint-content {
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    line-height: 1.7;
}

.imprint-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-orange-300);
}

.imprint-content p {
    margin-bottom: 1rem;
}

.imprint-content a {
    color: var(--color-orange-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.imprint-content a:hover {
    color: var(--color-orange-300);
    text-decoration: underline;
}

.imprint-footer-links {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.4);
}