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

body {
    font-family: 'Arial', sans-serif;
    background: transparent;
    color: #333;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.header {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInDown 1s ease-out;
}

.title {
    font-size: 5rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    animation: shiver 0.1s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.title:hover {
    transform: scale(1.1) rotate(5deg);
}

.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.close-btn, .help-btn {
    width: 120px;
    height: 50px;
    border-radius: 12px;
    border: none;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
}

.close-btn svg {
    width: 24px;
    height: 24px;
}

.close-btn {
    background: #000000;
    color: #ffffff;
}

.close-btn:hover {
    background: #333333;
    transform: scale(1.1) rotate(90deg);
}

.help-btn {
    background: #000000;
    color: #ffffff;
}

.help-btn:hover {
    background: #333333;
    transform: scale(1.1);
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-top: 10px;
    animation: fadeIn 1.5s ease-out;
}

.main-content {
    padding: 40px 0;
}

.meme-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    padding: 20px;
}

.meme-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.meme-card:nth-child(1) {
    animation-delay: 0s;
}

.meme-card:nth-child(2) {
    animation-delay: 0.5s;
}

.meme-card:nth-child(3) {
    animation-delay: 1s;
}

.meme-card:nth-child(4) {
    animation-delay: 1.5s;
}

.meme-card:hover {
    transform: translateY(-20px) rotate(5deg) scale(1.05);
    border-color: #ff6b6b;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.meme-card:active {
    transform: translateY(-10px) rotate(-5deg) scale(0.95);
}

.meme-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
}

.meme-text {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.meme-label {
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: rgba(245, 247, 250, 0.7);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out;
    backdrop-filter: blur(10px);
}

.info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.info-card:nth-child(3) {
    animation-delay: 0.4s;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.interactive-section {
    text-align: center;
    padding: 40px 20px;
}

.try-hard-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite;
}

.try-hard-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
}

.try-hard-btn:active {
    transform: scale(0.95) rotate(-5deg);
}

.try-hard-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.try-hard-btn:active::before {
    width: 300px;
    height: 300px;
}

.counter {
    margin-top: 30px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    animation: fadeIn 1s ease-out;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 0.9rem;
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-text {
    position: absolute;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    animation: floatAround 20s linear infinite;
    text-transform: uppercase;
}

.floating-text:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.floating-text:nth-child(2) {
    top: 50%;
    right: 10%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.floating-text:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-duration: 35s;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shiver {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-2px, -1px) rotate(-0.5deg);
    }
    50% {
        transform: translate(2px, 1px) rotate(0.5deg);
    }
    75% {
        transform: translate(-1px, 2px) rotate(-0.3deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 107, 107, 0.6);
    }
}

@keyframes floatAround {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, -100px) rotate(90deg);
    }
    50% {
        transform: translate(-50px, -200px) rotate(180deg);
    }
    75% {
        transform: translate(-150px, -100px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
        letter-spacing: 5px;
    }
    
    .meme-container {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        grid-template-columns: 1fr;
    }
    
    .meme-text {
        font-size: 2rem;
    }
}
