/* ========================================
   Star Naming Feature (GLASSMORPHIC)
   ======================================== */
.star-section {
    padding: var(--spacing-xl) 0;
    max-width: 1200px;
    margin: 0 auto;
}

.star-container {
    padding: 2rem;
    position: relative;
    min-height: 700px;
    background: linear-gradient(180deg, #0a0e27 0%, #16213e 50%, #0f3460 100%);
    border-radius: 30px;
    overflow: hidden;
}

.star-field-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

.star-info-panel {
    position: relative;
    z-index: 10;
    max-width: 500px;
    margin: 0 auto;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--backdrop-blur-heavy));
    -webkit-backdrop-filter: blur(var(--backdrop-blur-heavy));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.star-info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 255, 255, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: starIconPulse 3s ease-in-out infinite;
}

@keyframes starIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
    }
}

.star-info-icon i {
    width: 40px;
    height: 40px;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 1));
}

.star-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--accent-gold), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.star-coordinates {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.star-coordinates strong {
    color: var(--accent-gold);
}

.star-dedication {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.star-zoom-btn {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 193, 7, 0.8));
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50px;
    color: #0a0e27;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
}

.star-zoom-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(255, 215, 0, 0.7);
}

.star-zoom-btn i {
    width: 24px;
    height: 24px;
}

/* ========================================
   Mood Selector Theme Changer (GLASSMORPHIC)
   ======================================== */
.mood-section {
    padding: var(--spacing-xl) 0;
    max-width: 900px;
    margin: 0 auto;
}

.mood-container {
    padding: 2rem;
}

.mood-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.mood-btn {
    padding: 2rem;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    border: 3px solid var(--glass-border);
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.mood-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mood-btn[data-mood="happy"]::before {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 193, 7, 0.3));
}

.mood-btn[data-mood="romantic"]::before {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.3), rgba(255, 107, 107, 0.3));
}

.mood-btn[data-mood="calm"]::before {
    background: linear-gradient(135deg, rgba(129, 212, 250, 0.3), rgba(156, 39, 176, 0.3));
}

.mood-btn[data-mood="excited"]::before {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(255, 215, 0, 0.3));
}

.mood-btn:hover::before,
.mood-btn.active::before {
    opacity: 1;
}

.mood-btn:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--glass-border-bright);
    box-shadow: 0 12px 48px rgba(78, 205, 196, 0.4);
}

.mood-btn.active {
    border-color: var(--accent-teal);
    box-shadow: 0 8px 32px rgba(78, 205, 196, 0.6);
}

.mood-btn i {
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.mood-btn[data-mood="happy"] i {
    color: #FFD700;
}

.mood-btn[data-mood="romantic"] i {
    color: #E91E63;
}

.mood-btn[data-mood="calm"] i {
    color: #81D4FA;
}

.mood-btn[data-mood="excited"] i {
    color: #FF6B6B;
}

.mood-btn:hover i,
.mood-btn.active i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 20px currentColor);
}

.mood-btn span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    position: relative;
    z-index: 1;
}

.mood-current {
    text-align: center;
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--text-secondary);
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 2px solid var(--glass-border);
}

/* ========================================
   Love Weather Forecast (GLASSMORPHIC)
   ======================================== */
.weather-section {
    padding: var(--spacing-xl) 0;
    max-width: 800px;
    margin: 0 auto;
}

.weather-container {
    padding: 2rem;
}

.weather-display {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--backdrop-blur-heavy));
    -webkit-backdrop-filter: blur(var(--backdrop-blur-heavy));
    border: 2px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.weather-icon-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-lg);
}

.weather-icon {
    font-size: 6rem;
    animation: weatherFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

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

.sun-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: sunRaysPulse 3s ease-in-out infinite;
}

@keyframes sunRaysPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(90deg);
        opacity: 1;
    }
}

.weather-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.weather-temp {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.weather-conditions {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 15px;
}

.weather-forecast {
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    padding: 1rem;
    border-left: 4px solid var(--accent-teal);
}

.weather-note {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

/* ========================================
   Message in a Bottle (GLASSMORPHIC)
   ======================================== */
.bottle-section {
    padding: var(--spacing-xl) 0;
    max-width: 1200px;
    margin: 0 auto;
}

.bottle-container {
    padding: 2rem;
    background: linear-gradient(180deg, rgba(135, 206, 250, 0.1) 0%, rgba(0, 105, 148, 0.1) 100%);
    border-radius: 30px;
}

.bottle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.bottle-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px) rotate(0deg);
    animation: bottleFloat 0.8s ease forwards;
}

.bottle-item:nth-child(1) { animation-delay: 0.1s; }
.bottle-item:nth-child(2) { animation-delay: 0.2s; }
.bottle-item:nth-child(3) { animation-delay: 0.3s; }
.bottle-item:nth-child(4) { animation-delay: 0.4s; }
.bottle-item:nth-child(5) { animation-delay: 0.5s; }
.bottle-item:nth-child(6) { animation-delay: 0.6s; }
.bottle-item:nth-child(7) { animation-delay: 0.7s; }
.bottle-item:nth-child(8) { animation-delay: 0.8s; }
.bottle-item:nth-child(9) { animation-delay: 0.9s; }
.bottle-item:nth-child(10) { animation-delay: 1.0s; }

@keyframes bottleFloat {
    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--bottle-rotation));
    }
}

.bottle-item:hover {
    transform: translateY(-12px) rotate(5deg) scale(1.05);
    border-color: rgba(78, 205, 196, 0.6);
    box-shadow: 0 12px 48px rgba(78, 205, 196, 0.4);
}

.bottle-item.opened {
    border-color: rgba(255, 215, 0, 0.5);
}

.bottle-icon {
    width: 60px;
    height: 60px;
    color: rgba(78, 205, 196, 0.8);
    filter: drop-shadow(0 0 15px rgba(78, 205, 196, 0.6));
    margin-bottom: 0.5rem;
    transition: all var(--transition-normal);
}

.bottle-item:hover .bottle-icon {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 0 25px rgba(78, 205, 196, 1));
}

.bottle-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Bottle Modal */
.bottle-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 1;
    transition: opacity var(--transition-normal);
}

.bottle-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.bottle-modal-content {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(0, 105, 148, 0.2));
    backdrop-filter: blur(var(--backdrop-blur-heavy));
    -webkit-backdrop-filter: blur(var(--backdrop-blur-heavy));
    border: 2px solid rgba(78, 205, 196, 0.4);
    border-radius: 30px;
    padding: 3rem;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
    animation: bottleModalSlideIn 0.5s ease;
}

@keyframes bottleModalSlideIn {
    from {
        transform: scale(0.8) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.bottle-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.bottle-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.bottle-modal-close i {
    width: 24px;
    height: 24px;
    color: white;
}

.bottle-message-display {
    text-align: center;
}

.bottle-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.3), rgba(0, 105, 148, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bottleIconBob 2s ease-in-out infinite;
}

@keyframes bottleIconBob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bottle-icon-large i {
    width: 50px;
    height: 50px;
    color: var(--accent-teal);
    filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.8));
}

.bottle-message-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bottle-message-text {
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bottle-waves {
    font-size: 2rem;
    animation: wavesMove 3s ease-in-out infinite;
}

@keyframes wavesMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .star-container {
        min-height: 600px;
    }

    .star-info-panel {
        padding: 2rem;
    }

    .star-name {
        font-size: 1.8rem;
    }

    .mood-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .mood-btn i {
        width: 40px;
        height: 40px;
    }

    .weather-icon {
        font-size: 5rem;
    }

    .weather-title {
        font-size: 1.7rem;
    }

    .weather-temp {
        font-size: 2rem;
    }

    .bottle-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }

    .bottle-modal-content {
        padding: 2rem;
    }

    .bottle-message-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .star-container {
        min-height: 500px;
    }

    .mood-buttons {
        grid-template-columns: 1fr;
    }

    .weather-icon {
        font-size: 4rem;
    }

    .bottle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .bottle-icon {
        width: 40px;
        height: 40px;
    }

    .bottle-number {
        font-size: 1.2rem;
    }
}
