/* Horoscope Wheel Styles */
.horoscope-page {
    background-color: #0c0c1e;
    color: white;
}

.horoscope-header {
    background: linear-gradient(135deg, #6e48aa, #9d50bb);
    padding: 2.5rem 0;
}

#zodiac-section {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-bottom: 3rem;
}

.zodiac-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.zodiac-sign {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.zodiac-sign:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.zodiac-sign:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.zodiac-sign:hover:before {
    opacity: 1;
}

.zodiac-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.zodiac-sign p {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.date-range {
    font-size: 0.8rem;
    opacity: 0.7;
}

.horoscope-sign-display {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.large-icon {
    font-size: 3.5rem;
    margin-right: 1rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #6e48aa, #9d50bb);
}

#horoscope-wheel-section {
    text-align: center;
    margin-bottom: 3rem;
}

#horoscope-wheel-section.hidden {
    display: none;
}

#selected-sign {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #9d50bb;
    font-weight: bold;
}

#horoscope-result {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

#horoscope-result.hidden {
    display: none;
}

.horoscope-content {
    text-align: left;
    margin-bottom: 2rem;
}

#horoscope-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.lucky-numbers {
    margin-bottom: 1.5rem;
}

.lucky-numbers h4, .compatibility h4 {
    color: #9d50bb;
    margin-bottom: 0.8rem;
}

#lucky-numbers-container {
    display: flex;
    gap: 1rem;
}

.lucky-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6e48aa, #9d50bb);
    border-radius: 50%;
    font-weight: bold;
}

.result-actions {
    margin-top: 2rem;
}

.result-actions button {
    background-color: #6e48aa;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    margin-right: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.result-actions button:hover {
    background-color: #9d50bb;
}

.return-link {
    display: inline-block;
    margin-top: 1rem;
    color: #9d50bb;
    text-decoration: none;
}

.return-link:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .zodiac-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    #horoscope-result {
        padding: 1.5rem;
    }
    
    .horoscope-sign-display {
        flex-direction: column;
        text-align: center;
    }
    
    .large-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .result-actions button {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .zodiac-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Fix wheel container display */
#wheel-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Style the wheel canvas to fill the container */
#horoscope-wheel-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Style the wheel marker */
#wheel-marker {
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
    background: linear-gradient(90deg, rgba(110,72,170,0.8) 0%, #9d50bb 100%);
    border-radius: 10px 0 0 10px;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.4);
    z-index: 10;
    border: 2px solid white;
    border-right: none;
    animation: pulse-marker-cosmic 1.5s infinite alternate;
}

#wheel-marker::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #9d50bb;
}

/* Add a cosmic pulsing animation for the marker */
@keyframes pulse-marker-cosmic {
    0% { box-shadow: -3px 0 15px rgba(0, 0, 0, 0.4); }
    100% { box-shadow: -3px 0 25px rgba(157, 80, 187, 0.9), 0 0 30px rgba(157, 80, 187, 0.5); }
}

/* Add star-like pointer */
#wheel-marker::before {
    content: '';
    position: absolute;
    right: 50px;
    top: 50%;
    width: 120px;
    height: 4px;
    background-image: linear-gradient(90deg, #9d50bb 50%, transparent 50%);
    background-size: 15px 4px;
    transform: translateY(-50%);
}

/* Add a star at the end of the dotted line for extra visibility */
.wheel-pointer-star {
    position: absolute;
    right: 170px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 20px;
    text-shadow: 0 0 10px #9d50bb;
    animation: star-pulse 1s infinite alternate;
    z-index: 5;
}

@keyframes star-pulse {
    0% { transform: translateY(-50%) scale(1); text-shadow: 0 0 10px #9d50bb; }
    100% { transform: translateY(-50%) scale(1.2); text-shadow: 0 0 20px #9d50bb; }
}

/* Improve the spin button styling for the horoscope wheel */
.horoscope-page #spin-button {
    background: linear-gradient(135deg, #6e48aa, #9d50bb);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(158, 80, 187, 0.5);
    margin-top: 1.5rem;
}

.horoscope-page #spin-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(158, 80, 187, 0.6);
}

.horoscope-page #spin-button:disabled {
    background: #666;
    cursor: not-allowed;
    transform: scale(1);
    box-shadow: none;
}

/* Add glowing effect for the wheel */
@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(158, 80, 187, 0.5); }
    50% { box-shadow: 0 0 30px rgba(158, 80, 187, 0.8); }
    100% { box-shadow: 0 0 10px rgba(158, 80, 187, 0.5); }
}

/* Big return link to main page */
.return-to-main {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: rgba(110, 72, 170, 0.9);
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.return-to-main:hover {
    transform: translateY(-3px);
    background-color: rgba(157, 80, 187, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.return-to-main a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.return-arrow {
    font-size: 1.5rem;
    margin-right: 8px;
}

/* Make the return link responsive */
@media (max-width: 600px) {
    .return-text {
        display: none;
    }
    
    .return-arrow {
        font-size: 1.8rem;
        margin-right: 0;
    }
    
    .return-to-main {
        padding: 8px 12px;
    }
}

/* Product Recommendations Section */
.product-recommendations {
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-recommendations.hidden {
    display: none;
}

.product-recommendations h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #9d50bb;
    text-align: center;
}

.recommendations-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

#recommendation-category {
    color: #9d50bb;
    font-weight: bold;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
}

.product-details {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price {
    font-weight: bold;
    color: #9d50bb;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.product-cta {
    background: linear-gradient(135deg, #6e48aa, #9d50bb);
    color: white;
    border: none;
    padding: 0.7rem 0;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.product-cta:hover {
    background: linear-gradient(135deg, #9d50bb, #6e48aa);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for product recommendations */
@media (max-width: 768px) {
    .products-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 480px) {
    .products-container {
        grid-template-columns: 1fr;
    }
}

/* Advertisement section styling */
#advertise-with-us {
    margin: 4rem 0;
    padding: 0 2rem;
}

.advertise-container {
    background: linear-gradient(135deg, rgba(110, 72, 170, 0.2), rgba(157, 80, 187, 0.3));
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.advertise-content {
    flex: 2;
    z-index: 2;
}

.advertise-content h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.advertise-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.advertise-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #6e48aa, #9d50bb);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(110, 72, 170, 0.3);
}

.advertise-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(110, 72, 170, 0.5);
}

.advertise-button span {
    margin-right: 8px;
}

.advertise-graphic {
    flex: 1;
    position: relative;
    min-height: 150px;
}

.ad-star {
    position: absolute;
    color: white;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(157, 80, 187, 0.8);
    animation: float 3s infinite ease-in-out;
}

.star1 {
    top: 20%;
    right: 30%;
    font-size: 2rem;
    animation-delay: 0s;
}

.star2 {
    top: 50%;
    right: 10%;
    font-size: 3rem;
    animation-delay: 0.5s;
}

.star3 {
    top: 70%;
    right: 40%;
    font-size: 1.5rem;
    animation-delay: 1s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .advertise-container {
        flex-direction: column;
        text-align: center;
    }
    
    .advertise-content {
        margin-bottom: 2rem;
    }
    
    .advertise-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .advertise-graphic {
        min-height: 100px;
        width: 100%;
    }
} 