/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

header h1 {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* Main content */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Comic container */
.comic-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 100%;
}

.comic-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.comic-wrapper:hover {
    transform: scale(1.02);
}

/* Comic images */
.comic-normal,
.comic-blurred {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.4s ease-in-out;
    max-height: 500px;
    object-fit: contain;
}

.comic-normal {
    position: relative;
    z-index: 1;
}

.comic-blurred {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    filter: blur(3px);
}

/* Hover effects */
.comic-wrapper:hover .comic-normal {
    opacity: 0.3;
}

.comic-wrapper:hover .comic-blurred {
    opacity: 1;
    filter: blur(0px);
}

/* Hover overlay */
.hover-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    text-align: center;
}

.comic-wrapper:hover .hover-overlay {
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Donation section */
.donation-section {
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.donation-section h3 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.donation-section p {
    margin: 0.8rem 0;
    line-height: 1.6;
}

.donation-section code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: #FFD700;
    word-break: break-all;
    font-size: 0.9rem;
}

.warning-text {
    color: #FF6B6B !important;
    font-weight: bold;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .comic-container {
        margin: 1rem;
        padding: 1rem;
    }

    .hover-overlay {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .comic-container {
        margin: 0.5rem;
        padding: 0.5rem;
    }

    .hover-overlay {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
}

/* Loading animation */
.comic-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: 4;
}

.comic-wrapper:hover::before {
    left: 100%;
}