/* Page layout */
body {
    font-family: Arial, sans-serif;
    background: #111;
    color: #eee;
    text-align: center;
    padding: 40px;
    padding-top: 120px;
    margin: 0;
}

/* Title */
h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Modern 3D Red Button */
#theButton {
    font-size: 2rem;
    padding: 20px 40px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(to bottom, #ff4d4d, #d60000);
    color: white;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 6px 0 #7a0000, 0 6px 12px rgba(0,0,0,0.4);
}

#theButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #7a0000, 0 10px 18px rgba(0,0,0,0.5);
}

#theButton:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #7a0000, 0 4px 8px rgba(0,0,0,0.3);
    background: linear-gradient(to bottom, #ff3333, #b30000);
}

/* Counter text */
.counter {
    margin-top: 25px;
    font-size: 1.4rem;
}

/* Mobile‑optimised bottom ad container */
.ad-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    padding: 14px 0;
    border-radius: 12px 12px 0 0;
    text-align: center;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.4);
    z-index: 9999;
}

/* Ad slot (Google or other networks) */
.ad-slot {
    min-height: 60px; /* Google mobile banner height */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Mobile tweaks */
@media (max-width: 600px) {
    #theButton {
        font-size: 1.6rem;
        padding: 16px 32px;
    }

    h1 {
        font-size: 2rem;
    }

    .ad-container {
        padding: 12px 0;
    }

    .ad-slot {
        min-height: 50px;
    }
}
