/* styles.css - Custom styles for Desire Diver */

/* Global body and theme styles */
body {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

/* Container utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    margin-bottom: 1rem;
}

h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-muted {
    color: #b0b0b0 !important;
}

/* Card components */
.card-theme {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.card-theme:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Blog specific styles */
.blog-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-title {
    color: #ff6b6b;
    margin-bottom: 15px;
}

.card-text {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Force all text in blog content to be light-colored */
.blog-card .card-text,
.blog-card .card-text *,
.blog-card .card-text p,
.blog-card .card-text h1,
.blog-card .card-text h2,
.blog-card .card-text h3,
.blog-card .card-text h4,
.blog-card .card-text h5,
.blog-card .card-text h6,
.blog-card .card-text span,
.blog-card .card-text div,
.blog-card .card-text strong,
.blog-card .card-text b,
.blog-card .card-text em,
.blog-card .card-text i,
.blog-card .card-text u,
.blog-card .card-text ul,
.blog-card .card-text ol,
.blog-card .card-text li {
    color: #e0e0e0 !important;
}

.blog-card .card-text a {
    color: #ff6b6b !important;
    text-decoration: none;
}

.blog-card .card-text a:hover {
    color: #ffa500 !important;
    text-decoration: underline;
}

/* Button styles */
.btn-theme {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-secondary-theme {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary-theme:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Form styles */
.form-theme {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
    border-radius: 10px;
    padding: 10px 15px;
}

.form-theme:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ff6b6b;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
    color: #e0e0e0;
}

.form-label {
    color: #e0e0e0;
}

/* Badge styles */
.badge-theme {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.8rem;
}

/* Progress bar */
.progress-theme {
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-bar-theme {
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    transition: width 0.3s ease;
}

/* Login/Register form styles */
.login-card, .register-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
}

/* Profile specific styles */
.profile-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.results-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.archetype-item {
    display: grid;
    grid-template-columns: 200px 1fr 80px;
    align-items: center;
    gap: 20px;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.archetype-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.archetype-name {
    font-size: 1.2rem;
    color: #ff6b6b;
}

.score-bar {
    width: 100%;
    height: 20px;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    transition: width 1s ease;
}

.score-text {
    font-weight: bold;
    color: #ffa500;
    text-align: right;
}

.no-results {
    text-align: center;
    color: #b0b0b0;
    font-style: italic;
}

/* Alert styles */
.alert-theme {
    border-radius: 10px;
    border: none;
    padding: 15px;
    margin-bottom: 20px;
}

.alert-success-theme {
    background: rgba(25, 135, 84, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.alert-danger-theme {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Kink Assessment Styles */
.kink-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.kink-title {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.kink-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.rating-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.rating-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rating-input {
    display: none;
}

.rating-label {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1.1rem;
}

.rating-input:checked + .rating-label {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    border-color: #ff6b6b;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
}

.rating-label:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

/* Role Selection Styles */
.role-selection {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.role-question {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.role-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.role-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-option:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}

.role-input {
    display: none;
}

.role-input:checked + .role-label {
    color: #ff6b6b;
    font-weight: 600;
}

.role-input:checked + .role-label::before {
    content: '✓ ';
    color: #ff6b6b;
    font-weight: bold;
}

.role-label {
    color: #e0e0e0;
    font-size: 1rem;
    cursor: pointer;
    margin: 0;
    flex: 1;
}

/* Blog Preview Styles */
.blog-preview {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.blog-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.blog-preview-img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-preview h3 {
    color: #ff6b6b;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.blog-preview p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .welcome-message {
        font-size: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .card-theme,
    .blog-card,
    .kink-card {
        padding: 20px;
    }

    .rating-container {
        gap: 5px;
    }

    .rating-label {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 0.9rem;
    }

    .role-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .role-option {
        padding: 10px 12px;
    }

    .rating-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .archetype-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .archetype-name {
        grid-column: 1;
        text-align: center;
        font-size: 1rem;
    }

    .score-bar {
        grid-column: 1;
        max-width: 400px;
        margin: 0 auto;
    }

    .score-text {
        grid-column: 1;
        text-align: center;
        font-size: 1.1rem;
    }

    .blog-preview {
        flex-direction: column;
        text-align: center;
        margin-top: 30px;
    }

    .blog-preview-img {
        width: 150px;
        height: 150px;
        max-width: 100%;
    }
}