/* ==========================================================================
   Home Portal Minimalist Styles
   ========================================================================== */

.home-body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 24px;
    text-align: center;
}

.hero-title {
    font-size: clamp(52px, 8vw, 84px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    user-select: none;
    font-family: var(--font-display);
    color: var(--text-main);
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
}

.hero-title span {
    color: var(--gold);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 38px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-mono);
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s backwards;
}

.hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s backwards;
}

/* Modal Backdrop & Card */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 20px;
}

.modal-backdrop.open {
    display: grid;
    animation: backdropFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-backdrop.closing {
    display: grid;
    animation: backdropFadeOut 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

@keyframes backdropFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes backdropFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.nav-modal-card {
    background: rgba(14, 12, 9, 0.97);
    border: 1px solid rgba(212, 146, 10, 0.22);
    border-radius: 10px;
    padding: 26px;
    width: 100%;
    max-width: 440px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.98),
        0 0 40px rgba(212, 146, 10, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.modal-backdrop.open .nav-modal-card {
    animation: cardOpen 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cardOpen {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
    font-family: var(--font-display);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.15s ease;
}

.modal-close:hover {
    color: var(--text-main);
}

.nav-tiles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-line);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.nav-tile:hover {
    background: rgba(212, 146, 10, 0.05);
    border-color: rgba(212, 146, 10, 0.3);
    transform: translateY(-1px);
}

.nav-tile-left {
    display: flex;
    align-items: center;
    gap: 13px;
}

.nav-tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: rgba(212, 146, 10, 0.08);
    border: 1px solid rgba(212, 146, 10, 0.2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-tile-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-display);
}

.nav-tile-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 1px;
}

.nav-tile-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-tile-arrow-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border-line);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.nav-tile:hover .nav-tile-arrow-circle {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateX(2px);
}

.badge-pill {
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
}

.badge-green {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-dot-green {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2ecc71;
}

.badge-discord {
    background: rgba(88, 101, 242, 0.12);
    color: #7983f5;
    border: 1px solid rgba(88, 101, 242, 0.25);
}

footer {
    position: relative;
    z-index: 10;
    padding: 20px;
    text-align: center;
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
