* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Black', Arial, sans-serif;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.logo {
    font-size: clamp(1rem, 7vw, 6rem);
    font-weight: 900;
    color: #000;
    text-shadow: 8px 8px 0px #fff, 12px 12px 0px #ff6b6b;
    letter-spacing: -2px;
    margin-bottom: 20px;
    transform: perspective(500px) rotateX(15deg);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: perspective(500px) rotateX(15deg) scale(1);
    }

    50% {
        transform: perspective(500px) rotateX(15deg) scale(1.05);
    }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #000;
    font-weight: 800;
    background: #fff;
    padding: 15px 30px;
    border: 6px solid #000;
    box-shadow: 8px 8px 0px #000;
    display: inline-block;
    transform: rotate(-2deg);
    margin-bottom: 40px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.time-display {
    background: #fff;
    border: 8px solid #000;
    box-shadow: 12px 12px 0px #000;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.time-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #ff6b6b;
}

.counter-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #000;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.counter {
    font-size: clamp(4rem, 10vw, 8rem);
    color: #ff6b6b;
    font-weight: 900;
    text-shadow: 4px 4px 0px #000;
    margin: 20px 0;
}

.next-minute {
    background: #4ecdc4;
    border: 6px solid #000;
    box-shadow: 8px 8px 0px #000;
    padding: 30px;
    text-align: center;
    transform: rotate(1deg);
    margin-top: 20px;
}

.next-minute h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #000;
    margin-bottom: 15px;
    font-weight: 900;
}

.countdown {
    font-size: clamp(3rem, 6vw, 4rem);
    color: #000;
    font-weight: 900;
    text-shadow: 3px 3px 0px #fff;
}

.help-section {
    background: #fff;
    border: 8px solid #000;
    box-shadow: 12px 12px 0px #000;
    padding: 40px;
    text-align: center;
    transform: rotate(-1deg);
    position: relative;
    overflow: hidden;
}

.help-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #000;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.3;
}

.coffee-btn {
    background: #ff6b6b;
    color: #000;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 900;
    border: 6px solid #000;
    padding: 20px 40px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 8px 8px 0px #000;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.coffee-btn:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #000;
}

.coffee-btn:active {
    transform: translate(0px, 0px);
    box-shadow: 4px 4px 0px #000;
}

footer {
    text-align: center;
    padding: 40px 0;
    border-top: 8px solid #000;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.footer-text {
    font-size: 1.2rem;
    color: #000;
    font-weight: 800;
    background: #fff;
    padding: 15px 30px;
    border: 4px solid #000;
    box-shadow: 6px 6px 0px #000;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .time-display,
    .help-section {
        padding: 25px;
    }

    .next-minute {
        padding: 20px;
    }

    .subtitle {
        padding: 10px 20px;
        transform: rotate(-1deg);
    }
}

/* Glitch effect for extra brutalism */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff6b6b;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #4ecdc4;
    z-index: -2;
}

@keyframes glitch-1 {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-2 {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(2px, 2px);
    }

    40% {
        transform: translate(2px, -2px);
    }

    60% {
        transform: translate(-2px, 2px);
    }

    80% {
        transform: translate(-2px, -2px);
    }
}