body {
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    background-color: #29221b;
    color: #fcfcfa;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 90px; /* Prevent content from hiding under header */
}

/* Header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 350px;
    margin: 0 auto;
    padding: 0 32px;
    margin-top: 10px;
    background-color: #faba2d;
    border-radius: 50px;
    box-shadow: 0 2px 16px rgba(227, 201, 123, 0.15);
    height: 72px;
    border: 2px solid #e3c97b;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.Header-Logo {
    height: 56px;
    width: auto;
    border-radius: 100px;
    border: 2px solid #e3c97b;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 18px;
    align-items: center;
}

.tg-logo, .x-logo {
    height: 32px;
    width: 32px;
    object-fit: contain;
    transition: transform 0.2s;
}

.tg-logo-link:hover .tg-logo,
.x-logo-link:hover .x-logo {
    transform: scale(1.2);
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Buttons */
.buy-btn,
.buy-button {
    background: #fdd153;
    color: #29221b;
    font-weight: bold;
    padding: 0 15px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, transform 0.2s;
    border: 2px solid #e3c97b;
    outline: none;
    height: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    letter-spacing: 1px;
    white-space: nowrap;
}

.buy-btn:hover,
.buy-button:hover {
    background: #e3c97b;
    color: #29221b;
    transform: scale(1.05);
}

/* Main Layout */
.main-row {
    display: flex;
    align-items: stretch;
    margin: auto auto 0 auto;
    gap: 10px;
    padding: 0 32px;
}

.Heading-text-container {
    margin: 24px auto 0 auto;
    text-align: left;
    max-width: 520px;
    width: 100%;    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.Heading-text {
    font-size: 4.8rem;
    color: #faba2d;
    margin-top: 0;
    margin-bottom:10px;
    font-weight: 800;
    letter-spacing: 2px;
       text-shadow:
        2px 2px 8px #29221b,
        0 0 2px #fdd153,
        -2px -2px 0 #29221b,
        2px -2px 0 #29221b,
        -2px 2px 0 #29221b,
        0 2px 0 #29221b,
        2px 0 0 #29221b,
        0 -2px 0 #29221b;
}

.subheading-text {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 5px;
    max-width: 650px;
    line-height: 1.5;
    font-weight: 500;
    color: #fcfcfa;
    text-shadow:
        2px 2px 8px #29221b,
        0 0 2px #fdd153,
        -1px -1px 0 #29221b,
        1px -1px 0 #29221b,
        -1px 1px 0 #29221b,
        0 1px 0 #29221b,
        1px 0 0 #29221b,
        0 -1px 0 #29221b;
}

/* Banner */
.banner-container {
    margin: 60px auto 0 auto;
    text-align: center;
    max-width: 520px;
    width: 100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.banner-img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 2px 12px #fdd153;
    object-fit: contain;
}


/* Stopwatch */
.stopwatch-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 5px auto;
    padding: 20px 16px 40px 16px;
    background: #29221b;
    border-radius: 18px;
    box-shadow: 0 2px 12px #e3c97b;
    width: 60%;
}

.stopwatch-title {
    color: #fdd153;
    font-size: 3rem;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-align: center;
}

.stopwatch-display {
    font-size: 7rem;
    color: #29221b;
    background: #e3c97b;
    font-family: 'Caveat', cursive;
    padding: 24px 48px;
    border-radius: 16px;
    box-shadow: 0 2px 12px #faba2d;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Center Logo */
.center-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 0 0;
}

.center-logo {
    height: 300px;
    width: auto;
    border-radius: 50%;
    animation: logoFloat 2.5s ease-in-out infinite;
    box-shadow: 0 2px 12px #fdd153;
    border: 4px solid #e3c97b;
}

@keyframes logoFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-24px); }
    100% { transform: translateY(0); }
}

/* PF Button */
.pf-button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.Pf-chart-btn {
    background: #faba2d;
    color: #29221b;
    border: 2px solid #e3c97b;
    font-weight: bold;
    padding: 0 18px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 1.2rem;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: auto;
}

.Pf-chart-btn:hover {
    background: #e3c97b;
    color: #29221b;
    transform: scale(1.05);
}

/* Footer */
.footerheading {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 0 0;
    width: 100%;
}

.footerheading-text {
    text-align: center;
    font-size: 2rem;
    color: #fdd153;
    font-weight: 700;
    margin: 0;
}

.footer-text {
    color: #e3c97b;
    font-size: 20px;
    text-align: center;
    margin-top: 40px;
    border-style: dashed;
    padding: 10px;
    border-color: #faba2d;
}

/* Copy Button */
.button-row {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 2px;
    margin: 0;
    width: 100%;
}

.copy-btn,
.view-chart-btn {
    height: 50px;
    font-size: 1.2rem;
    padding: 0 18px;
    border-radius: 24px;
    white-space: nowrap;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.copy-btn {
    background: #e3c97b;
    color: #29221b;
    border: 2px solid #fdd153;
    font-weight: bold;
    padding: 0 18px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: auto;
    margin: 20px 10px;
}

.copy-btn:hover {
    background: #fdd153;
    color: #29221b;
    transform: scale(1.05);
}
.view-chart-btn {
    background: #e3c97b;
    color: #29221b;
    border: 2px solid #fdd153;
    font-weight: bold;
    padding: 0 18px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 1.2rem;
    margin-right: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: auto;
}

.view-chart-btn:hover {
    background: #fdd153;
    color: #29221b;
    transform: scale(1.05);
}
/* Banana Animation (Background) */
.galaxy-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.banana {
    position: absolute;
    opacity: 0.8;
    animation: twinkleMove 2.2s infinite alternate;
    user-select: none;
    pointer-events: none;
    filter: brightness(0.85) saturate(0.8);
}

@keyframes twinkleMove {
    0% {
        opacity: 0.6;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(var(--moveX, 0px));
    }
    100% {
        opacity: 0.7;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        height: auto;
        padding: 10px;
        max-width: 90%;
        border-radius: 24px;
        margin-top: 20px;
    }

    .Header-Logo {
        height: 48px;
    }

    .header-center {
        gap: 12px;
    }

    .buy-button {
        font-size: 1rem;
        height: 40px;
        padding: 0 12px;
    }

    .main-row {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 0 16px;
    }

    .Heading-text-container {
        margin-top: 24px;
        margin-left: 0;
        text-align: center;
        max-width: 98vw;
    }

    .Heading-text {
        font-size: 2.8rem;
    }

    .subheading-text {
        font-size: 1.2rem;
        max-width: 100%;
    }

    .button-row {
        flex-direction: column;
        gap: 5px;
        align-items: center;
        margin-bottom: 0px;
    }

    .view-chart-btn {
        width: 30%;
        font-size: 1rem;
        height: 44px;
    }

    .banner-container {
        margin: 0;
        text-align: center;
    }

    .banner-img {
        max-width: 90%;
        margin: 0px auto;
        height: auto;
    }

    .center-logo {
        height: 180px;
    }

    .footerheading-text {
        font-size: 1.5rem;
    }

    .copy-btn {
        width: 90%;
        font-size: 1rem;
        height: 44px;
    }

    .stopwatch-container {
        width: 90%;
        padding: 16px 4px 24px 4px;
        margin-top: 10px;
    }

    .stopwatch-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .stopwatch-display {
        font-size: 2.5rem;
        padding: 12px 8px;
    }
    .Heading-text-container,
    .banner-container {
        max-width: 98vw;
        padding: 0 1vw;
        margin-top: 0px;
    }

    .banner-img {
        max-width: 100%;
        border-radius: 16px;
    }

    .button-row {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .copy-btn
     {
        width: auto;
        font-size: 1rem;
        height: 44px;
    }
    .view-chart-btn {
        width: 20%;
        font-size: 1rem;
        height: 44px;
    }
    .banner-container {
        margin: 2px;
        text-align: center;
        padding: 0 1vw;
    }

    .button-row {
        flex-direction: column;
        gap: 5px;
        margin-top: 8px; /* Reduced top margin above buttons */
        margin-bottom: 0;
    }

    .copy-btn,
    .view-chart-btn {
        margin: 2px;
    }
}

