/* WoW WotLK — Frost / Ice Theme */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Roboto:wght@300;400;500&display=swap');

:root {
    --ice-bg:        #070b12;
    --ice-bg-2:      #0d1622;
    --ice-panel:     #0f1b29;
    --ice-panel-2:   #132738;
    --ice-border:    #1f3b54;
    --ice-line:      #2a4d6e;

    --frost:         #bfe9ff;
    --frost-bright:  #e6f7ff;
    --ice:           #7fd4ff;
    --ice-deep:      #4a90e2;
    --ice-strong:    #2f6fb3;
    --rune:          #9ecbff;

    --gold:          #c5a059;
    --red:           #e0564b;

    --text:          #cfe3f2;
    --text-dim:      #6f8aa3;
}

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

html, body {
    height: 100%;
}

body {
    background:
        radial-gradient(1200px 600px at 50% -10%, rgba(79,144,226,0.18), transparent 60%),
        radial-gradient(900px 500px at 85% 110%, rgba(127,212,255,0.10), transparent 60%),
        linear-gradient(180deg, var(--ice-bg-2) 0%, var(--ice-bg) 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Cold drifting frost overlay */
.frost-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(191,233,255,0.5), transparent 50%),
        radial-gradient(1.5px 1.5px at 70% 20%, rgba(191,233,255,0.4), transparent 50%),
        radial-gradient(2px 2px at 40% 70%, rgba(127,212,255,0.35), transparent 50%),
        radial-gradient(1.5px 1.5px at 85% 60%, rgba(191,233,255,0.4), transparent 50%),
        radial-gradient(2px 2px at 10% 85%, rgba(127,212,255,0.3), transparent 50%);
    opacity: 0.5;
    animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
    from { transform: translateY(0) translateX(0); }
    to   { transform: translateY(-14px) translateX(10px); }
}

/* Epic Icecrown Citadel / Lich King background */
.citadel-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7,11,18,0.55) 0%, rgba(7,11,18,0.20) 42%, rgba(7,11,18,0.88) 100%),
        radial-gradient(120% 80% at 50% 0%, rgba(74,144,226,0.20), transparent 60%),
        url("../img/icecrown.webp") center 30% / cover no-repeat;
    filter: brightness(0.62) saturate(1.08) contrast(1.04);
}

.citadel-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(140% 100% at 50% 50%, transparent 55%, rgba(5,8,13,0.7) 100%);
}

/* ===================== Header ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--ice-border);
    background: linear-gradient(180deg, rgba(13,22,34,0.92), rgba(7,11,18,0.75));
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 0 rgba(127,212,255,0.15), 0 10px 30px rgba(0,0,0,0.45);
}

.site-header__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand__mark {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, var(--frost-bright), var(--ice) 45%, var(--ice-strong) 100%);
    box-shadow: 0 0 14px rgba(127,212,255,0.7), inset 0 0 6px rgba(255,255,255,0.6);
}

.brand__name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 1.05rem;
    color: var(--frost);
    text-shadow: 0 0 12px rgba(127,212,255,0.35);
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 4px;
    color: #06121f;
    border: 1px solid var(--ice-strong);
    background: linear-gradient(180deg, var(--frost), var(--ice) 55%, var(--ice-deep) 100%);
    box-shadow: 0 0 12px rgba(127,212,255,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: transform 0.12s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-header:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(127,212,255,0.6), inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-header:active {
    transform: translateY(0);
}

.btn-header--ghost {
    color: var(--ice);
    background: transparent;
    border-color: var(--ice-line);
    box-shadow: none;
}

.btn-header--ghost:hover {
    background: rgba(127,212,255,0.08);
    box-shadow: none;
}

/* ===================== Layout ===================== */
.site-main {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, var(--ice-panel-2), var(--ice-panel));
    border: 1px solid var(--ice-border);
    border-radius: 10px;
    box-shadow:
        0 0 30px rgba(0,0,0,0.55),
        0 0 0 1px rgba(127,212,255,0.06),
        inset 0 1px 0 rgba(191,233,255,0.08);
    padding: 34px 32px;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ice), var(--frost-bright), var(--ice), transparent);
    opacity: 0.85;
}

.logo {
    text-align: center;
    margin-bottom: 26px;
}

.logo h1 {
    font-family: 'Cinzel', serif;
    color: var(--frost);
    font-size: 1.7rem;
    letter-spacing: 1px;
    text-shadow: 0 0 18px rgba(127,212,255,0.4);
}

.logo p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* ===================== Forms ===================== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    color: var(--ice);
    margin-bottom: 7px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(6,14,24,0.7);
    border: 1px solid var(--ice-border);
    border-radius: 5px;
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    border-color: var(--ice);
    box-shadow: 0 0 10px rgba(127,212,255,0.25);
}

/* ===================== Buttons ===================== */
.btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: linear-gradient(180deg, var(--frost), var(--ice) 55%, var(--ice-deep) 100%);
    border: 1px solid var(--ice-strong);
    border-radius: 5px;
    color: #06121f;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0 14px rgba(127,212,255,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--ice);
    border: 1px solid var(--ice-line);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(127,212,255,0.08);
    box-shadow: none;
}

.links {
    text-align: center;
    margin-top: 20px;
}

.links a {
    color: var(--ice);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.links a:hover {
    color: var(--frost-bright);
    text-decoration: underline;
}

/* ===================== Alerts ===================== */
.alert {
    padding: 12px 14px;
    border-radius: 5px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(86,170,140,0.12);
    border-color: #4fbd97;
    color: #6fe0bb;
}

.alert-error {
    background: rgba(224,86,75,0.12);
    border-color: var(--red);
    color: #f08b81;
}

/* ===================== Dashboard ===================== */
.dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.welcome {
    text-align: center;
    margin-bottom: 8px;
}

.welcome h2 {
    font-family: 'Cinzel', serif;
    color: var(--frost);
    font-size: 1.4rem;
    text-shadow: 0 0 14px rgba(127,212,255,0.35);
}

.welcome p {
    color: var(--text-dim);
    margin-top: 6px;
    font-size: 0.95rem;
}

/* ===================== Footer ===================== */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 18px 20px 26px;
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

.site-footer__sep {
    margin: 0 8px;
    opacity: 0.6;
}

/* ===================== Active nav state ===================== */
.btn-header.is-active {
    color: #06121f;
    background: linear-gradient(180deg, var(--frost), var(--ice) 55%, var(--ice-deep) 100%);
    border-color: var(--ice-strong);
    box-shadow: 0 0 14px rgba(127,212,255,0.45), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ===================== Landing: Panes ===================== */
.panes {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 36px 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pane {
    background: linear-gradient(180deg, var(--ice-panel-2), var(--ice-panel));
    border: 1px solid var(--ice-border);
    border-radius: 12px;
    padding: 30px 28px;
    box-shadow: 0 0 26px rgba(0,0,0,0.4), inset 0 1px 0 rgba(191,233,255,0.08);
}

.pane--hero {
    text-align: center;
    border-color: var(--ice-line);
    background:
        radial-gradient(600px 200px at 50% 0%, rgba(127,212,255,0.12), transparent 70%),
        linear-gradient(180deg, var(--ice-panel-2), var(--ice-panel));
    box-shadow: 0 0 34px rgba(127,212,255,0.18), inset 0 1px 0 rgba(191,233,255,0.12);
}

.hero__eyebrow {
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--ice);
    margin-bottom: 14px;
    opacity: 0.85;
}

.hero__title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 8vw, 3.4rem);
    line-height: 1.05;
    color: var(--frost-bright);
    text-shadow: 0 0 28px rgba(127,212,255,0.5), 0 2px 0 rgba(0,0,0,0.4);
    letter-spacing: 1px;
}

.hero__sub {
    margin: 16px auto 0;
    max-width: 520px;
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero__cta {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__lk {
    margin-top: 18px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--text-dim);
}

.hero__lk a {
    color: var(--ice);
    text-decoration: none;
    border-bottom: 1px solid rgba(127,212,255,0.4);
    transition: color 0.2s, border-color 0.2s;
}

.hero__lk a:hover {
    color: var(--frost-bright);
    border-color: var(--frost);
}

/* ===================== Section titles ===================== */
.section-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-align: center;
    font-size: 1.5rem;
    color: var(--frost);
    letter-spacing: 1px;
    text-shadow: 0 0 18px rgba(127,212,255,0.35);
    margin-bottom: 24px;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, transparent, var(--ice), transparent);
}

/* ===================== Landing: Features (stacked) ===================== */
.features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(6,14,24,0.35);
    border: 1px solid var(--ice-border);
    border-radius: 10px;
    padding: 16px 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    border-color: var(--ice-line);
    box-shadow: 0 0 18px rgba(127,212,255,0.18);
}

.feature__icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-top: 2px;
    background: radial-gradient(circle at 35% 30%, var(--frost-bright), var(--ice) 50%, var(--ice-strong) 100%);
    box-shadow: 0 0 14px rgba(127,212,255,0.6), inset 0 0 6px rgba(255,255,255,0.6);
}

.feature h3 {
    font-family: 'Cinzel', serif;
    color: var(--frost);
    font-size: 1.02rem;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.feature p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ===================== Landing: How to join ===================== */
.howto__steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(6,14,24,0.35);
    border: 1px solid var(--ice-border);
    border-radius: 10px;
    padding: 16px 18px;
}

.step__num {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #06121f;
    background: linear-gradient(180deg, var(--frost), var(--ice-deep));
    box-shadow: 0 0 14px rgba(127,212,255,0.4);
}

.step h3 {
    font-family: 'Cinzel', serif;
    color: var(--frost);
    font-size: 1rem;
    margin-bottom: 4px;
}

.step p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.5;
}

.step p a {
    color: var(--ice);
    text-decoration: none;
}

.step p a:hover {
    color: var(--frost-bright);
    text-decoration: underline;
}

.step code {
    font-family: 'Roboto', monospace;
    background: rgba(6,14,24,0.7);
    border: 1px solid var(--ice-border);
    border-radius: 4px;
    padding: 1px 6px;
    color: var(--frost);
    font-size: 0.85rem;
}

/* ===================== Landing: Discord ===================== */
.discord__card {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(6,14,24,0.35);
    border: 1px solid var(--ice-border);
    border-radius: 10px;
    padding: 22px 24px;
}

.discord__mark {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--frost-bright), var(--ice) 50%, var(--ice-strong) 100%);
    box-shadow: 0 0 18px rgba(127,212,255,0.6), inset 0 0 8px rgba(255,255,255,0.6);
}

.discord__text {
    flex: 1 1 200px;
}

.discord__text h2 {
    font-family: 'Cinzel', serif;
    color: var(--frost);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.discord__text p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ===================== Landing: Download ===================== */
.download__card {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(6,14,24,0.35);
    border: 1px solid var(--ice-border);
    border-radius: 10px;
    padding: 22px 24px;
}

.download__icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--frost-bright), var(--ice) 50%, var(--ice-strong) 100%);
    box-shadow: 0 0 18px rgba(127,212,255,0.6), inset 0 0 8px rgba(255,255,255,0.6);
    position: relative;
}

.download__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -65%) rotate(45deg);
    border: 2px solid #06121f;
    border-top: none;
    border-left: none;
}

.download__text {
    flex: 1 1 200px;
}

.download__text h2 {
    font-family: 'Cinzel', serif;
    color: var(--frost);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.download__text p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.5;
}
