/* ========== Global resets & fonts ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Czcionka z Google Fonts: 'Mochiy Pop One' */
body {
    font-family: 'Mochiy Pop One', sans-serif;
    color: #fff;
    background: linear-gradient(120deg, #05010f 0%, #2f005c 100%) no-repeat center center fixed;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========== Gwiazdy w tle (pseudo-element) ========== */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background:
            radial-gradient(2px 2px at 20% 20%, rgba(255,255,255,0.8), transparent 70%) repeat,
            radial-gradient(1.5px 1.5px at 70% 50%, rgba(255,255,255,0.7), transparent 80%) repeat,
            radial-gradient(2px 2px at 40% 80%, rgba(255,255,255,0.5), transparent 80%) repeat;
    background-size: 200px 200px, 150px 150px, 250px 250px;
    opacity: 0.3;
    z-index: 0;
}

/* ========== Container ========== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

/* ========== Headings ========== */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}
h2 {
    font-size: 1.8rem;
    line-height: 1.3;
}
h1, h2 {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: bold;
}
h1::before, h2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #FFD700;
    z-index: -1;
    border-radius: 10px;
}

/* Opis większy i z odstępem */
.description {
    font-size: 1.2rem;
    margin-top: 1em;
    line-height: 1.5;
}

/* ========== Neon-ish buttons ========== */
.neon-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background: rgba(255,255,255,0.1);
    border: 2px solid #fff;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    font-weight: bold;
    border-radius: 12px;
}
.neon-btn:hover {
    background: #FFD700;
    color: #2f005c;
    box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
}

/* ========== Sections / blocks ========== */
section {
    margin-bottom: 40px;
    position: relative;
}
.block-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}
.block {
    flex: 1;
    min-width: 280px;
}

/* ========== Contract box ========== */
.contract-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid #fff;
    padding: 10px;
    margin: 10px 0;
    position: relative;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.contract-text {
    font-weight: bold;
    overflow-wrap: anywhere;
    margin-right: 10px;
}
.copy-btn {
    background: #fff;
    color: #2f005c;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 8px;
}
.copy-btn:hover {
    background: #FFD700;
    color: #2f005c;
}

/* ========== Tokenomics & how-to-buy boxes ========== */
.tokenomics-item,
.how-to-buy-step {
    background: rgba(255,255,255,0.1);
    border: 1px solid #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}
.tokenomics-item h4,
.how-to-buy-step h4 {
    margin-bottom: 10px;
    color: #FFD700;
}

/* 1. Większa czcionka w polu Contract Address w tokenomics */
.tokenomics-contract {
    font-size: 1.2rem;
    font-weight: bold;
}

/* ========== Social links ========== */
.social-links {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}
.social-links a img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 2px #fff);
    transition: transform 0.2s;
    border-radius: 50%;
}
.social-links a img:hover {
    transform: scale(1.1);
}

/* ========== Marquee stripes ========== */
.marquee {
    overflow: hidden;
    position: relative;
    height: 50px;
    margin-bottom: 20px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    background: rgba(255,255,255,0.1);
}
.marquee-content {
    position: absolute;
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: marquee 10s linear infinite;
}
.marquee-content p {
    margin-right: 50px;
}
.marquee-content p:last-child {
    margin-right: 200px;
}
.marquee.skewed {
    transform: rotate(-3deg);
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== Centered text sections ========== */
.centered-text {
    text-align: center;
}
.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ========== Tokenomics row (5 columns) + contract below ========== */
.tokenomics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.contract-item {
    margin-top: 20px;
}

/* ========== How to buy grid ========== */
.how-to-buy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* ========== Dog image ========== */
.dog-img {
    border: 2px solid #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
}

/* ========== Gallery ========== */
.gallery-section {
    margin-bottom: 40px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.gallery-grid a img {
    width: 100%;
    border: 2px solid #fff;
    border-radius: 8px;
    transition: transform 0.2s;
}
.gallery-grid a img:hover {
    transform: scale(1.05);
}

/* ========== Toast Container & Toast ========== */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Można ewentualnie dodać width: 250px; jeśli chcesz ograniczyć szerokość toastów */
}

.toast {
    background: #FFD700;
    color: #2f005c;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px #FFD700;
    opacity: 0;
    animation: fadeInOut 3s forwards;
    font-weight: bold;
}

/* Keyframes: 0% -> 10% (pojawianie), 90% -> 100% (znikanie) */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    90% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ========== Responsiveness ========== */
@media (max-width: 992px) {
    .tokenomics-row {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}
@media (max-width: 768px) {
    .block-wrapper {
        flex-direction: column;
    }
    .marquee {
        height: 40px;
    }
    .marquee-content p {
        margin-right: 20px;
    }
}
