/* Home Page Specific Styles */

/* Particles System */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: float 8s linear infinite;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

/* Main container centering */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding: 0 2rem;
}

#hero h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    color: white;
    margin-bottom: 1rem;
}

#hero p {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

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

.actions a {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(0.8rem, 2vw, 1rem);
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.actions a.primary {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border-color: #FFD700;
}

.actions a:not(.primary) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.actions a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.actions a:hover::before {
    left: 100%;
}

.actions a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.actions a.primary:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.actions a:not(.primary):hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Pokemon of the Day Card */
.pokemon-of-day-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pokemon-of-day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.pokemon-of-day-card:hover::before {
    left: 100%;
}

.pokemon-of-day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.view-pokedex-link {
    display: inline-block;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: #FFD700;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid #FFD700;
    border-radius: 15px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 215, 0, 0.1);
}

.view-pokedex-link:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 0 1rem;
        min-height: calc(100vh - 70px);
    }
    
    #hero {
        padding: 2.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    #hero h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 0.8rem;
    }
    
    #hero p {
        font-size: clamp(0.8rem, 2.5vw, 1.2rem);
        margin-bottom: 1.5rem;
    }
    
    .actions {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .actions a {
        padding: 0.8rem 1.5rem;
        font-size: clamp(0.7rem, 2.2vw, 0.9rem);
    }
    
    .pokemon-of-day-card {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
        max-width: 350px;
    }
    
    .pokemon-of-day-card h2 {
        font-size: clamp(1.2rem, 3vw, 1.4rem) !important;
        margin-bottom: 0.8rem !important;
    }
    
    .pokemon-of-day-card img {
        width: 100px !important;
        height: auto !important;
    }
    
    .view-pokedex-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 0.8rem;
    }
    
    #hero {
        padding: 2rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    #hero h1 {
        font-size: clamp(1.3rem, 3.5vw, 2rem);
        margin-bottom: 0.6rem;
    }
    
    #hero p {
        font-size: clamp(0.75rem, 2.3vw, 1rem);
        margin-bottom: 1.2rem;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .actions a {
        width: 100%;
        max-width: 220px;
        text-align: center;
        padding: 0.7rem 1.2rem;
        font-size: clamp(0.65rem, 2vw, 0.8rem);
    }
    
    .pokemon-of-day-card {
        margin: 1rem 0.8rem;
        padding: 1.2rem;
        max-width: 300px;
    }
    
    .pokemon-of-day-card h2 {
        font-size: clamp(1rem, 2.8vw, 1.2rem) !important;
        margin-bottom: 0.6rem !important;
    }
    
    .pokemon-of-day-card img {
        width: 80px !important;
        height: auto !important;
    }
    
    .pokemon-of-day-card div {
        font-size: clamp(0.9rem, 2.5vw, 1rem) !important;
        margin-bottom: 0.2rem !important;
    }
    
    .view-pokedex-link {
        padding: 0.6rem 1rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    #hero {
        padding: 1.5rem 0.6rem;
        margin-bottom: 1rem;
    }
    
    #hero h1 {
        font-size: clamp(1.1rem, 3vw, 1.6rem);
    }
    
    #hero p {
        font-size: clamp(0.7rem, 2vw, 0.9rem);
    }
    
    .actions a {
        max-width: 200px;
        padding: 0.6rem 1rem;
        font-size: clamp(0.6rem, 1.8vw, 0.75rem);
    }
    
    .pokemon-of-day-card {
        margin: 0.8rem 0.6rem;
        padding: 1rem;
        max-width: 280px;
    }
    
    .pokemon-of-day-card h2 {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
    }
    
    .pokemon-of-day-card img {
        width: 70px !important;
    }
    
    .view-pokedex-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.6rem;
    }
} 