/* =========================
   Base
========================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #f4f6ff;
    background:
        radial-gradient(circle at 10% 5%, rgba(255, 55, 177, 0.22), transparent 30%),
        radial-gradient(circle at 80% 15%, rgba(104, 191, 206, 0.15), transparent 30%),
        radial-gradient(circle at 50% 95%, rgba(255, 55, 177, 0.15), transparent 35%),
        linear-gradient(180deg, #080813 0%, #111024 45%, #160f27 100%);
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   Page
========================= */

.about-page {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 25px;
}

#theIdea,
#credits {
    scroll-margin-top: 90px;
}


/* =========================
   Hero
========================= */

.about-hero {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 370px;
    padding: 42px;
    border: 1px solid rgba(191, 199, 238, 0.18);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(21, 25, 48, 0.92), rgba(16, 10, 30, 0.92)),
        radial-gradient(circle at 15% 10%, rgba(236, 98, 255, 0.22), transparent 26rem);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    filter: blur(20px);
    pointer-events: none;
    opacity: 0.5;
}

.hero-glow-one {
    right: 270px;
    top: -90px;
    background: rgba(236, 98, 255, 0.28);
}

.hero-glow-two {
    right: -90px;
    bottom: -100px;
    background: rgba(104, 191, 206, 0.26);
}

.hero-content,
.about-card {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
}

.eyebrow,
.section-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #68bfce;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #68bfce;
    box-shadow: 0 0 14px rgba(104, 191, 206, 0.85);
}

.hero-content h1 {
    width: 100%;
    margin: 0;
    font-size: clamp(2.35rem, 4vw, 3.45rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-text {
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
    color: #d9defa;
    font-size: clamp(1rem, 1.8vw, 1.17rem);
    line-height: 1.75;
}

.hero-note {
    width: 100%;
    max-width: none;
    margin: 18px 0 0;
    padding: 16px 18px;
    border: 1px solid rgba(191, 199, 238, 0.14);
    border-radius: 18px;
    color: #eef1ff;
    background: rgba(255, 255, 255, 0.045);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
    border: 1px solid rgba(104, 191, 206, 0.55);
    color: #061018;
    background: linear-gradient(135deg, #8ef3ff, #c38cff);
    box-shadow: 0 0 26px rgba(104, 191, 206, 0.22);
}

.secondary-btn {
    border: 1px solid rgba(191, 199, 238, 0.2);
    color: #eef1ff;
    background: rgba(255, 255, 255, 0.055);
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
}

.primary-btn:focus-visible,
.secondary-btn:focus-visible {
    outline: 3px solid rgba(104, 191, 206, 0.45);
    outline-offset: 3px;
}


/* =========================
   Shared Sections
========================= */

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.about-section-card,
.story-section,
.features-section,
.note-section,
.credits-section,
.about-contact-section {
    border: 1px solid rgba(191, 199, 238, 0.16);
    border-radius: 26px;
    background: rgba(12, 15, 32, 0.78);
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.24);
}

.about-section-card,
.story-section,
.features-section,
.note-section,
.credits-section,
.about-contact-section {
    padding: 30px;
}

.story-section,
.features-section,
.note-section,
.credits-section,
.about-contact-section {
    margin-top: 24px;
}

.about-section-card h2,
.section-heading h2,
.note-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    letter-spacing: -0.035em;
}

.about-section-card p,
.section-heading p,
.story-item p,
.feature-card p,
.credit-card p,
.note-card p,
.contact-content p {
    color: #c9d1ef;
    line-height: 1.7;
}

.about-section-card p {
    margin: 14px 0 0;
}

.section-heading {
    max-width: 950px;
}

.section-heading p {
    margin: 12px 0 0;
}


/* =========================
   Story
========================= */

.story-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.story-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(191, 199, 238, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.story-icon {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 16px;
    color: #061018;
    background: linear-gradient(135deg, #68bfce, #c38cff);
    font-size: 0.9rem;
    font-weight: 900;
}

.story-item h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
}

.story-item p {
    margin: 7px 0 0;
}


/* =========================
   Features
========================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.feature-card {
    padding: 20px;
    border: 1px solid rgba(191, 199, 238, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(104, 191, 206, 0.34);
    background: rgba(104, 191, 206, 0.06);
}

.feature-card span,
.credit-card span,
.note-icon,
.contact-icon {
    display: grid;
    place-items: center;
    color: #061018;
    font-weight: 900;
    background: linear-gradient(135deg, #68bfce, #c38cff);
}

.feature-card span {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 1.2rem;
}

.feature-card h3 {
    margin: 16px 0 0;
    color: #ffffff;
    font-size: 1rem;
}

.feature-card p {
    margin: 8px 0 0;
    font-size: 0.92rem;
}


/* =========================
   Credits / Thanks
========================= */

.credits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.credit-card {
    padding: 20px;
    border: 1px solid rgba(191, 199, 238, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.credit-card:hover {
    transform: translateY(-3px);
    border-color: rgba(104, 191, 206, 0.34);
    background: rgba(104, 191, 206, 0.06);
}

.credit-card span {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 1.15rem;
}

.credit-card h3 {
    margin: 16px 0 0;
    color: #ffffff;
    font-size: 1rem;
}

.credit-card p {
    margin: 8px 0 0;
    font-size: 0.92rem;
}


/* =========================
   Note / Disclaimer
========================= */

.note-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    overflow: hidden;
    margin-top: 24px;
    padding: 20px 22px;
    border: 1px solid rgba(104, 191, 206, 0.28);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(104, 191, 206, 0.08), rgba(195, 140, 255, 0.07)),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 24px rgba(104, 191, 206, 0.08);
}

.note-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 115px;
    height: 115px;
    border-radius: 999px;
    background: rgba(104, 191, 206, 0.1);
    pointer-events: none;
}

.note-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 16px;
    font-size: 1.15rem;
    box-shadow: 0 0 18px rgba(104, 191, 206, 0.22);
}

.note-card div {
    position: relative;
    z-index: 1;
}

.note-card p {
    max-width: 900px;
    margin: 0;
    color: #c9d1ef;
    font-size: 0.94rem;
    line-height: 1.7;
}

.note-card p + p {
    margin-top: 8px;
}


/* =========================
   Contact
========================= */

.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 24px auto 0;
    padding: 20px;
    padding-right: 40px;
    border: 1px solid rgba(104, 191, 206, 0.2);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(104, 191, 206, 0.08), rgba(195, 140, 255, 0.07)),
        rgba(255, 255, 255, 0.04);
}

.contact-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 1.25rem;
}

.contact-content h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
}

.contact-content p {
    max-width: 520px;
    margin: 7px 0 0;
}

.contact-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(191, 199, 238, 0.18);
    border-radius: 999px;
    color: #d9defa;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.9rem;
    font-weight: 800;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.support-link:hover {
    transform: translateY(-2px);
    border-color: rgba(104, 191, 206, 0.34);
    background: rgba(104, 191, 206, 0.07);
}

.support-link:focus-visible {
    outline: 3px solid rgba(104, 191, 206, 0.35);
    outline-offset: 3px;
}

.discord-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(104, 191, 206, 0.45);
    border-radius: 999px;
    color: #061018;
    background: linear-gradient(135deg, #8ef3ff, #c38cff);
    font-size: 0.92rem;
    font-weight: 900;
    box-shadow: 0 0 22px rgba(104, 191, 206, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(104, 191, 206, 0.25);
}

.discord-btn:focus-visible {
    outline: 3px solid rgba(104, 191, 206, 0.45);
    outline-offset: 3px;
}


/* =========================
   Responsive
========================= */

@media (max-width: 980px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .credits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .about-page {
        width: min(100% - 22px, 1180px);
    }

    .about-hero {
        min-height: unset;
        padding: 24px;
        border-radius: 24px;
    }

    .about-section-card,
    .story-section,
    .features-section,
    .note-section,
    .credits-section,
    .about-contact-section {
        padding: 22px;
        border-radius: 22px;
    }

    .features-grid,
    .credits-grid {
        grid-template-columns: 1fr;
    }

    .story-item,
    .note-card,
    .contact-card {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-card {
        padding-right: 20px;
    }

    .contact-actions {
        width: 100%;
        flex-direction: column;
    }

    .discord-btn,
    .support-link {
        width: 100%;
    }
}


/* =========================
   Hide Page Scrollbar Only
========================= */

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}