/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --bg-deep: #0d0805;
    --bg-wood: #1a0f07;
    --bg-wood-mid: #2a1810;
    --bg-wood-light: #3d2317;
    --gold-bright: #ffd700;
    --gold-primary: #f4a825;
    --gold-warm: #e8a849;
    --gold-muted: #c88b3a;
    --gold-dark: #8b6914;
    --parchment: #f0e6d2;
    --parchment-dark: #d4b896;
    --parchment-darker: #b8976a;
    --ember: #ff6b2b;
    --ember-glow: #ff4500;
    --text-light: #f0e6d2;
    --text-muted: #a89070;
    --shadow-warm: rgba(244, 168, 37, 0.15);
    --shadow-deep: rgba(0, 0, 0, 0.8);
    --font-display: 'Cinzel Decorative', 'Georgia', serif;
    --font-heading: 'Cinzel', 'Georgia', serif;
    --font-body: 'Crimson Text', 'Georgia', serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) var(--bg-deep);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-muted); }

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 18px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: all 0.5s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(13, 8, 5, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(244, 168, 37, 0.15);
    padding: 0.6rem 2rem;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold-primary);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(244, 168, 37, 0.4);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--parchment-dark);
    text-decoration: none;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--gold-primary);
}

.nav-links a:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 15px rgba(244, 168, 37, 0.3);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/warcraft_rumble_season_6_key_art.jpg') center center / cover no-repeat;
    transform: scale(1.1);
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(244, 168, 37, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(13, 8, 5, 0.95) 0%, transparent 70%),
        linear-gradient(to bottom,
            rgba(13, 8, 5, 0.3) 0%,
            rgba(13, 8, 5, 0.1) 30%,
            rgba(13, 8, 5, 0.4) 60%,
            rgba(13, 8, 5, 0.95) 100%
        );
}

.hero-vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 200px 60px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

#ember-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    animation: heroFadeIn 2s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle-top {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.3rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-warm);
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeSlideUp 1s ease-out 0.5s forwards;
    text-shadow: 0 0 20px rgba(244, 168, 37, 0.4), 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    color: var(--gold-primary);
    text-shadow:
        0 0 40px rgba(244, 168, 37, 0.5),
        0 0 80px rgba(244, 168, 37, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
    margin-bottom: 0.3rem;
    opacity: 0;
    animation: titleReveal 1.5s ease-out 0.3s forwards;
}

@keyframes titleReveal {
    from { opacity: 0; transform: translateY(30px) scale(0.95); letter-spacing: 0.2em; }
    to { opacity: 1; transform: translateY(0) scale(1); letter-spacing: 0.05em; }
}

.hero-guild-tag {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--parchment-dark);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeSlideUp 1s ease-out 0.8s forwards;
}

.hero-divider {
    width: 120px;
    height: 2px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    box-shadow: 0 0 15px rgba(244, 168, 37, 0.4);
    opacity: 0;
    animation: fadeSlideUp 1s ease-out 0.9s forwards;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--parchment);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeSlideUp 1s ease-out 1.1s forwards;
}

.hero-cta {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-warm), var(--gold-bright));
    padding: 1rem 2.8rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeSlideUp 1s ease-out 1.4s forwards, ctaPulse 3s ease-in-out 3s infinite;
    font-weight: 700;
}

/* Shimmer light sweep across the button */
.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.4) 45%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 55%,
        transparent 80%
    );
    animation: ctaShimmer 4s ease-in-out 3.5s infinite;
    pointer-events: none;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(244, 168, 37, 0.2), 0 0 40px rgba(244, 168, 37, 0.1);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 25px rgba(244, 168, 37, 0.5), 0 0 60px rgba(244, 168, 37, 0.25), 0 0 90px rgba(255, 215, 0, 0.1);
        transform: translateY(-2px);
    }
}

@keyframes ctaShimmer {
    0%, 100% { left: -100%; }
    40%, 60% { left: 150%; }
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 30px rgba(244, 168, 37, 0.5), 0 0 60px rgba(244, 168, 37, 0.25), 0 0 100px rgba(255, 215, 0, 0.1);
    animation: fadeSlideUp 1s ease-out 1.4s forwards;
}

.hero-cta:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: fadeSlideUp 1s ease-out 2s forwards;
}

.hero-scroll-indicator .chevron {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold-muted);
    border-bottom: 2px solid var(--gold-muted);
    transform: rotate(45deg);
    margin: -8px auto 0;
    animation: scrollBounce 2s infinite;
    opacity: 0.6;
}

.hero-scroll-indicator .chevron:nth-child(2) { animation-delay: 0.15s; }
.hero-scroll-indicator .chevron:nth-child(3) { animation-delay: 0.3s; }

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.6; }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section {
    position: relative;
    padding: 6rem 2rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gold-primary);
    text-shadow: 0 0 30px rgba(244, 168, 37, 0.25);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 2px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-style: italic;
}

/* Decorative diamond dividers */
.diamond-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
    width: 200px;
}

.diamond-divider::before,
.diamond-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark));
}

.diamond-divider::after {
    background: linear-gradient(90deg, var(--gold-dark), transparent);
}

.diamond-divider .diamond {
    width: 8px;
    height: 8px;
    background: var(--gold-dark);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(244, 168, 37, 0.04) 0%, transparent 50%),
        var(--bg-wood);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: linear-gradient(135deg, rgba(42, 24, 16, 0.8), rgba(26, 15, 7, 0.9));
    border: 1px solid rgba(200, 139, 58, 0.15);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

/* Tavern-style corner decorations */
.about-card::before,
.about-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold-dark);
    border-style: solid;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.about-card::before {
    top: 8px;
    left: 8px;
    border-width: 2px 0 0 2px;
}

.about-card::after {
    bottom: 8px;
    right: 8px;
    border-width: 0 2px 2px 0;
}

.about-card:hover {
    border-color: rgba(244, 168, 37, 0.3);
    box-shadow: 0 8px 40px rgba(244, 168, 37, 0.08), inset 0 0 30px rgba(244, 168, 37, 0.03);
    transform: translateY(-4px);
}

.about-card:hover::before,
.about-card:hover::after {
    opacity: 1;
}

.about-icon {
    display: block;
    margin: 0 auto 1.2rem;
    width: 48px;
    height: 48px;
}

.about-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--gold-warm);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(244, 168, 37, 0.3));
    transition: all 0.4s ease;
}

.about-card:hover .about-icon svg {
    stroke: var(--gold-bright);
    filter: drop-shadow(0 0 12px rgba(244, 168, 37, 0.5));
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-warm);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   ABOUT TEXT BLOCK
   ============================================ */
.about-text-block {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-text-block p {
    font-size: 1.15rem;
    color: var(--parchment-dark);
    line-height: 1.9;
}

.about-text-block p + p {
    margin-top: 1rem;
}

.highlight {
    color: var(--gold-warm);
    font-weight: 600;
}

/* ============================================
   ADVENTURES SECTION
   ============================================ */
.adventures {
    background: var(--bg-deep);
    overflow: hidden;
}

.adventures::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.adventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.adventure-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    group: true;
}

.adventure-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.adventure-card:hover img {
    transform: scale(1.08);
}

.adventure-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 8, 5, 0.95) 0%, rgba(13, 8, 5, 0.3) 40%, transparent 70%);
    transition: all 0.4s ease;
}

.adventure-card:hover .adventure-card-overlay {
    background: linear-gradient(to top, rgba(13, 8, 5, 0.98) 0%, rgba(13, 8, 5, 0.4) 50%, rgba(244, 168, 37, 0.05) 100%);
}

.adventure-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.adventure-card:hover .adventure-card-content {
    transform: translateY(0);
}

.adventure-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-primary);
    border: 1px solid rgba(244, 168, 37, 0.3);
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.adventure-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--parchment);
    margin-bottom: 0.5rem;
    height: 2.8em;
    display: flex;
    align-items: flex-end;
}

.adventure-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    height: 3.4em;
}

.adventure-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Golden border glow on hover */
.adventure-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
    border-radius: 4px;
    pointer-events: none;
}

.adventure-card:hover::after {
    border-color: rgba(244, 168, 37, 0.25);
    box-shadow: inset 0 0 30px rgba(244, 168, 37, 0.05);
}

/* ============================================
   GUIDES SECTION
   ============================================ */
.guides {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(244, 168, 37, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(244, 168, 37, 0.03) 0%, transparent 50%),
        var(--bg-wood);
}

.guides::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.guide-card {
    position: relative;
    background: linear-gradient(180deg, rgba(42, 24, 16, 0.6), rgba(13, 8, 5, 0.9));
    border: 1px solid rgba(200, 139, 58, 0.12);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    border-color: rgba(244, 168, 37, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(244, 168, 37, 0.1);
}

.guide-card-img {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.guide-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.guide-card:hover .guide-card-img img {
    transform: scale(1.06);
}

.guide-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 8, 5, 1) 0%, rgba(13, 8, 5, 0.4) 50%, transparent 100%);
}

.guide-card-icon {
    width: 44px;
    height: 44px;
    margin: -22px auto 0;
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.guide-card-body {
    padding: 0 1.8rem 2.2rem;
    text-align: center;
    flex: 1;
}

.guide-card-category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-primary);
    border: 1px solid rgba(244, 168, 37, 0.25);
    padding: 0.2rem 0.9rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.guide-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--parchment);
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.guide-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    min-height: 3.2em;
}

.guide-list {
    list-style: none;
    text-align: left;
}

.guide-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.4rem;
    font-size: 0.95rem;
    color: var(--parchment-dark);
    border-bottom: 1px solid rgba(200, 139, 58, 0.08);
    transition: all 0.3s ease;
}

.guide-list li:last-child {
    border-bottom: none;
}

.guide-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 0.6rem;
    color: var(--gold-dark);
    font-size: 0.5rem;
    line-height: 1.7;
}

.guide-list li:hover {
    color: var(--gold-warm);
    padding-left: 1.7rem;
}

.guide-list li:hover::before {
    color: var(--gold-primary);
}

.guide-card-footer {
    padding: 0 1.8rem 1.8rem;
    text-align: center;
}

.guide-card.coming-soon { opacity: 0.6; pointer-events: none; }
.coming-soon-badge { position: absolute; top: 14px; right: 14px; z-index: 5; font-family: var(--font-heading); font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-primary); background: rgba(13,8,5,0.8); padding: 0.3rem 0.8rem; border: 1px solid rgba(244,168,37,0.25); backdrop-filter: blur(4px); }
.guide-card.coming-soon .guide-link { color: var(--text-muted); cursor: default; }
.guide-card.coming-soon .guide-link::after { display: none; }

.guide-link {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.guide-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 6px var(--gold-primary);
}

.guide-link:hover {
    color: var(--gold-primary);
}

.guide-link:hover::after {
    width: 100%;
}

/* ============================================
   RECRUITMENT / JOIN SECTION
   ============================================ */
.join {
    background: var(--bg-deep);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.join-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 168, 37, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.join .section-inner {
    position: relative;
    z-index: 1;
}

.join-quote {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--parchment);
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.join-quote-attr {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--gold-muted);
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
}

.join-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.join-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
    transition: all 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 168, 37, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-primary);
    background: transparent;
    border: 1px solid rgba(244, 168, 37, 0.3);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background: rgba(244, 168, 37, 0.08);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 168, 37, 0.1);
}

/* ============================================
   RECRUITMENT FORM
   ============================================ */
.recruit-form-wrapper {
    margin-top: 3rem;
    text-align: center;
}

.recruit-form-intro {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--parchment-dark);
    letter-spacing: 0.05em;
    margin: 1.5rem 0 2rem;
}

.recruit-form {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(42, 24, 16, 0.7), rgba(26, 15, 7, 0.85));
    border: 1px solid rgba(200, 139, 58, 0.2);
    padding: 2.5rem 2rem;
    position: relative;
    text-align: left;
}

.recruit-form::before,
.recruit-form::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--gold-dark);
    border-style: solid;
    opacity: 0.5;
}

.recruit-form::before {
    top: 10px;
    left: 10px;
    border-width: 2px 0 0 2px;
}

.recruit-form::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 2px 2px 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(13, 8, 5, 0.6);
    border: 1px solid rgba(200, 139, 58, 0.15);
    color: var(--parchment);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.form-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px rgba(244, 168, 37, 0.15);
}

.form-input[type="number"] {
    max-width: 120px;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.6rem;
    justify-items: center;
}

.class-icon {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    border: 2px solid rgba(200, 139, 58, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    background: rgba(13, 8, 5, 0.5);
    padding: 0;
    font: inherit;
    outline: none;
}

.class-icon:focus-visible {
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.5);
}

.class-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.class-icon:hover {
    border-color: var(--gold-warm);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 168, 37, 0.2);
}

.class-icon.selected {
    border-color: var(--gold-bright);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4), 0 0 30px rgba(244, 168, 37, 0.15);
}

.class-icon-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.3rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.spec-group {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
}

.spec-group.visible {
    max-height: 300px;
    opacity: 1;
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding-top: 0.5rem;
}

.spec-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(13, 8, 5, 0.5);
    border: 1px solid rgba(200, 139, 58, 0.15);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--parchment-dark);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    outline: none;
}

.spec-option:focus-visible {
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.5);
}

.spec-option img {
    width: 28px;
    height: 28px;
    border-radius: 3px;
}

.spec-option:hover {
    border-color: var(--gold-warm);
    color: var(--parchment);
}

.spec-option.selected {
    border-color: var(--gold-bright);
    background: rgba(244, 168, 37, 0.1);
    color: var(--gold-warm);
    box-shadow: 0 0 10px rgba(244, 168, 37, 0.15);
}

.recruit-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
    font-weight: 700;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
    transition: all 0.4s ease;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

.recruit-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 168, 37, 0.35);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-wood);
    border-top: 1px solid rgba(200, 139, 58, 0.1);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(244, 168, 37, 0.5), 0 0 25px rgba(244, 168, 37, 0.3), 0 0 50px rgba(244, 168, 37, 0.15);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(244, 168, 37, 0.5), 0 0 25px rgba(244, 168, 37, 0.3), 0 0 50px rgba(244, 168, 37, 0.15); }
    50% { text-shadow: 0 0 15px rgba(244, 168, 37, 0.7), 0 0 35px rgba(244, 168, 37, 0.4), 0 0 70px rgba(244, 168, 37, 0.2); }
}

.footer-made {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.4;
    margin-top: 0.8rem;
}

.footer-made .heart {
    color: #c0392b;
    opacity: 1;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.4;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .guides-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .class-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 8, 5, 0.97);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(244, 168, 37, 0.15);
    }

    .nav {
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .section { padding: 4rem 1.2rem; }

    .guide-card-img {
        height: 220px;
    }

    .adventures-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .adventure-card { aspect-ratio: 2/3; }

    .join-buttons {
        flex-direction: column;
        align-items: center;
    }

    .class-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .class-icon {
        width: 46px;
        height: 46px;
    }

    .recruit-form {
        padding: 2rem 1.2rem;
    }

    .spec-options {
        flex-direction: column;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.6rem;
    }
}

/* ============================================
   WOOD GRAIN TEXTURE (CSS only)
   ============================================ */
.wood-texture {
    position: relative;
}

.wood-texture::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.015;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(244, 168, 37, 0.3) 2px,
        rgba(244, 168, 37, 0.3) 3px
    );
    pointer-events: none;
}
