html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

section,
[id] {
    scroll-margin-top: 72px;
}

.masthead {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(226, 145, 65, 0.14), transparent 22%),
        linear-gradient(135deg, #070707 0%, #100d0b 36%, #090909 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 440px;
    padding-top: 96px;
    padding-bottom: 20px;
    gap: 1.5rem;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 540px;
    background: rgba(11, 11, 11, 0.78);
    border: 1px solid rgba(226, 145, 65, 0.25);
    border-radius: 18px 26px 22px 14px / 24px 18px 24px 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    padding: 1.7rem 1.9rem 1.5rem;
    backdrop-filter: blur(2px);
    transform: rotate(-0.7deg);
}

.eyebrow {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(226, 145, 65, 0.5);
    border-radius: 999px;
    color: #f3c390;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.88;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: #f5efe7;
    font-family: 'Yanone Kaffeesatz', sans-serif;
}

.hero-subtitle {
    margin: 0.7rem 0 0;
    color: #e29141;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'PT Sans', sans-serif;
}

.hero-description {
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 45ch;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    background: rgba(226, 145, 65, 0.12);
    border: 1px solid rgba(226, 145, 65, 0.32);
    border-radius: 999px;
    color: #f2d9bb;
    font-size: 0.8rem;
    font-family: 'PT Sans', sans-serif;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.2rem;
    border-radius: 999px;
    background-color: #e29141;
    color: #120d09;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.hero-cta:hover,
.hero-cta:focus {
    color: #120d09;
    text-decoration: none;
    transform: translateY(-1px);
}

.hero-visual {
    position: relative;
    flex: 1;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    inset: 8% 6% 0 10%;
    border-radius: 50% 45% 42% 58% / 48% 38% 62% 52%;
    background: radial-gradient(circle, rgba(226, 145, 65, 0.18) 0%, rgba(226, 145, 65, 0.06) 30%, rgba(0,0,0,0) 70%);
    filter: blur(12px);
}

.hero-character {
    position: relative;
    width: min(540px, 75vw);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 32px 36px rgba(0, 0, 0, 0.45));
}

.hero-character-image {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    filter: saturate(0.92) contrast(1.08) brightness(0.96);
    transform: translateX(2%);
}

.hero-badge {
    position: absolute;
    bottom: 24px;
    right: 14%;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(226,145,65,0.6);
    border-radius: 999px;
    background: rgba(16, 16, 16, 0.7);
    color: #f7d0a1;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.con-section {
    padding-bottom: 0;
}

.info-row {
    margin-top: 45px;
    align-items: stretch;
}

.info-row .col-sm {
    display: flex;
}

.info-row .media {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    min-height: 100%;
    padding: 0.5rem 0.25rem;
}

.info-row .media img {
    width: 56px;
    height: 56px;
    min-width: 56px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    margin-top: 0.15rem;
}

.info-row .media-body {
    flex: 1;
}

.info-row .media-body h5 {
    margin-bottom: 0.35rem;
}

.info-row .media-body p {
    margin-bottom: 0;
}

.con-details-wrapper {
    display: flex;
    justify-content: center;
}

.con-details {
    width: 75%;
    max-width: 760px;
    min-width: 0;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    line-height: 1.1;
}

.con-details tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.con-details th,
.con-details td {
    padding: 0.7rem 0.85rem;
    vertical-align: top;
    text-align: left;
}

.con-details th {
    width: 170px;
    white-space: nowrap;
}

.con-details td {
    width: auto;
}

.subtext {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1.35;
    margin-top: 0.2rem;
}

.gallery-row {
    margin-top: 30px;
}

.accent-text {
    color: #e29141;
}

.external-link {
    color: #ee9136;
}

.team-photo-frame {
    background: #343434;
    width: 200px;
    height: 234px;
    overflow: hidden;
    border-radius: 4px;
}

.team-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
}

@media (max-width: 991px) {
    .hero-shell {
        min-height: 380px;
        padding-top: 82px;
    }

    .hero-copy {
        max-width: 50%;
    }

    .hero-character {
        width: min(340px, 80vw);
        height: 340px;
    }
}

@media (max-width: 767px) {
    .masthead {
        padding-top: 300px;
        padding-bottom: 100px;
        background:
            linear-gradient(180deg, rgba(13,13,13,0.86), rgba(13,13,13,0.96)),
            radial-gradient(circle at 50% 0%, rgba(226,145,65,0.12), transparent 35%);
    }

    .hero-shell {
        display: block;
        min-height: 0;
        padding-top: 86px;
        padding-bottom: 20px;
    }

    .hero-copy {
        max-width: 100%;
        transform: none;
        padding: 1.2rem 1.1rem;
    }

    .hero-visual {
        display: none;
    }

    .con-details {
        width: 100%;
    }
}

/* Discord icon link in navigation */
.nav-link-icon {
    display: flex;
    align-items: center;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.icon-discord {
    display: block;
    transition: opacity 0.2s ease-in-out;
}

.nav-link-icon:hover .icon-discord,
.nav-link-icon:focus .icon-discord {
    opacity: 0.7;
}

/* More Description Card Grid & Readability */
#more-description {
    max-width: 960px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.intro-text-wrapper {
    max-width: 760px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #ffffff;
}

.info-card {
    background: #141210;
    border: 1px solid rgba(226, 145, 65, 0.25);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.info-card:hover {
    border-color: rgba(226, 145, 65, 0.45);
}

.info-card h3 {
    font-size: 1.25rem;
    color: #e29141;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #ffffff;
}

.info-card p:last-child {
    margin-bottom: 0;
}
