/* 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, #ffeb3b 0%, #ffc107 50%, #ff9800 100%);
    min-height: 100vh;
}

/* Header styles */
header {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    margin: 1rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Slideshow styles */
.slideshow-container {
    margin: 2rem 0;
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.slideshow {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    background: #f8f9fa;
}

.slide-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Content section */
.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.description {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.description h2 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.description p {
    margin-bottom: 1rem;
    color: #555;
}

/* Donation section */
.donation-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.donation-section h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.vote-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.donate-btn {
    padding: 1.5rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.save-btn {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

.euthanize-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.btn-text {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.btn-subtext {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: normal;
}

/* Vote results */
.vote-results {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.vote-count {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
}

.save-count {
    color: #4ecdc4;
}

.euthanize-count {
    color: #ff6b6b;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    border-radius: 20px;
    margin-left: 1rem;
    margin-right: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.footer-content p {
    margin-bottom: 0.5rem;
    color: #666;
}

.disclaimer {
    font-size: 0.8rem;
    font-style: italic;
    color: #999;
}

.hidden-donation-link {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .slideshow {
        height: 400px;
    }
    
    .vote-buttons {
        flex-direction: column;
    }
    
    .vote-count {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    header, .description, .donation-section, footer {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .slideshow {
        height: 350px;
    }
    
    .donate-btn {
        padding: 1rem;
    }
}
