/* Base layout foundation */
:root {
    --font-base: 'Segoe UI', Tahoma, sans-serif;
    --color-background: #0d1122;
    --color-surface: #12172b;
    --color-surface-alt: #1d243b;
    --color-border: rgba(247, 167, 54, 0.35);
    --color-border-soft: rgba(68, 23, 147, 0.28);
    --color-text-primary: #f4f6fa;
    /* silver-ish */
    --color-text-muted: rgba(230, 232, 238, 0.68);
    --color-gold: #f7a736;
    /* brand gold */
    --color-gold-bright: #ffd700;
    --color-purple: #7c3aed;
    --color-purple-light: #a78bfa;
    --color-purple-dark: #5b2ca2;
    --color-silver: #cfd8e3;
    --gradient-brand: linear-gradient(120deg, var(--color-purple) 0%, var(--color-purple-light) 45%, var(--color-gold-bright) 100%);
    --gradient-gold: linear-gradient(95deg, #b97822 0%, #f7a736 40%, #ffd700 70%, #ffefb3 100%);
    --gradient-purple: linear-gradient(100deg, #5b2ca2 0%, #7c3aed 45%, #a78bfa 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-base);
    background:
        radial-gradient(circle at 18% 12%, rgba(124, 58, 237, 0.18), transparent 60%),
        radial-gradient(circle at 82% 20%, rgba(247, 167, 54, 0.15), transparent 65%),
        var(--color-background);
    color: var(--color-text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    /* Disable text selection to prevent copying content */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

main {
    flex: 1;
}

.container {
    width: min(1300px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
    /* restore side padding on larger screens */
}

/* Scaling wrapper solution C */
.wrapper-scale {
    width: 1200px;
    transform-origin: top left;
    /* flush left when scaled on mobile */
    will-change: transform;
    transition: transform 0.18s ease;
}


.placeholder {
    margin: 0 auto;
    max-width: 680px;
    padding: 4rem 2rem;
    border: 2px dashed var(--color-border);
    border-radius: 12px;
    text-align: center;
    background: rgba(17, 24, 48, 0.6);
}

.placeholder h1 {
    margin-bottom: 0.75rem;
    font-size: 2rem;
    color: var(--color-text-primary);
}

.placeholder p {
    margin: 0;
    color: var(--color-text-muted);
}

[data-include] {
    min-height: 1px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:focus,
.button:hover {
    transform: translateY(-2px);
}

/* Allow text selection in form inputs */
input,
textarea,
select {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* Primary brand button */
.button--primary {
    background: var(--gradient-brand);
    color: var(--color-text-primary);
    box-shadow: 0 12px 28px -6px rgba(124, 58, 237, 0.45), 0 4px 10px rgba(247, 167, 54, 0.25);
    font-weight: 700;
    letter-spacing: .04em;
}

.button--primary:focus,
.button--primary:hover {
    box-shadow: 0 16px 36px -6px rgba(124, 58, 237, 0.55), 0 0 0 2px var(--color-gold-bright), 0 0 18px rgba(247, 167, 54, 0.55);
}

/* Ghost brand button */
.button--ghost {
    border: 1px solid var(--color-purple-light);
    color: var(--color-purple-light);
    background: rgba(92, 54, 150, 0.18);
}

.button--ghost:focus,
.button--ghost:hover {
    border-color: var(--color-gold-bright);
    color: var(--color-gold-bright);
    background: rgba(247, 167, 54, 0.18);
}

/* Utility text colors */
.text-gold {
    color: var(--color-gold-bright);
}

.text-purple {
    color: var(--color-purple-light);
}

.text-silver {
    color: var(--color-silver);
}

/* Utility glows */
.glow-gold {
    text-shadow: 0 0 6px var(--color-gold-bright), 0 0 16px rgba(247, 167, 54, .55);
}

.glow-purple {
    text-shadow: 0 0 6px var(--color-purple-light), 0 0 16px rgba(124, 58, 237, .5);
}

.glow-silver {
    text-shadow: 0 0 4px #fff, 0 0 12px rgba(255, 255, 255, .6);
}

/* Content sections wrapper with shared background */
.content-sections {
    background:
        radial-gradient(circle at 18% 14%, rgba(124, 58, 237, 0.28), transparent 60%),
        radial-gradient(circle at 82% 22%, rgba(247, 167, 54, 0.22), transparent 65%),
        linear-gradient(145deg, rgba(17, 22, 40, 0.92), rgba(22, 28, 52, 0.72) 55%, rgba(14, 18, 32, 0.94)),
        url('/images/BG MID.png') TOP center/cover no-repeat;
    background-blend-mode: overlay;
}
