.contact-page {
    min-height: 100vh;
    background-color: rgb(5, 5, 5);
}

.contact-content {
    width: min(100%, 82rem);
    margin: 0 auto;
    padding: clamp(4rem, 10vh, 7rem) 2rem 5rem;
    box-sizing: border-box;
    color: white;
    font-family: "Geist", sans-serif;
}

.contact-hero {
    text-align: center;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgb(80 220 135 / 28%);
    border-radius: 999px;
    background: rgb(80 220 135 / 8%);
    color: rgb(190 255 214 / 88%);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.04em;
}

.availability-badge span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #50dc87;
    box-shadow: 0 0 9px rgb(80 220 135 / 75%);
}

.contact-hero h1 {
    margin: 1.5rem 0 0;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    text-shadow: 0 0 10px rgb(255 255 255 / 28%), 0 0 30px rgb(255 255 255 / 10%);
}

.contact-hero > p {
    margin: 1.25rem 0 0;
    color: rgb(255 255 255 / 68%);
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    line-height: 1.7;
    text-shadow: 0 0 8px rgb(255 255 255 / 16%);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 4rem;
}

.contact-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --glow-x: 50%;
    --glow-y: 50%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 1rem;
    background: rgb(210 210 210 / 8%);
    color: white;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1);
    transform-style: preserve-3d;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    will-change: transform;
}

.contact-card:hover,
.contact-card:focus-visible {
    border-color: rgba(212, 175, 55, 0.58);
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(221, 163, 58, 0.12), transparent 44%),
        rgb(210 210 210 / 9%);
    box-shadow: 0 16px 38px rgb(0 0 0 / 34%), 0 0 20px rgba(212, 175, 55, 0.14);
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.035);
}

.contact-card:focus-visible {
    outline: 2px solid #dda33a;
    outline-offset: 3px;
}

.contact-name {
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 0 7px rgb(255 255 255 / 18%);
}

.contact-handle {
    overflow: hidden;
    margin-top: 0.65rem;
    color: rgb(255 255 255 / 55%);
    font-size: 0.85rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
}

.contact-panel {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --glow-x: 50%;
    --glow-y: 50%;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 1.25rem;
    background: rgb(210 210 210 / 8%);
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1);
    transform-style: preserve-3d;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    will-change: transform;
}

.contact-panel:hover {
    z-index: 2;
    border-color: rgba(212, 175, 55, 0.44);
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(221, 163, 58, 0.1), transparent 46%),
        rgb(210 210 210 / 9%);
    box-shadow: 0 18px 45px rgb(0 0 0 / 34%), 0 0 22px rgba(212, 175, 55, 0.12);
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.025);
}

.contact-panel h2,
.faq-section h2,
.contact-cta h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    text-shadow: 0 0 8px rgb(255 255 255 / 20%);
}

.contact-panel p {
    color: rgb(255 255 255 / 68%);
    line-height: 1.7;
}

.checklist-panel ul {
    display: grid;
    gap: 0.75rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.checklist-panel li::before {
    content: "✓";
    margin-right: 0.7rem;
    color: #dda33a;
    text-shadow: 0 0 7px rgba(221, 163, 58, 0.5);
}

.faq-section {
    margin-top: 4rem;
}

.faq-section > h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-list details {
    interpolate-size: allow-keywords;
    border: 1px solid rgb(255 255 255 / 11%);
    border-radius: 0.85rem;
    background: rgb(255 255 255 / 4%);
}

.faq-list details::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition: block-size 280ms ease, content-visibility 280ms allow-discrete, opacity 220ms ease;
}

.faq-list details[open]::details-content {
    block-size: auto;
    opacity: 1;
}

.faq-list summary {
    padding: 1.15rem 1.25rem;
    font-weight: 650;
    cursor: pointer;
}

.faq-list details p {
    margin: 0;
    padding: 0 1.25rem 1.25rem;
    color: rgb(255 255 255 / 62%);
    line-height: 1.65;
}

.contact-cta {
    margin-top: 5rem;
    padding: clamp(2.5rem, 6vw, 5rem) 2rem;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 1.25rem;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1), transparent 70%);
    text-align: center;
}

.contact-cta p {
    margin: 1rem 0 0;
    color: rgb(255 255 255 / 66%);
}

.discord-cta {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 1.6rem;
    border: 1px solid #efc35a;
    border-radius: 999px;
    background: linear-gradient(135deg, #dda33a, #9b6615);
    box-shadow: 0 0 14px rgba(221, 163, 58, 0.48), 0 0 34px rgba(221, 163, 58, 0.2);
    color: white;
    font-weight: 750;
    text-decoration: none;
    text-shadow: 0 0 7px rgb(255 255 255 / 30%);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.discord-cta:hover,
.discord-cta:focus-visible {
    box-shadow: 0 0 20px rgba(221, 163, 58, 0.65), 0 0 44px rgba(221, 163, 58, 0.3);
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .contact-content {
        padding-inline: 1rem;
    }

    .contact-cards,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .contact-card:hover,
    .contact-panel,
    .contact-panel:hover {
        transform: none;
        transition: none;
    }
}
