/*
Theme Name: BFF Quizzes
Theme URI: https://bffquizzes.com
Description: Custom theme for BFF Quizzes with modern quiz grid layout
Author: BFF Quizzes
Author URI: https://bffquizzes.com
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress-child
*/

/* ========================================
   Quiz Archive Grid Layout
   ======================================== */

/* Grid Container for Quiz Archives */
.post-type-archive-hwykm_quiz .inside-article,
.tax-hwykm_quiz_category .inside-article {
    display: grid;
    grid-template-areas:
        "image"
        "header"
        "summary";
    gap: 0;
}

/* Modern Grid Layout - 3 columns on desktop */
@media (min-width: 769px) {
    .post-type-archive-hwykm_quiz .site-main,
    .tax-hwykm_quiz_category .site-main {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
        padding: 20px 0;
    }
}

/* 2 columns on tablet */
@media (min-width: 480px) and (max-width: 768px) {
    .post-type-archive-hwykm_quiz .site-main,
    .tax-hwykm_quiz_category .site-main {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 15px 0;
    }
}

/* Single column on mobile */
@media (max-width: 479px) {
    .post-type-archive-hwykm_quiz .site-main,
    .tax-hwykm_quiz_category .site-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px 0;
    }
}

/* Quiz Card Styling */
.post-type-archive-hwykm_quiz article,
.tax-hwykm_quiz_category article {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-type-archive-hwykm_quiz article:hover,
.tax-hwykm_quiz_category article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Inside Article Container */
.post-type-archive-hwykm_quiz .inside-article,
.tax-hwykm_quiz_category .inside-article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image Container */
.post-type-archive-hwykm_quiz .post-image,
.tax-hwykm_quiz_category .post-image {
    grid-area: image;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin: 0;
}

.post-type-archive-hwykm_quiz .post-image img,
.tax-hwykm_quiz_category .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-type-archive-hwykm_quiz article:hover .post-image img,
.tax-hwykm_quiz_category article:hover .post-image img {
    transform: scale(1.05);
}

/* Header / Title Section */
.post-type-archive-hwykm_quiz .entry-header,
.tax-hwykm_quiz_category .entry-header {
    grid-area: header;
    padding: 20px 20px 10px;
    margin: 0;
}

.post-type-archive-hwykm_quiz .entry-title,
.tax-hwykm_quiz_category .entry-title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
}

.post-type-archive-hwykm_quiz .entry-title a,
.tax-hwykm_quiz_category .entry-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-type-archive-hwykm_quiz .entry-title a:hover,
.tax-hwykm_quiz_category .entry-title a:hover {
    color: #0066cc;
}

/* Summary / Excerpt Section */
.post-type-archive-hwykm_quiz .entry-summary,
.tax-hwykm_quiz_category .entry-summary {
    grid-area: summary;
    padding: 0 20px 20px;
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-type-archive-hwykm_quiz .entry-summary p,
.tax-hwykm_quiz_category .entry-summary p {
    margin: 0 0 10px 0;
    flex-grow: 1;
}

/* Read More Link Styling */
.post-type-archive-hwykm_quiz .read-more,
.tax-hwykm_quiz_category .read-more {
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    transition: color 0.2s ease;
}

.post-type-archive-hwykm_quiz .read-more:hover,
.tax-hwykm_quiz_category .read-more:hover {
    color: #004a99;
}

.post-type-archive-hwykm_quiz .read-more::after,
.tax-hwykm_quiz_category .read-more::after {
    content: " →";
    margin-left: 5px;
    transition: margin-left 0.2s ease;
}

.post-type-archive-hwykm_quiz .read-more:hover::after,
.tax-hwykm_quiz_category .read-more:hover::after {
    margin-left: 10px;
}

/* Archive Title Styling */
.post-type-archive-hwykm_quiz .page-header,
.tax-hwykm_quiz_category .page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.post-type-archive-hwykm_quiz .archive-title,
.tax-hwykm_quiz_category .archive-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Pagination */
.post-type-archive-hwykm_quiz .nav-links,
.tax-hwykm_quiz_category .nav-links {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

/* Alternative Color Schemes - Uncomment to use */

/* Light Blue Theme */
/*
.post-type-archive-hwykm_quiz .read-more,
.tax-hwykm_quiz_category .read-more {
    color: #2196F3;
}
.post-type-archive-hwykm_quiz .entry-title a:hover,
.tax-hwykm_quiz_category .entry-title a:hover {
    color: #2196F3;
}
*/

/* Purple Theme */
/*
.post-type-archive-hwykm_quiz .read-more,
.tax-hwykm_quiz_category .read-more {
    color: #9C27B0;
}
.post-type-archive-hwykm_quiz .entry-title a:hover,
.tax-hwykm_quiz_category .entry-title a:hover {
    color: #9C27B0;
}
*/

/* Green Theme */
/*
.post-type-archive-hwykm_quiz .read-more,
.tax-hwykm_quiz_category .read-more {
    color: #4CAF50;
}
.post-type-archive-hwykm_quiz .entry-title a:hover,
.tax-hwykm_quiz_category .entry-title a:hover {
    color: #4CAF50;
}
*/

/* ========================================
   BFF Quizzes Homepage Template
   ======================================== */

/* Homepage Container */
.bff-homepage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.bff-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 16px;
    margin-bottom: 50px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.bff-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.bff-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.bff-hero-description {
    font-size: 1.15rem;
    opacity: 0.95;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .bff-hero-section {
        padding: 40px 25px;
    }

    .bff-hero-title {
        font-size: 1.8rem;
    }

    .bff-hero-description {
        font-size: 1rem;
    }
}

/* Section Styling */
.bff-quizzes-section,
.bff-games-section {
    margin-bottom: 60px;
}

.bff-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f0f0f0;
}

.bff-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.bff-view-all {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 1rem;
}

.bff-view-all:hover {
    color: #764ba2;
}

/* Games Grid */
.bff-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .bff-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .bff-games-grid {
        grid-template-columns: 1fr;
    }
}

/* Game Card */
.bff-game-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.bff-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.bff-game-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1;
}

.bff-game-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.bff-game-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.bff-game-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.bff-game-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* Quizzes Grid */
.bff-quizzes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .bff-quizzes-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .bff-quizzes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Quiz Card */
.bff-quiz-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bff-quiz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.bff-quiz-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.bff-quiz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bff-quiz-card:hover .bff-quiz-image img {
    transform: scale(1.05);
}

.bff-trending-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 87, 34, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bff-quiz-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bff-quiz-title {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.bff-quiz-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bff-quiz-title a:hover {
    color: #667eea;
}

.bff-quiz-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.bff-quiz-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
    margin-top: auto;
}

.bff-quiz-link:hover {
    color: #764ba2;
}

/* ========================================
   Friend Calculator Template
   ======================================== */

/* Container */
.friend-calculator-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.calculator-header {
    text-align: center;
    margin-bottom: 50px;
}

.calculator-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.calculator-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

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

    .calculator-description {
        font-size: 1rem;
    }
}

/* Calculator Card */
.calculator-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .calculator-card {
        padding: 35px 25px;
    }
}

/* Form */
.calculator-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: #999;
}

/* Heart Icon */
.calculator-icon {
    text-align: center;
    margin: 20px 0;
}

.heart-icon {
    font-size: 2.5rem;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Calculate Button */
.calculate-btn {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin-top: 10px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

/* Result Section */
.calculator-result {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.calculator-result.show {
    opacity: 1;
    transform: translateY(0);
}

/* Result Animation */
.result-animation {
    margin-bottom: 30px;
}

.result-circle {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.progress-ring {
    transform: rotate(-90deg);
}

.result-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

/* Result Content */
.result-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.result-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.result-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.heart-separator {
    font-size: 1.5rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* Action Buttons */
.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.retry-btn {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.retry-btn:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
}

/* Info Section */
.calculator-info {
    text-align: center;
    margin-top: 60px;
}

.info-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-card {
    background: #f8f9ff;
    padding: 30px 25px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.info-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Share Toast Notification */
.share-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #4caf50;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}

.share-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    font-size: 1.3rem;
}

.toast-message {
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .result-percentage {
        font-size: 2.5rem;
    }

    .result-title {
        font-size: 1.6rem;
    }

    .result-names {
        font-size: 1.1rem;
    }

    .action-btn {
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Love Calculator (Pink/Red Variant)
   ======================================== */

.love-calculator-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.love-card {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    border: 2px solid #ffcdd2;
}

.love-heart {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.love-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.love-percentage {
    color: #ff6b6b;
}

.love-share {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.love-info-card {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
}

/* ========================================
   Spin the Wheel
   ======================================== */

.spin-wheel-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.wheel-section {
    margin-bottom: 40px;
}

.wheel-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.wheel-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: #ff6b6b;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

#wheelCanvas {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.spin-btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.spin-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.spin-icon {
    font-size: 1.5rem;
}

.wheel-result {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: #f8f9ff;
    border-radius: 16px;
}

.wheel-result.show {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.result-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
    margin: 0 0 10px 0;
}

.result-text {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin: 0 0 20px 0;
}

/* Options Section */
.options-section {
    margin-bottom: 60px;
}

.options-card {
    background: #f8f9ff;
    border-radius: 16px;
    padding: 40px 30px;
}

.options-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    text-align: center;
}

.options-description {
    text-align: center;
    color: #666;
    margin: 0 0 25px 0;
}

.options-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.add-option-btn {
    padding: 15px 25px;
    font-weight: 600;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-option-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.option-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.option-text {
    flex-grow: 1;
    font-weight: 600;
    color: #333;
}

.option-remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.option-remove:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.reset-btn {
    width: 100%;
    padding: 14px 20px;
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #667eea;
    color: #fff;
}

/* ========================================
   Name Picker
   ======================================== */

.name-picker-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.picker-section {
    margin-bottom: 60px;
}

.picker-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.picker-input-section {
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    text-align: center;
}

.names-list {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 12px;
    margin-bottom: 25px;
}

.empty-list {
    text-align: center;
    color: #999;
    padding: 60px 20px;
    margin: 0;
}

.name-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.name-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.name-text {
    flex-grow: 1;
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
}

.name-remove {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.name-remove:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.picker-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pick-btn {
    flex: 1;
    min-width: 200px;
}

.btn-icon {
    font-size: 1.3rem;
}

.picker-result {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9ff;
    border-radius: 16px;
    margin-top: 30px;
}

.picker-result.show {
    animation: fadeInUp 0.5s ease;
}

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

.result-animation-wrapper {
    margin-bottom: 25px;
}

.name-shuffle {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.picked-name-display {
    margin-top: 20px;
}

.picked-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin: 10px 0 20px 0;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================================
   Fortune Teller
   ======================================== */

.fortune-teller-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.fortune-section {
    margin-bottom: 60px;
}

.fortune-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.crystal-ball-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.crystal-ball {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #8b5cf6 0%, #6d28d9 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), 0 0 60px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.crystal-ball.active {
    animation: crystalGlow 3s ease-in-out;
}

@keyframes crystalGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), 0 0 60px rgba(139, 92, 246, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 50px rgba(139, 92, 246, 0.8), 0 0 100px rgba(139, 92, 246, 0.5);
        transform: scale(1.05);
    }
}

.crystal-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

.crystal-shine {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
}

.crystal-icon {
    font-size: 5rem;
    z-index: 2;
}

.fortune-input-section {
    max-width: 500px;
    margin: 0 auto 30px;
}

.fortune-input {
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.95);
}

.fortune-input:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.fortune-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.fortune-result {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fortune-result.show {
    opacity: 1;
    transform: translateY(0);
}

.fortune-stars {
    font-size: 2rem;
    margin-bottom: 20px;
}

.fortune-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
    margin: 0 0 20px 0;
}

.fortune-category {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ========================================
   Truth or Dare
   ======================================== */

.truth-dare-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.game-section {
    margin-bottom: 60px;
}

.game-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.choice-section {
    text-align: center;
}

.choice-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
}

.choice-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 30px;
    border: 3px solid transparent;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.truth-btn {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: #fff;
}

.truth-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.4);
}

.dare-btn {
    background: linear-gradient(135deg, #ff7043 0%, #ff5722 100%);
    color: #fff;
}

.dare-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 112, 67, 0.4);
}

.choice-icon {
    font-size: 3.5rem;
}

.choice-text {
    font-size: 1.5rem;
}

.random-choice-btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.random-choice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.challenge-result {
    text-align: center;
    padding: 40px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.challenge-result.show {
    opacity: 1;
    transform: translateY(0);
}

.challenge-badge {
    font-size: 5rem;
    margin-bottom: 20px;
}

.challenge-type {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.challenge-result.truth-mode .challenge-type {
    color: #29b6f6;
}

.challenge-result.dare-mode .challenge-type {
    color: #ff5722;
}

.challenge-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #333;
    padding: 30px;
    background: #f8f9ff;
    border-radius: 16px;
    margin: 0 0 30px 0;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .choice-buttons {
        grid-template-columns: 1fr;
    }

    .challenge-text {
        font-size: 1.2rem;
        padding: 20px;
    }

    .challenge-actions {
        flex-direction: column;
    }

    .challenge-actions .action-btn {
        width: 100%;
    }
}

/* ========================================
   Dynamic Page Content Section
   ======================================== */

.page-content-section {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.page-content-wrapper {
    background: #fff;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-content-wrapper h2,
.page-content-wrapper h3,
.page-content-wrapper h4 {
    color: #1a1a1a;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.page-content-wrapper h2 {
    font-size: 2rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.page-content-wrapper h3 {
    font-size: 1.5rem;
}

.page-content-wrapper h4 {
    font-size: 1.2rem;
}

.page-content-wrapper p {
    line-height: 1.8;
    margin-bottom: 1.2em;
    color: #333;
}

.page-content-wrapper ul,
.page-content-wrapper ol {
    margin: 1.2em 0;
    padding-left: 2em;
    line-height: 1.8;
}

.page-content-wrapper li {
    margin-bottom: 0.5em;
}

.page-content-wrapper a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-content-wrapper a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.page-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.page-content-wrapper blockquote {
    border-left: 4px solid #667eea;
    padding-left: 20px;
    margin: 1.5em 0;
    font-style: italic;
    color: #666;
}

.page-content-wrapper code {
    background: #f8f9ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.page-content-wrapper pre {
    background: #1a1a2e;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.page-content-wrapper pre code {
    background: none;
    color: #fff;
    padding: 0;
}

.page-content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.page-content-wrapper table th,
.page-content-wrapper table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.page-content-wrapper table th {
    background: #f8f9ff;
    font-weight: 700;
    color: #1a1a1a;
}

.page-content-wrapper table tr:nth-child(even) {
    background: #f9f9f9;
}

/* WordPress Blocks Support */
.page-content-wrapper .wp-block-image {
    margin: 2em 0;
}

.page-content-wrapper .wp-block-button__link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.page-content-wrapper .wp-block-button__link:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

@media (max-width: 768px) {
    .page-content-wrapper {
        padding: 30px 25px;
    }

    .page-content-wrapper h2 {
        font-size: 1.6rem;
    }

    .page-content-wrapper h3 {
        font-size: 1.3rem;
    }
}
