@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

/* Getrak - self-hosted @font-face */
@font-face {
    font-family: "Getrak";
    src: url("/fonts/getrak-regular.woff2") format("woff2"),
        url("/fonts/getrak-regular.woff") format("woff"),
        url("/fonts/getrak-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    /* good UX: fallback text shows while font loads */
}

/* if you have bold/other weights, declare them too */
@font-face {
    font-family: "Getrak";
    src: url("/fonts/getrak-bold.woff2") format("woff2"),
        url("/fonts/getrak-bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


:root {
    --accent1: rgb(244, 148, 26);
    /* orange */
    --accent2: rgb(25, 126, 243);
    /* blue */
    --bg-light: #ffffff;
    --bg-dark: #000000;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --card-radius: 12px;
    --display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ui: Inter, "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
    font-family: var(--display);
    background: #acacac;
    color: var(--text-light);
    background: linear-gradient(135deg, rgb(23, 28, 34), rgba(0, 0, 0, 1));
    /* light blue (#ADD8E6) very faint (opacity 0.05) fading to black */
    background-attachment: fixed;
    /* keeps gradient in place when scrolling */

}

h1,
h2,
h3 {
    font-family: var(--display);
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 1px 1px 0 #000, 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header {
    background: linear-gradient(145deg, var(--accent2), #0f0f0f);
    /* dark blue → almost black */
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 1rem;
    position: sticky;
    top: 0;
    border: 1px solid #000000;
    /* chunky border like buttons */
    border-radius: 1px;
    /* soft corners, arcade feel */

    /* arcade panel depth */
    box-shadow: 0 6px 0 #222, 0 6px 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

marquee {
    background-color: var(--accent1);
    color: #000000;
    font-weight: 400;

}

header nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

header nav a:hover {
    color: var(--accent1);
}

.hero {
    text-align: center;
    padding: 3rem 1rem;
}

.hero img {
    width: 120px;
    border-radius: 50%;
    border: 4px solid var(--accent2);
}

.countdown {
    font-size: 2rem;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--accent2);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem;
}

.card {
    background: linear-gradient(145deg, #1c1c1c, #111);
    /* subtle dark gradient */
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 12px;
    /* soft corners */

    /* subtle 3D pop */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(255, 255, 255, 0.05) inset;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    margin-top: 10px;
}

/* hover: lift the card slightly */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), 0 4px 8px rgba(255, 255, 255, 0.05) inset;
}


.buy-button,
.connectBtn {
    display: inline-block;
    margin: 2rem auto;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(145deg, var(--accent1), var(--accent2));
    border: 4px solid #fff;
    /* big border */
    border-radius: 14px;
    cursor: pointer;

    /* pop-out look */
    box-shadow: 0 6px 0 #222, 0 6px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s, box-shadow 0.1s;
}

.mt {
    margin-top: 10px;
}

/* hover: slight lift */
.buy-button:hover,
.connectBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #222, 0 10px 18px rgba(0, 0, 0, 0.6);
}

/* pressed (active): sink down */
.buy-button:active,
.connectBtn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #222, 0 4px 8px rgba(0, 0, 0, 0.4);
}



.socials {
    text-align: center;
    margin: 2rem 0;
}

.socials a {
    margin: 0 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--accent2);
    transition: color 0.2s;
}

.socials a:hover {
    color: var(--accent1);
}

.token-allocation {
    margin: 3rem auto;
    max-width: 600px;
    text-align: center;
}

.about {
    margin: 3rem auto;
    max-width: 800px;
    padding: 1.5rem;
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: var(--card-radius);
}

footer {
    background: var(--bg-dark);
    color: #7a7a7a;
    text-align: center;
    font-size: small;
    padding: 1rem;
    margin-top: 3rem;
}

.styled-input {
    width: 80%;
    max-width: 350px;
    padding: 1rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;

    /* recessed 3D effect */
    background: #111;
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.7),
        inset -4px -4px 8px rgba(255, 255, 255, 0.05);

    color: var(--text-light);
    outline: none;
    transition: box-shadow 0.2s, transform 0.1s;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
}

/* focus: highlight the hole */
.styled-input:focus {
    box-shadow: inset 4px 4px 12px rgba(0, 0, 0, 0.8),
        inset -4px -4px 12px rgba(244, 148, 26, 0.4);
    /* golden highlight */
    transform: translateY(1px);
}

/* placeholder styling */
.styled-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--accent2);
    margin-top: 2rem;
}

.digit-box {
    width: 50px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(145deg, #1c1c1c, #111);
    /* dark 3D style */
    border-radius: 10px;
    border: 2px solid #222;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

.label {
    display: flex;
    align-items: flex-end;
    margin-right: 1rem;
    font-size: 1rem;
    color: var(--accent1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.05);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 14px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.05);
    }
}

.digit-box.animate {
    animation: pulse 0.3s ease;
}

   .game-toast {
    font-size: 16px !important;
    font-weight: bold !important;
    background: white !important;
    color: black !important;
    border: 6px solid black !important;
    text-transform: uppercase;
    text-align: center;
    padding: 16px !important;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
    image-rendering: pixelated;
  }