/* Packs Page Specific Styles */
:root {
    --landing-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-glow: rgba(0, 255, 204, 0.3);
    --hero-height: 70vh;
    --header-offset: 92px;
}

/* Premium Hero Section for Packs */
.hero-section {
    position: relative;
    min-height: var(--hero-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at top left, rgba(123, 92, 255, 0.16) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(77, 232, 255, 0.13) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f172a 100%);
    margin-top: var(--header-offset);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(123, 92, 255, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 75% 75%, rgba(77, 232, 255, 0.09) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(255, 57, 210, 0.07) 0%, transparent 40%);
    animation: auroraFloat 25s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(77, 232, 255, 0.36), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(123, 92, 255, 0.34), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 57, 210, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.2), transparent);
    background-size: 550px 550px, 350px 350px, 250px 250px, 450px 450px, 300px 300px;
    background-position: 0% 0%, 20% 20%, 40% 40%, 60% 60%, 80% 80%;
    animation: sparkleMove 120s linear infinite;
    pointer-events: none;
}

@keyframes auroraFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
}

@keyframes sparkleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -100px); }
}

.hero-background-video,
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #4de8ff 30%, #7b5cff 68%, #ff39d2 90%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(123, 92, 255, 0.28);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    background: linear-gradient(135deg, #4de8ff 0%, #7b5cff 52%, #ff39d2 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(123, 92, 255, 0.32);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(123, 92, 255, 0.44);
    background: linear-gradient(135deg, #55dcff 0%, #8d6dff 52%, #ff4dd7 100%);
}

.hero-edit-bottom {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root { --header-offset: 78px; --hero-height: 60vh; }
    .hero-content { padding: 1rem; }
    .hero-section h1 { margin-bottom: 0.8rem; }
    .hero-content p { margin-bottom: 1.5rem; font-size: 1rem; }
    .btn-hero { padding: 0.9rem 2rem; font-size: 0.95rem; }
    
    /* Fix hero background image for mobile */
    .hero-background-image {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 480px) {
    :root { --header-offset: 70px; --hero-height: 55vh; }
    .hero-content { padding: 0.8rem; }
    .btn-hero { padding: 0.8rem 1.8rem; font-size: 0.9rem; }
    
    /* Enhanced mobile background image fix */
    .hero-background-image {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
}
