@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&family=UnifrakturMaguntia&display=swap');

:root {
    --base-color: #002868;
    --text-color: #FFFFFF;
    --primary-color: #ffd700;
    --secondary-color: #BF0A30;
    --tertiary-color: #1A1A1A;
    --color-1: #1E90FF;
    --color-2: #6a0dad;
    --color-3: #F5F5F5;
    --discord-color: #5865F2;
    --fivem-color: #FF8C00;
    --insta-color: #E1306C;
    --tt-color: #25F4EE;
    --fb-color: #1877F2;
    --yt-color: #FF0000;
    --content-max-width: 95%; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

body {
    padding: 0;
    background-color: var(--base-color);
}

/* --- Navigation & Header --- */
nav {
    margin: 1em auto 3em auto; 
    width: min(var(--content-max-width), 100%); 
    padding: 0 1em; 
}

nav ul {
    display: flex;
    align-items: Center;
    list-style-type: none;
    gap: 2em;
}

nav li:first-child {
    margin-right: auto;
}

nav a {
    text-decoration: none;
    font-family: rajdhani, sans-serif;
    color: var(--text-color);
    transition: 100ms ease;
}

nav a:hover {
    color: var(--primary-color);
}

header{
    background-color: var(--tertiary-color);
    position: sticky;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: #1A1A1A solid 0.10em;
    z-index: 1000; 
}

/* --- Main Content --- */
main {
    width: min(1000px, 94%);
    margin: 0 auto;
    padding-bottom: 2em;
}

#donate {
    text-align: center;
    margin-bottom: 2em;
}

#donate h1 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

#donate p {
    line-height: 1.6;
}

#checkout {
    background-color: var(--tertiary-color);
    border-radius: 12px;
    padding: 1.5em 2em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#checkout h2 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5em;
}

#checkout h3 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--primary-color);
    margin: 1.5em 0 0.5em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.3em;
}

#checkout form {
    display: grid;
    gap: 0.4em;
}

#checkout label {
    font-size: 0.9em;
    margin-top: 0.6em;
}

#checkout input {
    width: 100%;
    padding: 0.7em;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: #0d0d0d;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1em;
}

#checkout input:focus {
    outline: none;
    border-color: var(--primary-color);
}

#checkout button[type="submit"] {
    padding: 0.8em;
    border: none;
    border-radius: 6px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: 100ms ease;
}

#checkout button[type="submit"]:hover:not(:disabled) {
    background-color: #d90b38;
}

#checkout button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: wait;
}

#checkout > p {
    margin-top: 1em;
    text-align: center;
}

/* Two-column checkout: personal info left, card right, billing along the bottom. */
#checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2em;
    align-content: start;
}

#checkout > h2 { grid-column: 1 / -1; grid-row: 1; }
#checkout > h3:nth-of-type(1) { grid-column: 1; grid-row: 2; }
#checkout > form:nth-of-type(1) { grid-column: 1; grid-row: 3; }
#checkout > h3:nth-of-type(2) { grid-column: 1; grid-row: 4; }
#checkout > form:nth-of-type(2) { grid-column: 1; grid-row: 5; }
#checkout > h3:nth-of-type(3) { grid-column: 2; grid-row: 2; }
#checkout > form:nth-of-type(3) { grid-column: 2; grid-row: 3 / span 3; align-content: start; }
#checkout > h3:nth-of-type(4) { grid-column: 1 / -1; grid-row: 6; }
#checkout > form:nth-of-type(4) { grid-column: 1 / -1; grid-row: 7; }
#checkout > h3:nth-of-type(5) { grid-column: 1 / -1; grid-row: 8; }
#checkout > form:nth-of-type(5) { grid-column: 1 / -1; grid-row: 9; }
#checkout > p { grid-column: 1 / -1; }
#checkout > .donation-message { grid-column: 1 / -1; }

.stripe-field {
    padding: 0.8em 0.7em;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: #0d0d0d;
}

.stripe-field.focused {
    border-color: var(--primary-color);
}

@media (max-width: 760px) {
    #checkout { display: block; }
}

.donation-message {
    margin-top: 1em;
    padding: 0.7em;
    border-radius: 6px;
    background-color: rgba(191, 10, 48, 0.25);
    border: 1px solid var(--secondary-color);
    text-align: center;
}

.donation-message.info {
    background-color: rgba(30, 144, 255, 0.2);
    border-color: var(--color-1);
}

.donation-hidden {
    display: none !important;
}

footer {
    text-align: center;
    margin-top: 2em;
    padding: 1em;
}
