/* =================================================================
   UNDERGROUND FARMER - PREMIUM CONTENT STYLES
   ================================================================= */

/* Premium Password Dialog */
.premium-password-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.premium-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.premium-content {
    position: relative;
    background: linear-gradient(135deg, #2c1810 0%, #4a3426 100%);
    border: 3px solid #d4af37;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: premiumSlideIn 0.3s ease-out;
}

@keyframes premiumSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */
.premium-header {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #2c1810;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.premium-icon {
    font-size: 2em;
    margin-right: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.premium-header h3 {
    margin: 0;
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.premium-close-btn {
    background: rgba(44, 24, 16, 0.2);
    border: 2px solid #8b4513;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: #2c1810;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-close-btn:hover {
    background: rgba(139, 69, 19, 0.3);
    transform: scale(1.1);
}

/* Body */
.premium-body {
    padding: 25px;
    color: #f5deb3;
}

.premium-message {
    text-align: center;
    margin-bottom: 25px;
}

.premium-message p {
    margin: 10px 0;
    font-size: 1.1em;
    line-height: 1.4;
}

.premium-message p:first-child {
    font-weight: bold;
    color: #d4af37;
    font-size: 1.2em;
}

/* Input Group */
.premium-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.premium-password-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #8b4513;
    border-radius: 8px;
    background: rgba(245, 222, 179, 0.1);
    color: #f5deb3;
    font-size: 1em;
    transition: all 0.3s ease;
    outline: none;
}

.premium-password-input:focus {
    border-color: #d4af37;
    background: rgba(245, 222, 179, 0.2);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.premium-password-input::placeholder {
    color: rgba(245, 222, 179, 0.6);
}

.premium-submit-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    color: #2c1810;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.premium-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.premium-submit-btn:active {
    transform: translateY(0);
}

/* Error Message */
.premium-error {
    background: rgba(220, 20, 60, 0.2);
    border: 2px solid #dc143c;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    color: #ff6b6b;
    font-weight: bold;
    animation: premiumErrorShake 0.5s ease-in-out;
}

@keyframes premiumErrorShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Shake animation for input */
.premium-shake {
    animation: premiumInputShake 0.5s ease-in-out;
}

@keyframes premiumInputShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* Benefits Section */
.premium-benefits {
    background: rgba(139, 69, 19, 0.2);
    border: 2px solid #8b4513;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.premium-benefits h4 {
    margin: 0 0 15px 0;
    color: #d4af37;
    font-size: 1.2em;
    text-align: center;
}

.premium-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-benefits-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
    font-size: 1em;
    line-height: 1.4;
}

.premium-benefits-list li:last-child {
    border-bottom: none;
}

/* Footer */
.premium-footer {
    padding: 20px;
    border-top: 2px solid #8b4513;
    display: flex;
    justify-content: center;
}

.premium-cancel-btn {
    background: rgba(139, 69, 19, 0.3);
    border: 2px solid #8b4513;
    border-radius: 8px;
    padding: 10px 25px;
    color: #f5deb3;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1em;
}

.premium-cancel-btn:hover {
    background: rgba(139, 69, 19, 0.5);
    transform: translateY(-1px);
}

/* Premium Features Section for Settings */
.premium-features-section {
    background: linear-gradient(135deg, #2c1810 0%, #4a3426 100%);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

.premium-features-title {
    color: #d4af37;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.premium-features-list {
    display: grid;
    gap: 15px;
}

.premium-feature-item {
    background: rgba(139, 69, 19, 0.2);
    border: 2px solid #8b4513;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
}

.premium-feature-item:hover {
    background: rgba(139, 69, 19, 0.3);
    transform: translateY(-2px);
}

.premium-feature-icon {
    font-size: 2em;
    min-width: 50px;
    text-align: center;
}

.premium-feature-info {
    flex: 1;
}

.premium-feature-name {
    color: #d4af37;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
}

.premium-feature-desc {
    color: #f5deb3;
    font-size: 0.9em;
    line-height: 1.3;
}

.premium-status {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
}

.premium-status.unlocked {
    background: rgba(50, 205, 50, 0.2);
    border: 2px solid #32cd32;
    color: #90ee90;
}

.premium-status.locked {
    background: rgba(220, 20, 60, 0.2);
    border: 2px solid #dc143c;
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 600px) {
    .premium-content {
        width: 95%;
        margin: 20px;
    }
    
    .premium-header {
        padding: 15px;
    }
    
    .premium-header h3 {
        font-size: 1.2em;
    }
    
    .premium-body {
        padding: 20px;
    }
    
    .premium-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .premium-password-input {
        width: 100%;
    }
    
    .premium-submit-btn {
        width: 100%;
        padding: 15px;
    }
    
    .premium-features-list {
        gap: 10px;
    }
    
    .premium-feature-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .premium-feature-icon {
        font-size: 1.5em;
    }
} 