
* {
    box-sizing: border-box;
}

:root {
    --bg: #050809;
    --panel: rgba(9, 13, 15, 0.86);
    --panel-soft: rgba(16, 22, 24, 0.78);
    --gold: #ffd98a;
    --gold-dark: #a36b2a;
    --fire: #df6a2e;
    --ice: #9bd9df;
    --text: #f7ead0;
    --muted: #d4c2a0;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Georgia, "Times New Roman", serif;
    background:
        linear-gradient(rgba(5, 8, 9, 0.80), rgba(5, 8, 9, 0.94)),
        url("../images/sparks-logo.png") center/cover fixed no-repeat;
    color: var(--text);
}

.navbar {
    height: 72px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(3, 6, 7, 0.94);
    border-bottom: 1px solid rgba(255, 217, 138, 0.35);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 217, 138, 0.35);
}

.nav-links {
    display: flex;
    gap: 12px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: bold;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 217, 138, 0.04);
}

.nav-links a:hover {
    color: #100906;
    background: linear-gradient(135deg, var(--gold), var(--fire));
    border-color: rgba(255, 217, 138, 0.5);
}

main {
    padding: 48px 32px;
}

.home-page {
    min-height: calc(100vh - 168px);
    display: grid;
    grid-template-columns: 1.35fr 0.8fr;
    gap: 28px;
    align-items: stretch;
    max-width: 1250px;
    margin: 0 auto;
}

.home-tile {
    background: var(--panel);
    border: 1px solid rgba(255, 217, 138, 0.35);
    border-radius: 26px;
    padding: 38px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
}



.intro-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-tile h1 {
    margin: 0 0 22px;
    font-family: 'Cinzel Decorative', Georgia, serif;
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: 0.92;
    letter-spacing: 2px;
    color: var(--gold);
    text-shadow:
        0 0 10px rgba(255, 217, 138, 0.6),
        0 0 30px rgba(255, 140, 60, 0.3),
        4px 4px 0 rgba(0, 0, 0, 0.8);
}

.intro-tile p,
.account-tile p {
    font-size: 1.18rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 760px;
}

.account-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--panel-soft);
}

.account-tile h2 {
    margin: 0 0 12px;
    font-size: 2.4rem;
    color: var(--gold);
}

.account-actions {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.button,
button {
    display: inline-block;
    text-align: center;
    padding: 15px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 217, 138, 0.45);
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.button.primary,
button {
    background: linear-gradient(135deg, var(--gold), var(--fire));
    color: #120a05;
}

.button.secondary {
    background: rgba(155, 217, 223, 0.08);
    color: var(--ice);
}

.button:hover,
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(255, 217, 138, 0.25);
}

.auth-card {
    max-width: 430px;
    margin: 60px auto;
    padding: 32px;
    background: var(--panel);
    border: 1px solid rgba(255, 217, 138, 0.35);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.65);
}

.auth-card h1 {
    color: var(--gold);
    text-align: center;
}

label {
    display: block;
    margin-top: 16px;
    color: var(--muted);
    font-weight: bold;
}

input {
    width: 100%;
    margin-top: 6px;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid rgba(255, 217, 138, 0.35);
    background: #070a0c;
    color: var(--text);
}

button {
    width: 100%;
    margin-top: 24px;
}

.flash-box {
    max-width: 600px;
    margin: 24px auto;
    padding: 14px 20px;
    background: rgba(48, 41, 28, 0.9);
    border: 1px solid rgba(255, 217, 138, 0.35);
    border-radius: 12px;
    text-align: center;
}

@media (max-width: 850px) {
    .navbar {
        height: auto;
        padding: 16px;
        flex-direction: column;
        gap: 12px;
    }

    main {
        padding: 24px 16px;
    }

    .home-page {
        grid-template-columns: 1fr;
    }

    .home-tile {
        padding: 26px;
    }

    
}