@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Rajdhani:wght@600;700&display=swap');

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

body {
    font-family: 'Rajdhani', 'Oswald', sans-serif;
    background: #0a0c0e url('assets/bg.jpg') center/cover no-repeat fixed;
    color: #e8e6e3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,12,14,0.7) 0%, rgba(20,15,10,0.85) 100%);
    z-index: 0;
}

.scanlines {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.15) 2px,
        rgba(0,0,0,0.15) 4px
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.container {
    position: relative;
    z-index: 2;
    background: rgba(10, 12, 14, 0.75);
    border: 1px solid #3a2a1a;
    border-radius: 4px;
    padding: 2rem 1.5rem;
    max-width: 520px;
    width: 92%;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,100,0,0.05);
    backdrop-filter: blur(4px);
}

header {
    margin-bottom: 1.5rem;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #fff;
    text-shadow: 0 0 10px #ff6a00;
}

.tagline {
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #ff6a00;
    margin-top: -4px;
}

.mad-stamp, .altf4-stamp {
    position: absolute;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    opacity: 0.15;
    pointer-events: none;
    user-select: none;
    transform: rotate(-15deg);
}

.mad-stamp {
    top: 20px;
    left: -30px;
    font-size: 5rem;
    color: #ff3333;
    letter-spacing: 8px;
}

.altf4-stamp {
    bottom: 40px;
    right: -20px;
    font-size: 3.2rem;
    color: #ffaa00;
    letter-spacing: 4px;
    transform: rotate(12deg);
}

.counter-section {
    margin: 1.8rem 0;
}

.label {
    font-size: 0.95rem;
    letter-spacing: 3px;
    color: #aaa;
    margin-bottom: 0.3rem;
}

.counter {
    font-family: 'Oswald', sans-serif;
    font-size: 6.5rem;
    font-weight: 700;
    color: #ff3333;
    text-shadow: 0 0 20px #ff0000, 0 0 40px rgba(255,50,0,0.5);
    line-height: 0.9;
    transition: transform 0.15s ease;
}

.counter.bump {
    transform: scale(1.12);
}

.sub {
    font-size: 1.1rem;
    letter-spacing: 6px;
    color: #ff6a00;
    margin-top: 0.2rem;
}

.btn-rage {
    background: linear-gradient(180deg, #c41e1e 0%, #8b0000 100%);
    border: 2px solid #ff4444;
    color: white;
    padding: 1.1rem 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 1px;
    cursor: pointer;
    width: 100%;
    max-width: 360px;
    margin: 1rem auto;
    display: block;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255,50,0,0.4);
    transition: all 0.15s;
    position: relative;
    overflow: hidden;
}

.btn-rage:hover {
    background: linear-gradient(180deg, #e02020 0%, #a00000 100%);
    box-shadow: 0 0 30px rgba(255,50,0,0.7);
    transform: translateY(-2px);
}

.btn-rage:active {
    transform: translateY(1px);
}

.btn-sub {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    opacity: 0.8;
    margin-top: 2px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 1.5rem 0;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #888;
}

.stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #ffaa00;
}

.log-box {
    background: rgba(0,0,0,0.5);
    border: 1px solid #333;
    padding: 1rem;
    margin-top: 1.2rem;
    max-height: 160px;
    overflow-y: auto;
    text-align: left;
}

.log-title {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #ff6a00;
    margin-bottom: 0.5rem;
}

#log-list {
    list-style: none;
    font-size: 0.85rem;
}

#log-list li {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #ccc;
}

footer {
    margin-top: 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 1px;
    opacity: 0.4;
}

@media (max-width: 480px) {
    .logo { font-size: 2.2rem; }
    .counter { font-size: 5rem; }
    .mad-stamp { font-size: 3.5rem; }
}