/* ================================
   DOINKSTER WEBSITE
   MAIN STYLESHEET
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/* ================================
   NAVBAR
   ================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #050505;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.nav-container {
    width: min(1150px, 92%);
    min-height: 70px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    color: #d4af37;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-menu a {
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 700;
    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: #d4af37;
}


/* ================================
   HERO
   ================================ */

/*
   IMPORTANT:
   The hero image is now a normal image.
   It does NOT sit behind the text.
*/

.hero {
    width: 100%;
    background: #050505;
    padding-bottom: 80px;
}

/* Image container */

.hero-image-container {
    width: min(1000px, 92%);
    margin: 40px auto 0;
}

/* Actual hero image */

.hero-image {
    position: static;
    width: 100%;
    height: auto;
    max-height: 620px;

    object-fit: contain;
    object-position: center;

    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(212, 175, 55, 0.08);
}

/*
   Keep the hero content completely separate
   from the image.
*/

.hero-content {
    position: static;

    width: min(850px, 90%);
    margin: 45px auto 0;

    text-align: center;
    padding: 0 15px;
}

.hero-label {
    display: block;

    color: #d4af37;
    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 4px;
    margin-bottom: 15px;

    text-transform: uppercase;
}

.hero h1 {
    color: #ffffff;

    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;

    letter-spacing: 4px;
    margin-bottom: 15px;

    text-shadow:
        0 0 25px rgba(212, 175, 55, 0.25);
}

.hero p {
    color: #aaa;

    max-width: 600px;
    margin: 0 auto 28px;

    font-size: 1.15rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    padding: 13px 23px;

    border-radius: 4px;

    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;

    transition: 0.3s ease;
}

.btn-primary {
    background: #d4af37;
    color: #050505;
}

.btn-primary:hover {
    background: #f0cf62;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;

    color: #d4af37;

    border: 1px solid #d4af37;
}

.btn-secondary:hover {
    background: #d4af37;
    color: #050505;
    transform: translateY(-2px);
}


/* ================================
   GENERAL SECTIONS
   ================================ */

.section {
    padding: 90px 0;
}

.section-container {
    width: min(1100px, 90%);
    margin: auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    color: #d4af37;

    font-size: clamp(2rem, 5vw, 3rem);

    margin-bottom: 10px;
}

.section-heading p {
    color: #888;
    max-width: 650px;
    margin: auto;
}


/* ================================
   ABOUT
   ================================ */

.about-section {
    background: #080808;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 0.8fr;

    gap: 60px;

    align-items: center;
}

.about-text {
    color: #cfcfcf;
    font-size: 1rem;
}

.about-text p {
    margin-bottom: 18px;
}

.about-text strong {
    color: #d4af37;
}

.about-image {
    width: 100%;
    max-width: 450px;
    margin: auto;
}

.about-image img {
    width: 100%;
    height: 350px;

    object-fit: cover;

    border-radius: 8px;

    border: 1px solid rgba(212, 175, 55, 0.3);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}


/* ================================
   PHILOSOPHY
   ================================ */

.philosophy-section {
    background: #050505;
}

.philosophy-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.philosophy-card {
    background: #0d0d0d;

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 8px;

    padding: 30px 24px;
}

.philosophy-card:hover {
    border-color: rgba(212, 175, 55, 0.6);

    transform: translateY(-4px);
}

.card-number {
    color: #d4af37;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.philosophy-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.philosophy-card p {
    color: #999;
    font-size: 0.95rem;
}

.philosophy-statement {
    margin-top: 45px;

    padding: 30px;

    text-align: center;

    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.philosophy-statement p {
    color: #eee;

    font-size: 1.1rem;
    font-weight: 600;
}

.philosophy-statement span {
    color: #d4af37;
}


/* ================================
   TOKEN
   ================================ */

.token-section {
    background: #080808;
}

.token-grid {
    display: grid;

    grid-template-columns: 1fr 0.85fr;

    gap: 55px;

    align-items: center;
}

.token-info {
    min-width: 0;
}

.token-name {
    color: #d4af37;

    font-size: 2.2rem;
    font-weight: 900;

    margin-bottom: 20px;
}

.token-details {
    color: #bbb;
    margin-bottom: 20px;
}

.contract-box {
    background: #030303;

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 6px;

    padding: 16px;

    margin: 25px 0;
}

.contract-row {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.contract-row span:first-child {
    color: #d4af37;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 1px;
}

.contract-row span:last-child {
    color: #aaa;

    font-size: 0.82rem;

    word-break: break-all;
}

.token-links {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.token-image {
    width: 100%;
    max-width: 450px;

    margin: auto;
}

.token-image img {
    width: 100%;
    height: 350px;

    object-fit: cover;

    border-radius: 8px;

    border: 1px solid rgba(212, 175, 55, 0.3);
}


/* ================================
   TOKENOMICS
   ================================ */

.tokenomics-section {
    background: #050505;
}

.supply-box {
    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;

    padding: 35px 20px;

    background: #0c0c0c;

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: 8px;
}

.supply-box span {
    display: block;

    color: #999;

    font-size: 0.8rem;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.supply-box strong {
    color: #d4af37;

    font-size: clamp(2rem, 6vw, 3.8rem);
}

.tokenomics-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 15px;
}

.tokenomics-card {
    min-height: 120px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: #0d0d0d;

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 7px;

    padding: 20px 12px;
}

.tokenomics-card strong {
    color: #d4af37;

    font-size: 1rem;

    margin-bottom: 5px;
}

.tokenomics-card span {
    color: #999;
    font-size: 0.8rem;
}

.tokenomics-note {
    max-width: 800px;

    margin: 35px auto 0;

    color: #888;

    text-align: center;

    font-size: 0.9rem;
}


/* ================================
   ROADMAP
   ================================ */

.roadmap-section {
    background: #080808;
}

.roadmap {
    position: relative;

    max-width: 900px;

    margin: auto;
}

.roadmap::before {
    content: "";

    position: absolute;

    left: 50%;

    top: 0;
    bottom: 0;

    width: 1px;

    background: rgba(212, 175, 55, 0.35);

    transform: translateX(-50%);
}

.roadmap-item {
    position: relative;

    width: 50%;

    padding: 0 40px 50px;
}

.roadmap-item:nth-child(odd) {
    margin-left: 0;

    text-align: right;
}

.roadmap-item:nth-child(even) {
    margin-left: 50%;

    text-align: left;
}

.roadmap-number {
    position: absolute;

    top: 0;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #050505;

    border: 2px solid #d4af37;

    color: #d4af37;

    font-size: 0.75rem;
    font-weight: 900;

    z-index: 2;
}

.roadmap-item:nth-child(odd) .roadmap-number {
    right: -19px;
}

.roadmap-item:nth-child(even) .roadmap-number {
    left: -19px;
}

.roadmap-card {
    background: #0d0d0d;

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 8px;

    padding: 28px;

    display: inline-block;

    width: 100%;

    text-align: left;
}

.roadmap-card h3 {
    color: #d4af37;

    margin-bottom: 14px;

    font-size: 1.2rem;
}

.roadmap-card ul {
    padding-left: 18px;

    color: #aaa;
}

.roadmap-card li {
    margin-bottom: 8px;
}


/* Roadmap image */

.roadmap-image {
    width: min(600px, 90%);

    margin: 0 auto 50px;

    padding: 10px;

    background: #0d0d0d;

    border: 1px solid rgba(212, 175, 55, 0.25);

    border-radius: 8px;
}

.roadmap-image img {
    width: 100%;

    height: 260px;

    object-fit: cover;

    border-radius: 5px;
}


/* ================================
   FOOTER
   ================================ */

.footer {
    background: #030303;

    border-top: 1px solid rgba(212, 175, 55, 0.3);

    padding: 60px 0 25px;
}

.footer-container {
    width: min(1100px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr 1.2fr;

    gap: 50px;
}

.footer-brand h3 {
    color: #d4af37;

    margin-bottom: 10px;

    letter-spacing: 2px;
}

.footer-brand p {
    color: #777;

    font-size: 0.9rem;
}

.footer-links h4,
.footer-contract h4 {
    color: #fff;

    margin-bottom: 15px;
}

.footer-links a {
    display: block;

    color: #888;

    margin-bottom: 8px;
}

.footer-links a:hover {
    color: #d4af37;
}

.footer-contract p {
    color: #777;

    font-size: 0.78rem;

    word-break: break-all;
}

.footer-bottom {
    width: min(1100px, 90%);

    margin: 45px auto 0;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #555;

    font-size: 0.75rem;
}


/* ================================
   TABLET
   ================================ */

@media (max-width: 900px) {

    .nav-menu {
        gap: 15px;
    }

    .about-grid,
    .token-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-image,
    .token-image {
        max-width: 600px;
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tokenomics-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-contract {
        grid-column: 1 / -1;
    }
}


/* ================================
   MOBILE
   ================================ */

@media (max-width: 650px) {

    .nav-container {
        min-height: 60px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 9px;
    }

    .nav-menu a {
        font-size: 0.68rem;
    }


    /* HERO */

    .hero {
        padding-bottom: 60px;
    }

    .hero-image-container {
        width: 94%;

        margin-top: 20px;
    }

    .hero-image {
        width: 100%;

        max-height: 420px;

        object-fit: contain;

        border-radius: 7px;
    }

    .hero-content {
        width: 92%;

        margin-top: 32px;

        padding: 0;
    }

    .hero-label {
        font-size: 0.7rem;

        letter-spacing: 2.5px;

        margin-bottom: 12px;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 14vw, 4.5rem);

        letter-spacing: 2px;

        margin-bottom: 12px;
    }

    .hero p {
        font-size: 1rem;

        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;

        gap: 10px;
    }

    .btn {
        width: 190px;
    }


    /* GENERAL */

    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }


    /* ABOUT */

    .about-image img {
        height: 280px;
    }


    /* PHILOSOPHY */

    .philosophy-grid {
        grid-template-columns: 1fr;
    }


    /* TOKEN */

    .token-image img {
        height: 280px;
    }


    /* TOKENOMICS */

    .tokenomics-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* ROADMAP */

    .roadmap::before {
        left: 18px;

        transform: none;
    }

    .roadmap-item,
    .roadmap-item:nth-child(even),
    .roadmap-item:nth-child(odd) {

        width: 100%;

        margin-left: 0;

        padding: 0 0 35px 55px;

        text-align: left;
    }

    .roadmap-item:nth-child(odd) .roadmap-number,
    .roadmap-item:nth-child(even) .roadmap-number {

        left: 0;
        right: auto;
    }

    .roadmap-card {
        padding: 22px;
    }

    .roadmap-image {

        width: calc(100% - 55px);

        margin: 0 0 35px 55px;
    }

    .roadmap-image img {
        height: 210px;
    }


    /* FOOTER */

    .footer-container {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-contract {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }
}


/* ================================
   SMALL PHONES
   ================================ */

@media (max-width: 430px) {

    .nav-container {
        flex-direction: column;

        justify-content: center;

        gap: 5px;

        padding: 10px 0;
    }

    .nav-menu {
        flex-wrap: wrap;

        justify-content: center;
    }

    .hero-image-container {
        width: 96%;
    }

    .hero-image {
        max-height: 350px;
    }

    .hero-content {
        margin-top: 28px;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
    }

    .about-image img,
    .token-image img {
        height: 240px;
    }
}

/* ================================
   FAQ ACCORDION
   ================================ */

#faq .philosophy-card {
    cursor: pointer;
}

#faq .philosophy-card > summary {
    list-style: none;
    cursor: pointer;
}

#faq .philosophy-card > summary::-webkit-details-marker {
    display: none;
}

#faq .philosophy-card > summary h3 {
    margin-bottom: 0;
}

#faq .philosophy-card > p {
    display: none !important;
}

#faq .philosophy-card[open] > p {
    display: block !important;
    margin-top: 18px;
}
