@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

.mwf-wheel-of-year-container {
    margin: 2rem auto;
    padding: 2rem;
    background: transparent;
    border-radius: 8px;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mwf-wheel-of-year-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: none;
    pointer-events: none;
    opacity: 0;
    border-radius: 8px;
}

.mwf-wheel-of-year-container svg {
    width: 96%;
    height: 96%;
    filter: drop-shadow(0 0 40px rgba(180,120,40,0.3));
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mwf-wheel-of-year-container {
        padding: 1rem;
    }
}

/* Modal Styles */
.wheel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 200px 20px 20px 20px;
}

/* Left-aligned modal for festivals */
.wheel-modal.modal-left {
    justify-content: flex-start;
    padding-left: 40px;
}

.wheel-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.wheel-modal-content {
    position: relative;
    background: #213b2e;
    border: 2px solid #d4af37;
    border-radius: 8px;
    max-width: 700px;
    width: 90%;
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
    z-index: 10001;
}

.wheel-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: #d4af37;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.wheel-modal-close:hover {
    color: #FFD700;
    transform: scale(1.2);
}

.wheel-modal-body {
    padding: 40px;
    color: #ffffff;
}

.wheel-modal-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 80px;
    height: 80px;
    opacity: 0.9;
}

.wheel-modal-body h2 {
    font-family: 'Cinzel Decorative', serif;
    color: #d4af37;
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    line-height: 1.4;
}

.modal-main-title {
    font-size: 32px;
    font-weight: 700;
    display: block;
}

.modal-subtitle {
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: #c9922a;
    display: block;
    margin-top: 8px;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h3 {
    font-family: 'Cinzel Decorative', serif;
    color: #FFD700;
    font-size: 18px;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-section p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    color: #e8e8e8;
}

.modal-attribution {
    font-size: 12px;
    color: #c9922a;
    font-style: italic;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(212, 175, 55, 0.1);
    border-left: 2px solid #c9922a;
    line-height: 1.5;
}

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

.modal-themes-list li {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    color: #e8e8e8;
    padding: 6px 0 6px 20px;
    position: relative;
    line-height: 1.5;
}

.modal-themes-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
    .wheel-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .wheel-modal-body {
        padding: 30px 20px;
    }
    
    .modal-main-title {
        font-size: 24px;
    }
    
    .modal-subtitle {
        font-size: 16px;
    }
    
    .modal-section h3 {
        font-size: 16px;
    }
    
    .modal-section p {
        font-size: 15px;
    }
    
    /* Center modal on mobile even if it's left-aligned on desktop */
    .wheel-modal.modal-left {
        justify-content: center;
        padding-left: 20px;
    }
}
