/* ========================================
   The Academy Dublin Gig — Holding Page Styles
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --clr-bg: #0b0f0e;
    --clr-surface: #121a18;
    --clr-accent: #00f0b5;
    --clr-accent-light: #2bffc6;
    --clr-accent-glow: rgba(0, 240, 181, 0.3);
    --clr-accent-dark: #00c896;
    --clr-text: #e0ede8;
    --clr-text-muted: #8a9e96;
    --clr-white: #ffffff;
    --clr-dark: #1a1a1a;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-glow: 0 0 40px var(--clr-accent-glow);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--clr-bg);
    color: var(--clr-text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* --- Ambient Background Glows --- */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.bg-glow--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--clr-accent-dark) 0%, transparent 70%);
    top: -120px;
    left: -100px;
    animation: drift 12s ease-in-out infinite alternate;
}

.bg-glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--clr-accent) 0%, transparent 70%);
    bottom: -80px;
    right: -60px;
    animation: drift 15s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 30px) scale(1.15);
    }
}

/* --- Container --- */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    padding: 2rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* --- Header --- */
.header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.header__badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-accent);
    border: 1px solid rgba(0, 240, 181, 0.35);
    padding: 0.35em 1.1em;
    border-radius: 999px;
    background: rgba(0, 240, 181, 0.08);
    animation: fadeInDown 0.8s ease-out;
}

.header__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--clr-white);
    letter-spacing: -0.02em;
    animation: fadeIn 1s ease-out 0.2s both;
}

.header__accent {
    background: linear-gradient(135deg, var(--clr-accent-light), var(--clr-accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header__subtitle {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    max-width: 340px;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.4s both;
}

/* --- CTA Button --- */
.cta {
    width: 100%;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.9s ease-out 0.5s both;
}

.cta__button {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-dark);
    text-decoration: none;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-light));
    padding: 1rem 1.8rem;
    border-radius: var(--radius-md);
    box-shadow:
        var(--shadow-glow),
        0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.cta__button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta__button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 60px var(--clr-accent-glow),
        0 8px 30px rgba(0, 0, 0, 0.5);
}

.cta__button:hover::before {
    opacity: 1;
}

.cta__button:active {
    transform: translateY(-1px) scale(0.99);
}

.cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {

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

    50% {
        transform: translateY(3px);
    }
}

/* --- Hero Images --- */
.hero {
    width: 100%;
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero__frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-surface);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg,
            transparent 60%,
            rgba(11, 15, 14, 0.4) 100%);
    pointer-events: none;
}

.hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

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

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

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .container {
        max-width: 500px;
    }

    .hero {
        flex-direction: column;
        height: auto;
        gap: 1.25rem;
    }

    .hero__frame {
        flex: none;
    }

    .hero__image {
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem 2.5rem;
        gap: 1.25rem;
    }

    .cta__button {
        font-size: 0.85rem;
        padding: 0.85rem 1.3rem;
    }

    .hero__frame {
        border-radius: var(--radius-md);
    }
}