/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff9f5;
    min-height: 100vh;
}

/* Top Navigation */
.top-navbar {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    color: white;
    padding: 0;
    box-shadow: 0 2px 20px rgba(255, 126, 95, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    height: 70px;
    gap: 2rem;
    position: relative;
}

.nav-container .logo {
    position: absolute;
    left: 2rem;
}

.nav-container .auth-section {
    position: absolute;
    right: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    color: #3498db;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    margin: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.95rem;
    min-width: fit-content;
    border: 2px solid transparent;
}

.nav-link:hover {
    color: white;
    background: rgba(52, 152, 219, 0.3);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    border: 2px solid rgba(52, 152, 219, 0.6);
}

.nav-link.active {
    color: white;
    background: rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
    border: 2px solid rgba(52, 152, 219, 0.5);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}


.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.6);
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.auth-section .user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-section .auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.votes-display {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.username-display {
    font-size: 0.9rem;
    opacity: 0.9;
}

.auth-buttons {
    display: flex;
    gap: 0.8rem;
}

/* Button Styles */
.btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7e5f, #ff5e62);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff5e62, #ff7e5f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #feb47b, #ff9966);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff9966, #feb47b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 180, 123, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.9);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Page Management */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(255, 94, 98, 0.3);
    position: relative;
    overflow: hidden;
}

/* Paw prints removed as requested */

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff9966;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Featured Section */
.featured-section {
    margin-bottom: 3rem;
}

.featured-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
}

.featured-puppies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.puppy-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 126, 95, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 126, 95, 0.1);
}

.puppy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 126, 95, 0.15);
    border-color: rgba(255, 126, 95, 0.3);
}

.puppy-card.featured {
    border: 3px solid #ff7e5f;
    position: relative;
}

.puppy-card.featured::before {
    content: "👑 Leading";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.puppy-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.puppy-info {
    padding: 1.5rem;
}

.puppy-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.puppy-info p {
    color: #666;
    margin-bottom: 1rem;
}

.votes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e74c3c;
    font-weight: 600;
}

.votes i {
    color: #e74c3c;
}

/* CTA Section */
.cta-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.cta-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cta-card:hover {
    border-color: #3498db;
    transform: translateY(-5px);
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.cta-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-content.show {
    display: block;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-content a:hover {
    background: #f8f9fa;
    color: #3498db;
    transform: translateX(5px);
}

/* Hero Section - Puppy Focused */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Featured Contest - Clean Professional Style */
.featured-contest {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid #e3f2fd;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.contest-highlight {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    min-height: 300px;
}

.contest-info {
    padding: 3rem;
    text-align: left;
}

.contest-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.contest-info h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: #2c3e50;
}

.contest-info h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #34495e;
}

.contest-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #666;
    font-weight: 500;
}

.contest-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #555;
}

.contest-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

.detail-item i {
    color: #3498db;
    font-size: 1.2rem;
    width: 24px;
}

.contest-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contest-cta .btn {
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
}

.contest-winner-showcase {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.winner-frame {
    position: relative;
    margin-bottom: 1rem;
    background: white;
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-puppy {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    border: 4px solid #e3f2fd;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    background: white;
}

.winner-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    text-align: center;
    min-width: 160px;
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.3);
    max-width: 90%;
}

.winner-overlay h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #3498db;
}

.winner-overlay p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

.vote-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.winner-caption {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #2c3e50;
    margin-top: 0.5rem;
}

/* Empty State Styles */
.placeholder-content, .empty-content {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.empty-voting-state {
    grid-column: 1 / -1; /* Span all columns */
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.empty-content h3, .placeholder-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-content p, .placeholder-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Professional Prize Section with 3 Boxes */
.quick-prize-info {
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.prize-section-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.prize-section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.prize-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.prize-box {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    text-align: center;
}

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

.prize-box.first-place {
    border-color: #f1c40f;
    background: linear-gradient(135deg, #fff9e6, #ffffff);
}

.prize-box.first-place:hover {
    box-shadow: 0 15px 40px rgba(241, 196, 15, 0.3);
}

.prize-box.second-place {
    border-color: #95a5a6;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.prize-box.second-place:hover {
    box-shadow: 0 15px 40px rgba(149, 165, 166, 0.3);
}

.prize-box.third-place {
    border-color: #2980b9;
    background: linear-gradient(135deg, #fdf2e9, #ffffff);
}

.prize-box.third-place:hover {
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.3);
}

.place-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
}

.place-header i {
    font-size: 1.5rem;
}

.first-place .place-header i { color: #f1c40f; }
.second-place .place-header i { color: #95a5a6; }
.third-place .place-header i { color: #2980b9; }

.prize-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #27ae60;
}

.prize-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.prize-footer {
    margin-top: 2rem;
}

.prize-footer .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .contest-highlight {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        min-height: auto;
    }
    
    .contest-info {
        padding: 2rem;
        text-align: center;
    }
    
    .contest-info h1 {
        font-size: 2.2rem;
    }
    
    .contest-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .contest-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contest-winner-showcase {
        padding: 1.5rem;
        order: -1; /* Show image first on mobile */
    }
    
    .featured-puppy {
        width: 180px;
        height: 180px;
    }
    
    .winner-frame {
        padding: 10px;
    }
    
    .prize-boxes {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .prize-box {
        padding: 1.5rem;
    }
    
    .prize-section-title {
        font-size: 1.6rem;
    }
    
    .dropdown-content {
        right: 0;
        left: auto;
        min-width: 180px;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .care-sections {
        grid-template-columns: 1fr;
    }
    
    .contests-grid {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-header {
        grid-template-columns: 60px 1fr 80px 60px;
        font-size: 0.8rem;
        padding: 0.8rem;
    }
    
    .leaderboard-entry {
        grid-template-columns: 60px 1fr 80px 60px;
        padding: 1rem;
    }
    
    .breed-info, .contest-info {
        display: none;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .calendar-month {
        padding: 1rem;
    }
}

/* Prize Section */
.prize-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.prize-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.prize-subtitle {
    font-size: 1.3rem;
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 3rem;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.prize-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.prize-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.grand-prize {
    border-color: #f1c40f;
    transform: scale(1.05);
}

.second-place {
    border-color: #95a5a6;
}

.third-place {
    border-color: #2980b9;
}

.prize-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.grand-prize .prize-badge {
    background: linear-gradient(135deg, #f1c40f, #f7dc6f);
}

.second-place .prize-badge {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.third-place .prize-badge {
    background: linear-gradient(135deg, #2980b9, #34495e);
}

.prize-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.prize-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.prize-amount {
    font-size: 3rem;
    color: #27ae60;
    font-weight: 700;
    margin-bottom: 1rem;
}

.prize-details p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.bonus-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.bonus-section h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.bonus-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.bonus-item i {
    font-size: 2rem;
    color: #3498db;
    min-width: 40px;
}

.bonus-item h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.bonus-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Step Cards for How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-icon {
    font-size: 3rem;
    color: #3498db;
    margin: 2rem 0 1rem;
}

.step-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-note {
    font-size: 0.9rem;
    font-weight: 600;
    color: #27ae60;
}

/* Trust and FAQ Sections */
.trust-section, .faq-preview {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trust-feature {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.trust-feature:hover {
    background: #e9ecef;
    transform: translateY(-5px);
}

.trust-feature i {
    font-size: 3rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.trust-feature h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: #f8f9fa;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-item:hover {
    background: #e9ecef;
    border-color: #3498db;
}

.faq-item h4 {
    margin: 0;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.faq-footer a {
    display: inline-block;
    margin: 0.5rem 1rem;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.faq-footer a:hover {
    text-decoration: underline;
}

/* Legal Pages */
.legal-page {
    background: white;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 3rem 2rem 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.legal-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.legal-content {
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.legal-content h4 {
    color: #34495e;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
    font-weight: 600;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #666;
}

.rule-item, .coppa-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
}

.prize-breakdown {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.breakdown-item {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
}

.breakdown-item h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.breakdown-item p {
    margin: 0;
    opacity: 0.95;
}

.prize-notes {
    background: #fff3cd;
    border: 2px solid #3498db;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.legal-notice {
    background: #d4edda;
    border: 2px solid #27ae60;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.legal-notice p {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.contact-footer, .legal-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.privacy-controls {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
}

.privacy-controls h4 {
    color: white;
    margin-bottom: 1rem;
}

/* Legal Footer */
.legal-footer {
    background: #2c3e50;
    color: white;
    margin-top: 3rem;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-logo i {
    font-size: 2rem;
    color: #3498db;
}

.company-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.company-logo small {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.footer-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

.feature-badge i {
    color: #3498db;
}

.copyright {
    opacity: 0.8;
    margin-top: 2rem;
}

.location-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.location-info a {
    color: #3498db;
    text-decoration: none;
}

/* Social Media Links */
.social-media-links {
    margin-top: 2rem;
    text-align: center;
}

.social-media-links h4 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 200px;
    justify-content: center;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e1306c, #fd1d1d);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #fd1d1d, #e1306c);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-link.email {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.social-link.email:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.social-link i {
    font-size: 1.2rem;
}

.social-link span {
    font-size: 0.9rem;
}

/* Mobile social links */
@media (max-width: 768px) {
    .social-icons {
        flex-direction: column;
    }
    
    .social-link {
        min-width: 250px;
    }
}

/* Beta Notice & Trust Elements */
.beta-notice {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
}

.beta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.beta-banner h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.beta-banner p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Transparency Section */
.transparency-section {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.transparency-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.payout-table {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.payout-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.payout-table th {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.payout-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: #666;
}

.transparency-section p {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Mission Highlights */
.mission-highlight {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 10px;
}

.mission-highlight h4 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.mission-highlight p {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mission-highlight p:last-child {
    margin-bottom: 0;
}

/* Charity Support */
.charity-support {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border-radius: 15px;
}

.charity-support h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.charity-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.charity-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    color: #2c3e50;
    font-weight: 500;
}

.charity-item i {
    color: #27ae60;
    font-size: 1.2rem;
    width: 20px;
}

.charity-support p {
    color: #666;
    font-size: 0.9rem;
}

/* Security Badges */
.security-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
}

.security-item i {
    color: #27ae60;
    font-size: 1.1rem;
    width: 20px;
}

/* Coming Soon Section */
.coming-soon-section {
    margin-bottom: 3rem;
}

.coming-soon-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.coming-soon-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.coming-soon-card > p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contest-preview {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
}

.preview-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.coming-soon-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Social Proof Section */
.social-proof-section {
    margin-bottom: 3rem;
}

.winner-announcement {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid #27ae60;
}

.announcement-badge {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.winner-post {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.winner-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.winner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-details h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.winner-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.proof-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.proof-badge {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Mobile social proof */
@media (max-width: 768px) {
    .winner-post {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .winner-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .proof-badges {
        justify-content: center;
    }
}

/* Sample Puppies Section */
.sample-puppies-section {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid #e3f2fd;
}

.sample-notice {
    text-align: center;
    margin-bottom: 3rem;
}

.sample-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.sample-notice h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.sample-notice p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.sample-puppies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.sample-puppy-card {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.sample-puppy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

.sample-badge-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

.sample-puppy-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.sample-footer {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #3498db;
}

.sample-footer p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.sample-footer p:last-child {
    margin-bottom: 0;
}

/* Buy Votes Link */
.buy-votes-notice {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 15px;
}

.buy-votes-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.buy-votes-link:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* Custom Breed Input */
#custom-breed {
    transition: all 0.3s ease;
    border: 2px solid #3498db !important;
    background: #f8f9fa !important;
    animation: slideDown 0.3s ease;
}

#custom-breed:focus {
    border-color: #2980b9 !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

#breed-help {
    background: #e3f2fd;
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced breed selection */
#breed {
    transition: all 0.3s ease;
}

#breed:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Pet Care Guide Styles */
.care-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.care-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.care-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.care-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.care-section h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.care-section > p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.care-tips {
    text-align: left;
}

.tip-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.tip-item h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.tip-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.resources-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    text-align: center;
}

.resources-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.resource-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.resource-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resource-links a:hover {
    background: #e3f2fd;
    border-color: #3498db;
    transform: translateY(-3px);
    color: #3498db;
}

.resource-links a i {
    color: #3498db;
    font-size: 1.2rem;
}

.emergency-info {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.emergency-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-info p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.emergency-info em {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Monthly Contests Page Styles */
.contests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contest-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.contest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.contest-card.active-contest {
    border-color: #3498db;
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.3);
}

.contest-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.contest-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.contest-badge.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    animation: pulse 2s infinite;
}

.contest-badge.upcoming {
    background: rgba(52, 152, 219, 0.9);
    color: white;
}

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

.contest-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.contest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

.image-overlay i {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.contest-content {
    padding: 2rem;
}

.contest-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contest-month {
    color: #3498db;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contest-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contest-stats {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.contest-actions {
    display: flex;
    gap: 1rem;
}

.contest-actions .btn {
    flex: 1;
    padding: 0.8rem;
    font-weight: 600;
}

/* Contest Calendar */
.contest-calendar {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contest-calendar h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.calendar-month {
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.calendar-month.completed {
    background: #ecf0f1;
    color: #7f8c8d;
}

.calendar-month.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-color: #2980b9;
    animation: glow 2s infinite;
}

.calendar-month.upcoming {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #bbdefb;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3); }
    50% { box-shadow: 0 10px 30px rgba(243, 156, 18, 0.6); }
}

.calendar-month h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.calendar-month p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.calendar-month .status {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Live Leaderboard Styles */
.leaderboard-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.leaderboard-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.leaderboard-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px 100px 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leaderboard-entry {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px 100px 100px;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    align-items: center;
    transition: all 0.3s ease;
}

.leaderboard-entry:hover {
    background: #f8f9fa;
}

.leaderboard-entry:last-child {
    border-bottom: none;
}

.rank {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.rank-1 .rank { color: #f1c40f; }
.rank-2 .rank { color: #95a5a6; }
.rank-3 .rank { color: #27ae60; }

.rank-number {
    font-size: 1.5rem;
}

.puppy-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.puppy-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
}

.puppy-info h4 {
    margin: 0 0 0.2rem 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.puppy-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
}

.breed-info span {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.breed-info small {
    display: block;
    color: #666;
    font-size: 0.8rem;
}

.contest-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.contest-tag.halloween {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.vote-count {
    text-align: center;
}

.vote-count .votes {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
}

.vote-count small {
    font-size: 0.8rem;
    color: #666;
}

.load-more-leaderboard {
    text-align: center;
    padding: 2rem;
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Registration Form */
.registration-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.8rem;
}

.file-upload {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.file-upload:hover {
    border-color: #3498db;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-text i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.upload-text p {
    margin-bottom: 0.5rem;
    color: #666;
}

.upload-text small {
    color: #999;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Voting Page */
.voting-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.search-bar {
    position: relative;
}

.search-bar input {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    width: 250px;
}

.search-bar i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.puppies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.puppy-voting-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.puppy-voting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.puppy-voting-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.puppy-details {
    padding: 1.5rem;
}

.puppy-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.puppy-details p {
    color: #666;
    margin-bottom: 1rem;
}

.vote-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.current-votes {
    font-weight: 600;
    color: #e74c3c;
}

.vote-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vote-btn:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    transform: scale(1.05);
}

.vote-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.vote-balance {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Authentication Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    margin: auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    background: none;
    border: none;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
    color: white;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 2rem;
}

.auth-form {
    padding: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .password-field {
    position: relative;
}

.auth-form .forgot-password {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.8rem;
    color: #666;
}

.auth-options {
    margin: 1.5rem 0;
}

.auth-option-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
}

.auth-option-divider::before,
.auth-option-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.auth-option-divider span {
    padding: 0 10px;
    color: #666;
    font-size: 0.9rem;
}

.auth-form #magic-link-option {
    width: 100%;
}

.auth-form .form-actions {
    margin-top: 2rem;
}

.auth-form .form-actions .btn {
    width: 100%;
    padding: 0.8rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.auth-switch a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.legal-agreements {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border: 2px solid #e9ecef;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.checkbox-group:last-child {
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    width: auto;
    min-width: 18px;
    height: 18px;
}

.checkbox-group label {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #2c3e50;
    margin-bottom: 0;
}

.checkbox-group label a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.access-notice {
    text-align: center;
}

.access-notice i {
    font-size: 4rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.access-notice h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.access-benefits {
    margin: 2rem 0;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.benefit i {
    color: #3498db;
    font-size: 1.2rem;
    width: 20px;
}

.modal-actions {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 1rem;
}

.modal-actions .btn {
    flex: 1;
}

/* Pricing Info */
.pricing-info {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-note {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.pricing-note i {
    font-size: 1.2rem;
}

/* Vote Packages */
.vote-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.savings-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 3;
}

.price-per-vote {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Stripe Checkout Section */
.stripe-checkout-section {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.checkout-header {
    margin-bottom: 2rem;
}

.checkout-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.checkout-header p {
    color: #666;
    font-size: 1rem;
}

.payment-trust {
    background: linear-gradient(135deg, #e8f5e8, #f0f9ff);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid #e3f2fd;
}

.payment-trust .trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem;
}

.payment-trust .trust-item:last-child {
    margin-bottom: 0;
}

.payment-trust .trust-item i {
    font-size: 1.3rem;
    color: #27ae60;
    width: 28px;
}

.payment-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid #e9ecef;
    text-align: left;
}

.payment-summary h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item.total {
    border-top: 2px solid #ddd;
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: #2c3e50;
}

.stripe-checkout-buttons {
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    width: 100%;
    margin-bottom: 2rem;
}

.payment-methods {
    text-align: center;
    margin-top: 1.5rem;
}

.payment-methods p {
    color: #666;
    margin-bottom: 1rem;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 2rem;
    color: #3498db;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    opacity: 1;
    transform: scale(1.1);
}

.checkout-footer {
    border-top: 2px solid #eee;
    padding-top: 2rem;
}

.payment-note, .security-note {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.security-note {
    margin-bottom: 0;
    color: #27ae60;
    font-weight: 600;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.newsletter-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-content {
    text-align: left;
}

.newsletter-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.newsletter-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.newsletter-form {
    margin-bottom: 1.5rem;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-input-group input[type="email"],
.newsletter-input-group input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-input-group button {
    padding: 0.8rem 2rem;
    font-weight: 600;
    white-space: nowrap;
}

.newsletter-note {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 1.2rem;
    color: #3498db;
    width: 20px;
}

/* Newsletter Mobile */
@media (max-width: 768px) {
    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .newsletter-content {
        text-align: center;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-input-group input {
        width: 100%;
        max-width: 300px;
    }
    
    .newsletter-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

.package-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

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

.package-card.popular {
    border-color: #3498db;
    transform: scale(1.05);
}

.package-card.selected {
    border-color: #27ae60;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
}

.badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 2rem;
    text-align: center;
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.package-content {
    padding: 2rem;
    text-align: center;
}

.vote-count {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    padding: 0.5rem 0;
    color: #666;
}

.features i {
    color: #27ae60;
    margin-right: 0.5rem;
}

.payment-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    margin: 0 auto;
}

.payment-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Winners Page */
.winners-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.winner-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

.winner-card.champion {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

.winner-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.winner-badge i {
    margin-right: 0.5rem;
    color: #3498db;
}

.winner-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.winner-info {
    padding: 1.5rem;
}

.winner-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.winner-info p {
    color: #666;
    margin-bottom: 1rem;
}

.winner-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.winner-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.load-more {
    text-align: center;
}

/* Gallery */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Help Center Page */
.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.help-category {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
}

.help-category h3 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.help-category h3 i {
    margin-right: 0.5rem;
    color: #ff5e62;
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.help-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.help-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

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

.support-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-method {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    text-align: center;
}

.contact-method i {
    font-size: 2rem;
    color: #ff5e62;
    margin-bottom: 1rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.about-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
}

.contact-info i {
    color: #3498db;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2980b9;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        height: auto;
        gap: 1rem;
    }
    
    .nav-container .logo,
    .nav-container .auth-section {
        position: static;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .auth-section {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .voting-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-bar input {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .featured-puppies,
    .puppies-grid,
    .vote-packages,
    .winners-timeline {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 10001;
    max-width: 400px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    color: white;
    font-weight: 500;
}

.notification-info .notification-content {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.notification-success .notification-content {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.notification-warning .notification-content {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.notification-error .notification-content {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.notification-content i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.notification-content span {
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Dog Bone Confirmation Modal */
.bone-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

/* Turnstile Container */
.turnstile-container {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

.bone-modal.show {
    display: flex;
}

.bone-content {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    position: relative;
    width: 350px;
    height: 180px;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 20px 60px rgba(243, 156, 18, 0.4);
    animation: bonePopIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bone-content::before,
.bone-content::after {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    top: 50%;
    transform: translateY(-50%);
}

.bone-content::before {
    left: -25px;
}

.bone-content::after {
    right: -25px;
}

@keyframes bonePopIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    50% {
        transform: scale(1.05) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.bone-content .bone-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    z-index: 1;
    position: relative;
}

.bone-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    z-index: 1;
    position: relative;
}

.bone-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    z-index: 1;
    position: relative;
}

.bone-content .puppy-name {
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bone-actions {
    display: flex;
    gap: 1rem;
    z-index: 1;
    position: relative;
}

.bone-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.bone-btn-confirm {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.bone-btn-confirm:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.bone-btn-cancel {
    background: rgba(231, 76, 60, 0.2);
    color: white;
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.bone-btn-cancel:hover {
    background: rgba(231, 76, 60, 0.3);
    border-color: rgba(231, 76, 60, 0.5);
    transform: translateY(-2px);
}

/* Paw Print Animation */
.paw-prints {
    display: none;
}

.paw-print {
    display: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}