/*The very very very long css page*/

:root {
    --bg: #06070b;
    --surface: #11141c;
    --surface-light: #171b24;

    --accent: rgb(193, 190, 233);
    --accent-hover: rgb(220, 217, 255);

    --text-main: #ffffff;
    --text-dim: #94a3b8;

    --border: rgba(255,255,255,0.08);

    --success: #10b981;
    --warning: #c55647;

    --shadow:
        0 10px 30px rgba(0,0,0,0.25);

    --radius-small: 12px;
    --radius-medium: 18px;
    --radius-large: 24px;

    --transition: 0.3s ease;
}

/* reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: 'Quicksand', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* typography */

h1, h2, h3, h4 {
    font-weight: 700;
}

h1 {
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
}

h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

p {
    color: var(--text-dim);
    font-size: 15px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

/* navbar */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 5%;

    background: rgba(10, 12, 18, 0.9);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

nav img {
    height: 30px;
}

.nav-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* layout */

.container {
    width: min(1100px, 92%);
    margin: 70px auto;
}

.header-section {
    text-align: center;
    margin-bottom: 60px;
}

.section {
    margin-bottom: 50px;
}

/* cards */
.card,
.code-card,
.info-card,
.event-card,
.faq-item,
.mission-box,
.form-wrapper {
    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow);

    transition: var(--transition);
}

.card:hover,
.code-card:hover,
.event-card:hover,
.faq-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

/* faq */

.faq-item {
    overflow: hidden;
    margin-bottom: 16px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 24px;

    cursor: pointer;

    font-weight: 700;
    font-size: 15px;
}

.faq-question:hover {
    background: rgba(255,255,255,0.02);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;

    padding: 0 24px;

    color: var(--text-dim);

    background: rgba(0,0,0,0.2);

    transition:
        max-height 0.35s ease,
        padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.arrow {
    width: 12px;
    height: 12px;

    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);

    transform: rotate(45deg);

    transition: var(--transition);
}

.faq-item.active .arrow {
    transform: rotate(-135deg);
}

.faq-item.active {
    border-color: var(--accent);
}

/* buttons */

.btn,
button,
.scroll-btn,
.btn-collab {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 28px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);
    color: var(--text-main);

    font-weight: 700;

    cursor: pointer;

    transition: var(--transition);
}

.btn:hover,
button:hover,
.scroll-btn:hover,
.btn-collab:hover {
    background: var(--accent);
    color: var(--bg);

    transform: translateY(-2px);
}

/* timeline */


.timeline-wrapper {
    position: relative;
    padding: 20px 0 10px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-scroll {
    position: relative;
    z-index: 2;

    display: flex;
    gap: 30px;

    overflow-x: auto;
    scroll-behavior: smooth;

    padding: 20px 5px 35px;

    -webkit-overflow-scrolling: touch;
}

.timeline-scroll::-webkit-scrollbar {
    height: 7px;
}

.timeline-scroll::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 999px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
    background: #2a3240;
    border-radius: 999px;
}

.event-card {
    min-width: 360px;
    max-width: 420px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;

    padding: 28px;

    transition: 0.25s ease;
    flex-shrink: 0;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(193,190,233,0.25);
    background: var(--surface-2);
}

.event-date {
    display: inline-block;

    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    color: var(--accent);

    margin-bottom: 16px;
}

.event-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.timeline-footer {
    margin-top: 35px;

    display: flex;
    justify-content: center;
    gap: 14px;
}

.scroll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 50%;
    border: 1px solid var(--border);

    background: var(--surface);
    color: var(--text-main);

    cursor: pointer;

    transition: 0.2s ease;
}

.scroll-btn:hover {
    background: var(--surface-2);
    border-color: rgba(255,255,255,0.15);
    color: var(--accent);
}

.scroll-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 700px) {

    .event-card {
        min-width: 85vw;
    }

    .timeline-line {
        display: none;
    }
}

/* grid */

.grid-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    padding: 30px;
}

/* forms */

.form-wrapper {
    padding: 10px;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 500px;

    border: none;
    border-radius: var(--radius-medium);
}

/* lists */

ul {
    list-style: none;
}

li {
    position: relative;

    padding-left: 24px;
    margin-bottom: 14px;

    color: var(--text-dim);
    font-size: 14px;
}

.will-do-li::before,
.not-do-li::before {
    content: "●";

    position: absolute;
    left: 0;
}

.will-do-li::before {
    color: var(--success);
}

.not-do-li::before {
    color: var(--warning);
}

/* special boxes */

.mission-box,
.cta-box,
.fund-allocation {
    padding: 40px;
}

.cta-box {
    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(193,190,233,0.06),
            rgba(255,255,255,0.02)
        );
}

/* footer */

footer {
    margin-top: 80px;

    text-align: center;

    padding: 40px;

    border-top: 1px solid var(--border);

    color: var(--text-dim);

    font-size: 12px;
}

/* utilities */

.text-center {
    text-align: center;
}

.accent {
    color: var(--accent);
}

.dim {
    color: var(--text-dim);
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}
/* responses */

@media (max-width: 900px) {

    .grid-split,
    .info-card {
        grid-template-columns: 1fr;
    }

    .event-card {
        width: 320px;
    }
}

@media (max-width: 768px) {

    nav {
        padding: 14px 20px;
    }

    .container {
        width: 94%;
        margin: 50px auto;
    }

    h1 {
        font-size: 32px;
    }

    .faq-question {
        font-size: 14px;
        padding: 18px 20px;
    }

    .faq-answer {
        font-size: 13px;
    }

    iframe {
        height: 350px;
    }
}

/* ethics code */

.mission-panel {
    display: grid;
    grid-template-columns: 1.3fr 1fr;

    gap: 40px;

    margin-bottom: 60px;

    padding: 40px;

    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.02),
        rgba(193,190,233,0.04)
    );

    border: 1px solid var(--border);
    border-radius: 30px;
}

.section-mini-title {
    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

    color: var(--accent);
}

.section-mini-title.green {
    color: var(--success);
}

.section-mini-title.red {
    color: var(--warning);
}

.mission-left h2 {
    margin-bottom: 15px;
    font-size: 32px;
}

.mission-stats {
    display: grid;
    gap: 20px;
}

.stat-box {
    padding: 25px;

    background: rgba(255,255,255,0.03);

    border: 1px solid var(--border);
    border-radius: 22px;
}

.stat-number {
    display: block;

    margin-bottom: 8px;

    color: var(--accent);

    font-size: 32px;
    font-weight: 700;

    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    color: var(--text-dim);
    font-size: 14px;
}

.ethics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;

    margin-bottom: 70px;
}

.ethics-card {
    padding: 35px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 28px;

    transition: var(--transition);
}

.ethics-card:hover {
    transform: translateY(-5px);
}

.ethics-card.positive:hover {
    border-color: var(--success);
}

.ethics-card.negative:hover {
    border-color: var(--warning);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 35px;
}

.icon-circle {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    font-weight: 700;
}

.icon-circle.success {
    background: rgba(16,185,129,0.12);
    color: var(--success);
}

.icon-circle.warning {
    background: rgba(197,86,71,0.12);
    color: var(--warning);
}

.principle-list {
    display: grid;
    gap: 25px;
}

.principle-item {
    display: flex;
    gap: 16px;
}

.principle-dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    margin-top: 9px;

    flex-shrink: 0;
}

.principle-dot.green {
    background: var(--success);
}

.principle-dot.red {
    background: var(--warning);
}

.principle-item h3 {
    margin-bottom: 6px;
}

.ethics-footer-panel {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-bottom: 80px;
}

.quote-line {
    flex: 1;
    height: 1px;

    background: var(--border);
}

.ethics-quote {
    font-size: 16px;
    text-align: center;

    color: var(--text-dim);

    max-width: 600px;
}

@media (max-width: 900px) {

    .mission-panel,
    .ethics-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    .hero {
        padding: 90px 0 70px;
    }

    .mission-panel,
    .ethics-card {
        padding: 28px;
    }

    .mission-left h2 {
        font-size: 26px;
    }

    .hero-subtext {
        font-size: 16px;
    }

    .ethics-footer-panel {
        flex-direction: column;
    }

    .quote-line {
        width: 100%;
    }

}

/* giftcards */

body {
    background:
        radial-gradient(
            circle at top,
            rgba(193,190,233,0.08),
            transparent 30%
        ),
        #06070b;
}

#bgstar {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    pointer-events: none;
}

.gift-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.cart-pill {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;

    background: rgba(255,255,255,0.04);

    border: 1px solid var(--border);
    border-radius: 14px;

    color: white;
    font-weight: 700;

    backdrop-filter: blur(10px);

    transition: var(--transition);
}

.cart-pill:hover {
    background: rgba(193,190,233,0.12);
    border-color: var(--accent);
}

.gift-hero {
    position: relative;
    z-index: 2;

    padding: 110px 20px 80px;

    text-align: center;
}

.gift-badge {
    width: fit-content;

    margin: 0 auto 22px;

    padding: 10px 18px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: rgba(255,255,255,0.03);

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.gift-hero h1 {
    margin-bottom: 18px;
}

.gift-subtext {
    max-width: 700px;

    margin: 0 auto;

    font-size: 17px;

    color: var(--text-dim);
}

.gift-main {
    position: relative;
    z-index: 2;

    padding-bottom: 100px;
}

.gc-grid {
    width: min(1400px, 94%);

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 32px;
}

.gift-card {
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.03),
            rgba(255,255,255,0.01)
        );

    border: 1px solid var(--border);
    border-radius: 30px;

    backdrop-filter: blur(18px);

    transition: 0.35s ease;
}

.gift-card:hover {
    transform: translateY(-10px);

    border-color: rgba(193,190,233,0.45);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.45);
}

.gift-image-wrap {
    position: relative;

    aspect-ratio: 1.65 / 1;

    overflow: hidden;

    background: #0f1118;
}

.gift-image-wrap img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

.gift-card:hover img {
    transform: scale(1.04);
}

.gift-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.4),
            transparent
        );
}

.gift-content {
    padding: 28px;

    display: flex;
    flex-direction: column;

    gap: 28px;
}

.gift-sku {
    width: fit-content;

    margin-bottom: 14px;

    padding: 6px 10px;

    background: rgba(193,190,233,0.08);

    border: 1px solid rgba(193,190,233,0.15);
    border-radius: 8px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    font-family: 'JetBrains Mono', monospace;
}

.gift-content h2 {
    margin-bottom: 10px;
}

.gift-content p {
    font-size: 14px;
    line-height: 1.7;
}

.gift-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.gift-price {
    font-size: 32px;
    font-weight: 700;

    color: white;
}

.gift-btn {
    padding: 14px 20px;

    background: var(--accent);

    border: none;
    border-radius: 14px;

    color: #06070b;

    font-weight: 700;

    cursor: pointer;

    transition: var(--transition);
}

.gift-btn:hover {
    transform: translateY(-2px);

    filter: brightness(1.08);
}

.empty-state {
    grid-column: 1/-1;

    padding: 70px;

    text-align: center;

    background: rgba(255,255,255,0.02);

    border: 1px solid var(--border);
    border-radius: 30px;
}

#toast {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 9999;

    padding: 16px 24px;

    background: #10b981;

    border-radius: 14px;

    color: white;
    font-weight: 700;

    display: none;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.3);
}

@media (max-width: 1100px) {

    .gc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 760px) {

    .gc-grid {
        grid-template-columns: 1fr;
    }

    .gift-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .gift-btn {
        width: 100%;
    }

    .gift-hero {
        padding-top: 90px;
    }

}

/* help center */

#bgstar {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    pointer-events: none;
}

.help-hero {
    position: relative;
    z-index: 2;

    padding: 110px 20px 80px;

    text-align: center;

    overflow: hidden;
}


.help-badge {
    width: fit-content;

    margin: 0 auto 24px;

    padding: 10px 18px;

    border-radius: 999px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,0.03);

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.help-subtext {
    max-width: 700px;

    margin: 0 auto;

    font-size: 17px;

    color: var(--text-dim);
}

.help-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    margin-bottom: 60px;
}

.help-card {
    position: relative;

    overflow: hidden;

    padding: 32px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.03),
            rgba(255,255,255,0.01)
        );

    border: 1px solid var(--border);
    border-radius: 28px;

    text-decoration: none;
    color: white;

    transition: 0.35s ease;

    backdrop-filter: blur(12px);
}

.help-card:hover {
    transform: translateY(-8px);

    border-color: rgba(193,190,233,0.4);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.35);
}

.help-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 26px;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(193,190,233,0.08);

    border: 1px solid rgba(193,190,233,0.15);

    color: var(--accent);

    font-size: 24px;
    font-weight: 700;
}

.help-content h2 {
    margin-bottom: 12px;
}

.help-content p {
    line-height: 1.7;
}

.help-arrow {
    margin-top: 28px;

    color: var(--accent);

    font-size: 24px;
    font-weight: 700;

    transition: var(--transition);
}

.help-card:hover .help-arrow {
    transform: translateX(6px);
}

.mini-label {
    margin-bottom: 12px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.support-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;

    margin-bottom: 90px;

    padding: 45px;

    background:
        linear-gradient(
            135deg,
            rgba(193,190,233,0.08),
            rgba(255,255,255,0.02)
        );

    border: 1px solid var(--border);
    border-radius: 32px;

    backdrop-filter: blur(10px);
}

.support-left {
    max-width: 650px;
}

.support-left h2 {
    margin-bottom: 14px;
}

.support-left p {
    line-height: 1.8;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 28px;

    border-radius: 16px;

    background: var(--accent);

    color: #06070b;

    font-weight: 700;

    text-decoration: none;

    transition: var(--transition);
}

.support-btn:hover {
    transform: translateY(-3px);

    filter: brightness(2);
    
    color: #000000
}

@media (max-width: 950px) {

    .help-grid {
        grid-template-columns: 1fr;
    }

    .support-panel {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 768px) {

    .help-hero {
        padding-top: 90px;
    }

    .help-card,
    .support-panel {
        padding: 28px;
    }

}

/* team page */

#bgstar {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    pointer-events: none;
}

.team-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    margin-bottom: 70px;
}

.dept-header {
    margin: 20px 0 24px;
}

.dept-name {
    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.member-card {
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 28px;

    padding: 36px 28px;

    text-align: center;

    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-6px);

    border-color: rgba(193,190,233,0.35);
}

.member-pfp {
    width: 110px;
    height: 110px;

    border-radius: 50%;

    object-fit: cover;

    margin-bottom: 24px;

    border: 2px solid rgba(193,190,233,0.2);

    background: #11141c;
}

.member-name {
    display: block;

    font-size: 24px;
    font-weight: 700;

    margin-bottom: 10px;
}

.member-meta {
    display: block;

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.member-bio {
    color: var(--text-dim);

    line-height: 1.7;

    font-size: 14px;
}

@media (max-width: 1000px) {

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 700px) {

    .team-grid {
        grid-template-columns: 1fr;
    }

}

/* partnerships */

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 28px;

    margin-bottom: 40px;
}

.partnership-card {
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 24px;

    padding: 32px;

    transition: var(--transition);
}

.partnership-card:hover {
    transform: translateY(-4px);

    border-color: rgba(193,190,233,0.25);
}

.card-label {
    margin-bottom: 16px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.partnership-card h2,
.form-header h2 {
    margin-bottom: 14px;
}

.partnership-card p,
.form-header p {
    color: var(--text-dim);

    line-height: 1.8;

    font-size: 14px;
}

.link-group {
    display: flex;
    flex-direction: column;

    gap: 12px;

    margin-top: 22px;
}

.text-link {
    color: var(--accent);

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: var(--transition);
}

.text-link:hover {
    opacity: 0.8;

    transform: translateX(4px);
}

.form-section {
    margin-bottom: 80px;
}

.form-header {
    margin-bottom: 24px;
}

.form-wrapper {
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 28px;

    padding: 12px;

    overflow: hidden;
}

iframe {
    width: 100%;
    height: 200px;

    border: none;

    border-radius: 18px;

    background: white;
}

@media (max-width: 850px) {

    .partnership-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    iframe {
        height: 600px;
    }

}

/* THE END! YAYYYYYY */