/* Clues page styles */
.clues-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.clues-page .main-content {
    padding-top: 120px;
    position: relative;
    z-index: 2;
}

/* Page title styles */
.text-gradient {
    background: linear-gradient(45deg, #64ffda, #00bcd4, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
}

/* Statistics card styles */
.stats-card {
    background: rgba(13, 27, 42, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: left 0.5s ease;
}

.stats-card:hover::before {
    left: 100%;
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.4);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
}

.stats-icon {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.5);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.stats-label {
    color: #b0bec5;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form container styles */
.clue-form-container {
    background: rgba(13, 27, 42, 0.9);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.clue-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #64ffda, #00bcd4, #4fc3f7);
    opacity: 0.8;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.form-header h3 {
    color: #64ffda;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.form-header p {
    color: #b0bec5;
    margin: 0;
}

/* Form styles */
.form-label {
    color: #64ffda;
    font-weight: 500;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

.form-control {
    background: rgba(13, 27, 42, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 10px;
    color: #ffffff;
    padding: 12px 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-control:focus {
    background: rgba(13, 27, 42, 0.9);
    border-color: #64ffda;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    color: #ffffff;
}

.form-control::placeholder {
    color: #78909c;
}

.form-text {
    color: #90a4ae;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Character count styles */
#char-count {
    color: #64ffda;
    font-weight: 600;
}

/* Submit button styles */
.submit-btn {
    background: linear-gradient(45deg, #64ffda, #00bcd4);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover .btn-glow {
    left: 100%;
}

/* Information panel styles */
.info-panel {
    background: rgba(13, 27, 42, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.info-panel h4 {
    color: #64ffda;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.info-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 2rem;
    color: #64ffda;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.4);
}

.info-item h6 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-item p {
    color: #b0bec5;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Alert box styles */
.alert {
    border: none;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #a5d6a7;
}

.alert-danger {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ef9a9a;
}

/* Form validation styles */
.is-invalid {
    border-color: #f44336 !important;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.3) !important;
}

.invalid-feedback {
    color: #ef9a9a;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Responsive design */
@media (max-width: 768px) {
    .clues-page .main-content {
        padding-top: 100px;
    }
    
    .clue-form-container {
        padding: 25px;
        margin: 0 15px;
    }
    
    .stats-card {
        margin-bottom: 20px;
    }
    
    .info-panel {
        padding: 20px;
        margin: 0 15px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .stats-icon {
        font-size: 2rem;
    }
    
    .clue-form-container {
        padding: 20px;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-card,
.clue-form-container,
.info-panel {
    animation: fadeInUp 0.6s ease-out;
}

.stats-card:nth-child(2) {
    animation-delay: 0.1s;
}

.stats-card:nth-child(3) {
    animation-delay: 0.2s;
}

.clue-form-container {
    animation-delay: 0.3s;
}

.info-panel {
    animation-delay: 0.4s;
}

/* Loading animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

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