/* Personal Power Assessment Styles - Mobile First No-Scroll Design */

.personal-power-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.personal-power-container {
    font-family: 'Georgia', serif;
    overflow: hidden;
    height: 100vh;
    background: #000;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.loading-spinner {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top: 3px solid #ffd700;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.1rem;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    width: 0%;
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Add at the top, replacing the old video background sections */
.video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
	/* Optimize video loading */
    preload: auto;
    /* Improve video performance */
    will-change: opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    /* Prevent video from briefly showing before fade in */
    visibility: hidden;
}

.background-video.loaded {
    visibility: visible;
}

.background-video.active {
    opacity: 1;
}

/* Elemental Circle Layout */
.elemental-circle {
    position: relative;
    width: 300px;
    height: 300px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    z-index: 10;
}

.elemental-circle.hidden {
    transform: scale(0.8) translateZ(-200px);
    opacity: 0;
    pointer-events: none;
}

.power-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 15;
}

.power-icon:hover {
    transform: scale(1.1);
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.power-icon.active {
    transform: scale(1.2);
    background: rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.6);
}

/* Position icons around circle */
.power-icon:nth-child(1) { 
    top: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
} /* Wind - Top */

.power-icon:nth-child(2) { 
    top: 45px; 
    right: -30px; 
} /* Lake - Top Right */

.power-icon:nth-child(3) { 
    bottom: 45px; 
    right: -30px; 
} /* Mountain - Bottom Right */

.power-icon:nth-child(4) { 
    bottom: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
} /* Lightning - Bottom */

.power-icon:nth-child(5) { 
    bottom: 45px; 
    left: -30px; 
} /* Fire - Bottom Left */

.power-icon:nth-child(6) { 
    top: 45px; 
    left: -30px; 
} /* Water - Top Left */

.icon-symbol {
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

/* Center Display */
.center-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(255, 215, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(25px);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3), inset 0 0 30px rgba(255, 215, 0, 0.1);
    z-index: 12;
}

.center-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

.center-title {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    line-height: 1.3;
}

/* Assessment Interface */
.assessment-interface {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s ease;
    padding: 0;
    z-index: 20;
}

.assessment-interface.active {
    opacity: 1;
    pointer-events: all;
}

.dimension-assessment {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
		    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, transparent 70%);
}

.dimension-title {
    font-size: 1.4rem;
    color: #ffd700;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
	background: rgba(0,0,0,0.4);
    padding: 10px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Vertical Scale Layout */
.vertical-scale {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;
    gap: 15px;
}

.scale-row {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 90%;
    min-height: 60px;
}

.scale-row.center-row {
    min-height: 80px;
}

.scale-description {
    flex: 1 1 0;
    padding: 0 15px;
    min-width: 120px;
    max-width: 40%;
}

.scale-description.left {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.scale-description.right {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.description-title {
    font-size: 1rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
	padding: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
	background: rgba(0,0,0,0.6);
    padding: 10px !important;
    border-radius: 8px;
    backdrop-filter: blur(10px) !important;
}

.description-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 1);
    line-height: 1.3;
    max-width: 200px;
    word-wrap: break-word;
	background: rgba(0,0,0,0.6);
    padding: 10px !important;
    border-radius: 8px;
    backdrop-filter: blur(10px) !important;
}

.scale-selector {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    min-width: 70px;
}

.scale-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.scale-circle:hover {
    transform: scale(1.1);
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.1);
}

.scale-circle.selected {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: scale(1.2);
}

.scale-circle.center {
    width: 60px;
    height: 60px;
    border-width: 3px;
}

.scale-circle.intermediary {
    width: 45px;
    height: 45px;
    opacity: 0.9;
}

.circle-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.scale-circle.center .circle-icon {
    font-size: 1.8rem;
}

.scale-circle.intermediary .circle-icon {
    font-size: 1.2rem;
}

/* Connecting lines between circles */
.scale-row:not(:last-child)::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.1));
    left: 50%;
    transform: translateX(-50%);
    margin-top: 60px;
    z-index: 5;
}

/* Bottom Navigation Bar */
.bottom-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}

.nav-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    min-width: 120px;
}

.nav-btn.primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
}

.nav-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(15px);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    max-width: 90%;
    width: 400px;
    color: white;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal h2 {
    color: #ffd700;
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.context-select {
    margin: 20px 0;
    text-align: left;
}

.context-select label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffd700;
    font-size: 0.9rem;
}

.context-select select {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.context-select select option {
    background: #1a1a2e;
    color: white;
}

.notes-section {
    margin: 20px 0;
    text-align: left;
}

.notes-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffd700;
    font-size: 0.9rem;
}

.notes-section textarea {
    width: 100%;
    height: 80px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
    resize: vertical;
    font-family: inherit;
    backdrop-filter: blur(10px);
}

.notes-section textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.modal-button {
    padding: 12px 24px;
    border: none;
    border-radius: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.modal-button.primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.modal-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-button:hover {
    transform: translateY(-2px);
}

.modal-button.primary:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Results Display */
.results-display {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 200;
    backdrop-filter: blur(25px);
    padding: 20px;
    text-align: center;
}

.results-display h2 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.results-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    max-width: 90%;
    backdrop-filter: blur(15px);
}

.dimension-result {
    margin: 15px 0;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.1);
}

.dimension-result h4 {
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 1rem;
}

.dimension-result .score {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 5px 0;
}

.dimension-result .description {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.4;
}

.results-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-button {
    padding: 12px 24px;
    border: none;
    border-radius: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.action-button.primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.action-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.action-button:hover {
    transform: translateY(-2px);
}

.action-button.primary:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .elemental-circle {
        width: 260px;
        height: 260px;
    }
    
    .power-icon {
        width: 50px;
        height: 50px;
    }
    
    .icon-symbol {
        font-size: 20px;
    }
    
    .center-display {
        width: 140px;
        height: 140px;
    }
    
    .center-icon {
        font-size: 1.5rem;
    }
    
    .center-title {
        font-size: 0.9rem;
    }
    
    .dimension-title {
        font-size: 1.2rem;
        margin-bottom: 30px;
		padding: 10px !important;
    }
    
    .vertical-scale {
        height: 50vh;
        gap: 12px;
    }
    
    .scale-row {
        min-height: 50px;
    }
    
    .scale-circle {
        width: 40px;
        height: 40px;
    }
    
    .scale-circle.center {
        width: 50px;
        height: 50px;
    }
    
    .scale-circle.intermediary {
        width: 35px;
        height: 35px;
    }
    
    .circle-icon {
        font-size: 1.2rem;
    }
    
    .scale-circle.center .circle-icon {
        font-size: 1.5rem;
    }
    
    .bottom-nav-bar {
        padding: 15px;
    }
    
    .nav-btn {
        padding: 12px 20px;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .modal-content {
        padding: 25px 20px;
        max-width: 95%;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-button {
        width: 100%;
    }
}/* Personal Power Assessment Styles - Mobile First No-Scroll Design */

.personal-power-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.personal-power-container {
    font-family: 'Georgia', serif;
    overflow: hidden;
    height: 100vh;
    background: #000;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Updated CSS for crossfade support */

.video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0;
    /* Remove transition since we're using jQuery animate for crossfade */
    /* transition: opacity 0.8s ease; */
}

.background-video.active {
    opacity: 0.5;
}

/* Elemental Circle Layout */
.elemental-circle {
    position: relative;
    width: 300px;
    height: 300px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    z-index: 10;
}

.elemental-circle.hidden {
    transform: scale(0.8) translateZ(-200px);
    opacity: 0;
    pointer-events: none;
}

.power-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 15;
}

.power-icon:hover {
    transform: scale(1.1);
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.power-icon.active {
    transform: scale(1.2);
    background: rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.6);
}

/* Position icons around circle */
.power-icon:nth-child(1) { 
    top: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
} /* Wind - Top */

.power-icon:nth-child(2) { 
    top: 45px; 
    right: -30px; 
} /* Lake - Top Right */

.power-icon:nth-child(3) { 
    bottom: 45px; 
    right: -30px; 
} /* Mountain - Bottom Right */

.power-icon:nth-child(4) { 
    bottom: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
} /* Lightning - Bottom */

.power-icon:nth-child(5) { 
    bottom: 45px; 
    left: -30px; 
} /* Fire - Bottom Left */

.power-icon:nth-child(6) { 
    top: 45px; 
    left: -30px; 
} /* Water - Top Left */

.icon-symbol {
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

/* Center Display */
.center-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(255, 215, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(25px);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3), inset 0 0 30px rgba(255, 215, 0, 0.1);
    z-index: 12;
}

.center-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    line-height: 1.3;
}

.dimension-assessment {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dimension-title {
    font-size: 1.4rem;
    color: #ffd700;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Horizontal Scale Layout */
.horizontal-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 60vh;
}

.scale-left,
.scale-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 0 10px;
}

.scale-center {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scale-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    min-height: 120px;
    justify-content: center;
}

.scale-option:hover {
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.1);
}

.scale-option.selected {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
}

.scale-option.center {
    min-height: 150px;
    width: 150px;
    border-radius: 50%;
    border-width: 3px;
}

.scale-option.intermediary {
    min-height: 100px;
    opacity: 0.9;
}

.scale-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.scale-option.center .scale-icon {
    font-size: 2.5rem;
}

.scale-option.intermediary .scale-icon {
    font-size: 1.5rem;
}

.scale-label {
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    line-height: 1.2;
}

.scale-option.center .scale-label {
    font-size: 1rem;
}

.scale-option.intermediary .scale-label {
    font-size: 0.8rem;
}

.scale-description {
    font-size: 0.7rem;
    text-align: center;
    opacity: 0.7;
    line-height: 1.3;
    color: rgba(255, 255, 255, 1);
    max-width: 200px;
}

.scale-option.center .scale-description {
    font-size: 0.8rem;
    max-width: 140px;
}

/* Bottom Navigation Bar */
.bottom-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}

.nav-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    min-width: 120px;
}

.nav-btn.primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
}

.nav-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(15px);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    max-width: 90%;
    width: 400px;
    color: white;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal h2 {
    color: #ffd700;
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.context-select {
    margin: 20px 0;
    text-align: left;
}

.context-select label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffd700;
    font-size: 0.9rem;
}

.context-select select {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.context-select select option {
    background: #1a1a2e;
    color: white;
}

.notes-section {
    margin: 20px 0;
    text-align: left;
}

.notes-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffd700;
    font-size: 0.9rem;
}

.notes-section textarea {
    width: 100%;
    height: 80px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
    resize: vertical;
    font-family: inherit;
    backdrop-filter: blur(10px);
}

.notes-section textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.modal-button {
    padding: 12px 24px;
    border: none;
    border-radius: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.modal-button.primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.modal-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-button:hover {
    transform: translateY(-2px);
}

.modal-button.primary:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Results Display */
.results-display {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 200;
    backdrop-filter: blur(25px);
    padding: 20px;
    text-align: center;
}

.results-display h2 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.results-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    max-width: 90%;
    backdrop-filter: blur(15px);
}

.dimension-result {
    margin: 15px 0;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.1);
}

.dimension-result h4 {
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 1rem;
}

.dimension-result .score {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 5px 0;
}

.dimension-result .description {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.4;
}

.results-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-button {
    padding: 12px 24px;
    border: none;
    border-radius: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.action-button.primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.action-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.action-button:hover {
    transform: translateY(-2px);
}

.action-button.primary:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .elemental-circle {
        width: 260px;
        height: 260px;
    }
    
    .power-icon {
        width: 50px;
        height: 50px;
    }
    
    .icon-symbol {
        font-size: 20px;
    }
    
    .center-display {
        width: 140px;
        height: 140px;
    }
    
    .center-title {
        font-size: 1rem;
    }
    
    .dimension-title {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .horizontal-scale {
        height: 50vh;
    }
    
    .scale-option {
        min-height: 100px;
        padding: 10px;
    }
    
    .scale-option.center {
        min-height: 120px;
        width: 120px;
    }
    
    .scale-option.intermediary {
        min-height: 80px;
    }
    
    .scale-icon {
        font-size: 1.5rem;
    }
    
    .scale-option.center .scale-icon {
        font-size: 2rem;
    }
    
    .scale-label {
        font-size: 0.8rem;
    }
    
    .scale-description {
        font-size: 0.65rem;
        max-width: 100px;
    }
    
    .bottom-nav-bar {
        padding: 15px;
    }
    
    .nav-btn {
        padding: 12px 20px;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .modal-content {
        padding: 25px 20px;
        max-width: 95%;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-button {
        width: 100%;
    }
}