/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    background-color: #F6AE28;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Efecto de grano/textura */
body:after {
    animation: grain 8s steps(10) infinite;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    content: "";
    height: 300%;
    width: 300%;
    left: -100%;
    top: -110%;
    opacity: 0.8;
    position: fixed;
    mix-blend-mode: multiply;
    z-index: 1;
}

@keyframes grain {
    0%, 100% { transform:translate(0, 0) }
    10% { transform:translate(-5%, -10%) }
    20% { transform:translate(-15%, 5%) }
    30% { transform:translate(5%, -25%) }
    40% { transform:translate(-5%, 25%) }
    50% { transform:translate(-15%, 10%) }
    60% { transform:translate(15%, 0%) }
    70% { transform:translate(0%, 15%) }
    80% { transform:translate(5%, 35%) }
    90% { transform:translate(-10%, 10%) }
}

/* Borde morado alrededor de toda la página */
.page-border {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 25px solid #4A235A;
    pointer-events: none;
    z-index: 2;
}

/* Contenedor principal */
.main-container {
    position: relative;
    z-index: 3;
    padding: 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Título principal */
.main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.title-astrology {
    font-size: 72px;
    font-weight: 700;
    color: #000;
    text-transform: lowercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.title-club {
    background: #4A235A;
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    font-size: 72px;
    font-weight: 700;
    position: relative;
    text-transform: lowercase;
    letter-spacing: -2px;
}

.sparkle {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Texto descriptivo */
.description {
    text-align: center;
    font-size: 18px;
    color: #000;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* Botón CTA */
.cta-button {
    background: #000;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin: 0 auto 80px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.cta-button:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Estrellas decorativas SVG */
.decorative-stars-svg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.star-svg {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.1));
}

.star-svg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.star-1 {
    top: 15%;
    left: 10%;
    width: 120px;
    height: 120px;
    --rotation: -15deg;
    transform: rotate(-15deg);
}

.star-2 {
    top: 35%;
    left: 8%;
    width: 100px;
    height: 100px;
    --rotation: -25deg;
    transform: rotate(-25deg);
}

.star-3 {
    top: 20%;
    right: 15%;
    width: 120px;
    height: 120px;
    --rotation: 20deg;
    transform: rotate(20deg);
}

.star-4 {
    bottom: 20%;
    left: 15%;
    width: 90px;
    height: 90px;
    --rotation: 45deg;
    transform: rotate(45deg);
}

.star-5 {
    top: 50%;
    right: 10%;
    width: 80px;
    height: 80px;
    --rotation: -10deg;
    transform: translateX(-50%) rotate(-10deg);
}

.star-6 {
    bottom: 10%;
    right: 20%;
    width: 100px;
    height: 100px;
    --rotation: 15deg;
    transform: translateX(-50%) rotate(15deg);
}

.star-7 {
    top: 50%;
    left: 5%;
    width: 70px;
    height: 70px;
    --rotation: -30deg;
    transform: translateY(-50%) rotate(-30deg);
}

.star-8 {
    top: 50%;
    right: 5%;
    width: 85px;
    height: 85px;
    --rotation: 25deg;
    transform: translateY(-50%) rotate(25deg);
}

.star-9 {
    top: 5%;
    left: 30%;
    width: 60px;
    height: 60px;
    --rotation: -45deg;
    transform: rotate(-45deg);
}

.star-10 {
    bottom: 5%;
    right: 25%;
    width: 75px;
    height: 75px;
    --rotation: 60deg;
    transform: rotate(60deg);
}

/* Efectos hover para las estrellas */
.star-svg:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.2));
}

/* Animaciones para las estrellas */
.star-1, .star-3, .star-5, .star-7, .star-9 {
    animation: twinkle 4s ease-in-out infinite;
}

.star-2, .star-4, .star-6, .star-8, .star-10 {
    animation: twinkle 4s ease-in-out infinite 2s;
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1) rotate(var(--rotation));
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.05) rotate(calc(var(--rotation) + 5deg));
    }
}

/* Estrellas decorativas */
.decorative-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.star-small {
    position: absolute;
    font-size: 20px;
    animation: float 6s ease-in-out infinite;
}

/* Estrellas moradas (izquierda) */
.star-purple {
    color: #5A1F5A;
}

.star-purple:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.star-purple:nth-child(2) {
    top: 50%;
    left: 25%;
    animation-delay: 1s;
}

/* Estrellas teal (izquierda y derecha) */
.star-teal {
    color: #16919C;
}

.star-teal:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.star-teal:nth-child(4) {
    top: 25%;
    right: 20%;
    animation-delay: 0.5s;
}

/* Estrellas naranjas (derecha) */
.star-orange {
    color: #E65100;
}

.star-orange:nth-child(5) {
    top: 55%;
    right: 25%;
    animation-delay: 1.5s;
}

.star-orange:nth-child(6) {
    bottom: 25%;
    right: 15%;
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        padding: 20px;
    }
    
    .title-astrology, .title-club {
        font-size: 48px;
    }
    
    .description {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 14px;
        margin-bottom: 60px;
    }
    
    .card {
        transform: scale(0.7) !important;
    }
}

@media (max-width: 480px) {
    .title-astrology, .title-club {
        font-size: 36px;
    }
    
    .title-club {
        padding: 15px 20px;
    }
    
    .description {
        font-size: 14px;
    }
}