/**
 * Spinning Wheel Styles
 * 
 * Uses CSS variables from the main theme's brand design system.
 * All colors reference :root variables for easy maintenance.
 */

/* ========================================
   Container & Base Layout
======================================== */

.clg-lets-go-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: var(--font-body);
}

/* ========================================
   Header Section
======================================== */

.clg-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-volcanic) 0%, #2A2C2E 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.clg-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-amber);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(255, 179, 71, 0.5);
}

.clg-icon {
    font-size: 2.5rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.clg-subtitle {
    font-size: 1.25rem;
    color: var(--bg-mist);
    margin: 0;
    font-weight: 300;
}

/* ========================================
   Filters Section
======================================== */

.clg-filters-section {
    background: var(--bg-mist);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.clg-filter-group {
    margin-bottom: 2rem;
}

.clg-filter-group:last-child {
    margin-bottom: 0;
}

.clg-filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--bg-volcanic);
    font-size: 1.1rem;
}

.clg-filter-icon {
    font-size: 1.5rem;
}

/* Select Dropdown */
.clg-select {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid var(--bg-volcanic);
    border-radius: 10px;
    background: white;
    color: var(--bg-volcanic);
    font-family: inherit;
    transition: var(--transition-smooth);
}

.clg-select:hover {
    border-color: var(--accent-amber);
}

.clg-select:focus {
    outline: none;
    border-color: var(--accent-amber);
    box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.2);
}

/* Button Group */
.clg-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.clg-filter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid var(--bg-volcanic);
    border-radius: 50px;
    background: white;
    color: var(--bg-volcanic);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
}

.clg-filter-btn:hover {
    background: var(--bg-volcanic);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 28, 30, 0.3);
}

.clg-filter-btn.active {
    background: var(--accent-amber);
    border-color: var(--accent-amber);
    color: var(--bg-volcanic);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 179, 71, 0.4);
}

/* Info Display */
.clg-info-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(26, 28, 30, 0.1);
}

.clg-weather-display,
.clg-activity-count {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.clg-info-label {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clg-info-value {
    display: block;
    font-size: 1.25rem;
    color: var(--bg-volcanic);
    font-weight: 600;
}

.clg-count-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-amber);
    font-family: var(--font-data);
}

.clg-count-label {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

/* ========================================
   Spinning Wheel Section
======================================== */

.clg-wheel-section {
    text-align: center;
    padding: 3rem 0;
}

.clg-wheel-container {
    position: relative;
    width: 420px;
    height: 420px;
    margin: 0 auto 1.5rem;
}

#clg-wheel-canvas {
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.clg-wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: var(--accent-amber);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
    z-index: 10;
    pointer-events: none;
}

.clg-wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.clg-spin-btn {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-amber) 0%, #FF8C42 100%);
    border: 6px solid white;
    box-shadow: 0 10px 30px rgba(255, 179, 71, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.clg-spin-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 179, 71, 0.6);
}

.clg-spin-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.clg-spin-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.clg-spin-icon {
    font-size: 2.5rem;
    display: block;
}

.clg-spin-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-volcanic);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clg-wheel-hint {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

/* Spinning Animation */
.clg-wheel-spinning #clg-wheel-canvas {
    animation: spin-wheel linear;
}

@keyframes spin-wheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   Responsive Design
======================================== */

@media (max-width: 768px) {
    .clg-lets-go-container {
        padding: 1rem;
    }

    .clg-title {
        font-size: 2rem;
    }

    .clg-subtitle {
        font-size: 1rem;
    }

    .clg-info-display {
        grid-template-columns: 1fr;
    }

    .clg-wheel-container {
        width: 320px;
        height: 320px;
    }

    #clg-wheel-canvas {
        width: 300px;
        height: 300px;
    }

    .clg-spin-btn {
        width: 100px;
        height: 100px;
    }

    .clg-spin-icon {
        font-size: 2rem;
    }

    .clg-spin-text {
        font-size: 0.75rem;
    }

    .clg-button-group {
        gap: 0.5rem;
    }

    .clg-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}
