/* ========================================
   CROSSWORD & WORD SEARCH GAME - FRONTEND
   Fully Responsive for Desktop/Tablet/Mobile
   ======================================== */

/* Root Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-color: #4CAF50;
    --error-color: #f44336;
    --info-color: #2196F3;
    --warning-color: #ff9800;
    --text-dark: #1d2327;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* Base Container */
.cwsg-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

/* Welcome Screen */
.cwsg-welcome {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.cwsg-welcome-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    width: 100%;
    overflow: hidden;
}

.cwsg-welcome-header {
    background: var(--primary-gradient);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.cwsg-game-icon {
    font-size: 64px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cwsg-welcome-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.cwsg-welcome-subtitle {
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
}

.cwsg-welcome-content {
    padding: 40px 30px;
}

/* Game Features Grid */
.cwsg-game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cwsg-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: transform 0.3s;
}

.cwsg-feature:hover {
    transform: translateY(-5px);
}

.cwsg-feature-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.cwsg-feature h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.cwsg-feature p {
    margin: 0;
    font-size: 13px;
    color: var(--text-light);
}

/* Mini Leaderboard */
.cwsg-mini-leaderboard {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 30px;
}

.cwsg-mini-leaderboard h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    text-align: center;
}

.cwsg-mini-leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cwsg-mini-player {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.cwsg-rank {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 30px;
}

.cwsg-name {
    flex: 1;
    font-weight: 500;
}

.cwsg-mini-score {
    font-weight: 700;
    color: var(--info-color);
}

/* Form Styles */
.cwsg-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cwsg-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cwsg-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.cwsg-label-icon {
    font-size: 18px;
}

.cwsg-form-group input {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.cwsg-form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Buttons */
.cwsg-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.cwsg-btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.cwsg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cwsg-btn-success {
    background: var(--success-color);
    color: white;
}

.cwsg-btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.cwsg-btn-secondary {
    background: #6c757d;
    color: white;
}

.cwsg-btn-hint {
    background: var(--warning-color);
    color: white;
}

.cwsg-btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.cwsg-terms {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin: 10px 0 0 0;
}

/* Game Interface */
.cwsg-game-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.cwsg-game-header-bar {
    background: var(--primary-gradient);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cwsg-player-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cwsg-player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.cwsg-player-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cwsg-player-details strong {
    font-size: 16px;
}

.cwsg-player-details span {
    font-size: 13px;
    opacity: 0.9;
}

.cwsg-stats-bar {
    display: flex;
    gap: 30px;
}

.cwsg-stat-item {
    text-align: center;
}

.cwsg-stat-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.cwsg-stat-value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
}

.cwsg-score-highlight {
    color: #FFD700;
}

/* Progress Bar */
.cwsg-progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: var(--bg-light);
}

.cwsg-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.4;
    transition: all 0.3s;
}

.cwsg-progress-step.cwsg-active,
.cwsg-progress-step.cwsg-completed {
    opacity: 1;
}

.cwsg-progress-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
}

.cwsg-progress-step.cwsg-active .cwsg-progress-circle {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
}

.cwsg-progress-step.cwsg-completed .cwsg-progress-circle {
    background: var(--success-color);
    color: white;
}

.cwsg-progress-line {
    width: 80px;
    height: 3px;
    background: #ddd;
    margin: 0 10px;
}

.cwsg-progress-step span {
    font-size: 13px;
    font-weight: 600;
}

/* Game Section */
.cwsg-game-section {
    display: none;
    padding: 40px 30px;
    animation: fadeIn 0.5s;
}

.cwsg-game-section.cwsg-active-section {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cwsg-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.cwsg-section-header h3 {
    margin: 0;
    font-size: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cwsg-section-controls {
    display: flex;
    gap: 10px;
}

.cwsg-instructions {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Crossword Grid */
.cwsg-game-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-bottom: 30px;
}

.cwsg-crossword-grid {
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cwsg-cell {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    position: relative;
    background: white;
}

.cwsg-cell-empty {
    background: #1a1a1a;
}

.cwsg-cell input {
    width: 100%;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
    background: transparent;
    outline: none;
}

.cwsg-cell input:focus {
    background: #e3f2fd;
}

.cwsg-cell-number {
    position: absolute;
    top: 2px;
    left: 3px;
    font-size: 10px;
    font-weight: 600;
    color: #666;
    z-index: 1;
}

.cwsg-cell.cwsg-correct input {
    background: #C8E6C9;
    animation: correctPulse 0.5s;
}

.cwsg-cell.cwsg-wrong input {
    background: #FFCDD2;
    animation: shake 0.5s;
}

.cwsg-cell.cwsg-hint-revealed input {
    background: #FFF9C4;
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.cwsg-cell-animate {
    animation: cellPop 0.3s ease-out backwards;
}

@keyframes cellPop {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Clues */
.cwsg-clues {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
}

.cwsg-clues-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cwsg-clues-column h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: var(--info-color);
}

.cwsg-clues-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cwsg-clues-column li {
    padding: 10px;
    margin-bottom: 8px;
    background: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.cwsg-clues-column li:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.cwsg-clues-column li.cwsg-active-clue {
    background: var(--primary-gradient);
    color: white;
}

/* Word Search Grid */
.cwsg-ws-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 30px;
}

.cwsg-wordsearch-grid {
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cwsg-ws-cell {
    width: 35px;
    height: 35px;
    border: 1px solid #e0e0e0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    background: white;
}

.cwsg-ws-cell:hover {
    background: #f5f5f5;
}

.cwsg-ws-cell.cwsg-ws-selecting {
    background: #FFF9C4;
}

.cwsg-ws-cell.cwsg-ws-found {
    background: #C8E6C9;
    color: #2E7D32;
}

.cwsg-cell-pop {
    animation: cellPop 0.3s ease-out backwards;
}

/* Word List */
.cwsg-word-list {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px;
}

.cwsg-words-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cwsg-word-badge {
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.cwsg-word-check {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    flex-shrink: 0;
}

.cwsg-word-badge.cwsg-found {
    background: #C8E6C9;
}

.cwsg-word-badge.cwsg-found .cwsg-word-check {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.cwsg-word-badge.cwsg-found .cwsg-word-text {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Section Footer */
.cwsg-section-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.cwsg-score-display {
    font-size: 16px;
}

.cwsg-score-display strong {
    font-size: 24px;
    color: var(--info-color);
    margin-left: 8px;
}

/* Results Screen */
.cwsg-results-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cwsg-results-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.cwsg-results-card h3 {
    font-size: 32px;
    margin: 0 0 10px 0;
}

.cwsg-results-message {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
}

.cwsg-final-scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.cwsg-final-score-item {
    background: var(--bg-light);
    padding: 25px 20px;
    border-radius: var(--radius-md);
    transition: transform 0.3s;
}

.cwsg-final-score-item:hover {
    transform: translateY(-5px);
}

.cwsg-final-total-item {
    background: var(--primary-gradient);
    color: white;
}

.cwsg-final-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.cwsg-final-label {
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.cwsg-final-value {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
}

/* Leaderboard Results */
.cwsg-leaderboard-results {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.cwsg-leaderboard h4 {
    margin: 0 0 20px 0;
    font-size: 20px;
    text-align: center;
}

.cwsg-leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cwsg-leaderboard-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.cwsg-leaderboard-item.cwsg-current-player {
    background: var(--primary-gradient);
    color: white;
}

.cwsg-lb-rank {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.cwsg-lb-name {
    font-weight: 600;
}

.cwsg-lb-score {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
}

/* Already Played Screen */
.cwsg-already-played-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cwsg-already-played-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 50px 40px;
    max-width: 800px;
    text-align: center;
}

.cwsg-ap-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.cwsg-already-played-card h3 {
    font-size: 28px;
    margin: 0 0 15px 0;
}

.cwsg-already-played-card > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.cwsg-today-score {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.cwsg-score-summary {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.cwsg-full-leaderboard {
    margin-top: 30px;
}

.cwsg-full-leaderboard h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.cwsg-leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cwsg-leaderboard-table th {
    background: var(--primary-gradient);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.cwsg-leaderboard-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cwsg-leaderboard-table tr:last-child td {
    border-bottom: none;
}

.cwsg-leaderboard-table tr.cwsg-current-user {
    background: #e3f2fd;
}

.cwsg-countdown {
    margin-top: 30px;
    font-size: 16px;
    color: var(--text-light);
}

.cwsg-countdown strong {
    color: var(--info-color);
    font-size: 20px;
    font-family: 'Roboto Mono', monospace;
}

/* Toast Notifications */
.cwsg-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transition: bottom 0.3s;
}

.cwsg-toast.cwsg-toast-show {
    bottom: 30px;
}

.cwsg-toast-success {
    background: var(--success-color);
}

.cwsg-toast-error {
    background: var(--error-color);
}

.cwsg-toast-info {
    background: var(--info-color);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets (Portrait) - 768px and below */
@media (max-width: 768px) {
    .cwsg-container {
        padding: 15px;
    }

    .cwsg-welcome-title {
        font-size: 26px;
    }

    .cwsg-welcome-content {
        padding: 30px 20px;
    }

    .cwsg-game-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cwsg-game-header-bar {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .cwsg-player-info {
        flex-direction: column;
        width: 100%;
    }

    .cwsg-stats-bar {
        gap: 20px;
        width: 100%;
        justify-content: center;
    }

    .cwsg-game-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cwsg-ws-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cwsg-clues-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cwsg-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cwsg-section-header h3 {
        font-size: 20px;
    }

    .cwsg-section-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .cwsg-score-display {
        text-align: center;
    }

    .cwsg-final-scores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cwsg-cell {
        width: 35px;
        height: 35px;
    }

    .cwsg-cell input {
        font-size: 16px;
    }

    .cwsg-ws-cell {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .cwsg-progress-container {
        padding: 20px 15px;
    }

    .cwsg-progress-line {
        width: 40px;
    }

    .cwsg-progress-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .cwsg-progress-step span {
        font-size: 11px;
    }
}

/* Mobile Phones - 480px and below */
@media (max-width: 480px) {
    .cwsg-welcome-header {
        padding: 30px 20px;
    }

    .cwsg-game-icon {
        font-size: 48px;
    }

    .cwsg-welcome-title {
        font-size: 22px;
    }

    .cwsg-welcome-subtitle {
        font-size: 14px;
    }

    .cwsg-welcome-content {
        padding: 25px 15px;
    }

    .cwsg-feature {
        padding: 15px;
        gap: 10px;
    }

    .cwsg-feature-icon {
        font-size: 28px;
    }

    .cwsg-feature h4 {
        font-size: 14px;
    }

    .cwsg-btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }

    .cwsg-game-section {
        padding: 25px 15px;
    }

    .cwsg-stats-bar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .cwsg-stat-value {
        font-size: 20px;
    }

    .cwsg-section-header h3 {
        font-size: 18px;
    }

    .cwsg-section-controls {
        width: 100%;
        justify-content: space-between;
    }

    .cwsg-cell {
        width: 28px;
        height: 28px;
    }

    .cwsg-cell input {
        font-size: 14px;
    }

    .cwsg-cell-number {
        font-size: 8px;
        top: 1px;
        left: 2px;
    }

    .cwsg-ws-cell {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .cwsg-clues {
        padding: 15px;
        max-height: 400px;
    }

    .cwsg-clues-column li {
        font-size: 13px;
        padding: 8px;
    }

    .cwsg-word-badge {
        padding: 10px 12px;
        font-size: 14px;
    }

    .cwsg-final-scores-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cwsg-final-value {
        font-size: 28px;
    }

    .cwsg-results-icon {
        font-size: 60px;
    }

    .cwsg-results-card h3 {
        font-size: 24px;
    }

    .cwsg-already-played-card {
        padding: 30px 20px;
    }

    .cwsg-ap-icon {
        font-size: 60px;
    }

    .cwsg-score-summary {
        flex-direction: column;
        gap: 10px;
    }

    .cwsg-leaderboard-table th,
    .cwsg-leaderboard-table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .cwsg-toast {
        left: 10px;
        right: 10px;
        transform: none;
        font-size: 14px;
    }

    .cwsg-toast.cwsg-toast-show {
        bottom: 15px;
    }
}

/* Very Small Screens - 360px and below */
@media (max-width: 360px) {
    .cwsg-cell {
        width: 24px;
        height: 24px;
    }

    .cwsg-cell input {
        font-size: 12px;
    }

    .cwsg-ws-cell {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .cwsg-crossword-grid,
    .cwsg-wordsearch-grid {
        transform: scale(0.95);
        transform-origin: center;
    }
}

/* Landscape Mobile Phones */
@media (max-height: 500px) and (orientation: landscape) {
    .cwsg-welcome {
        min-height: auto;
        padding: 20px 15px;
    }

    .cwsg-game-header-bar {
        padding: 15px;
    }

    .cwsg-game-section {
        padding: 20px 15px;
    }

    .cwsg-clues {
        max-height: 250px;
    }
}

/* Print Styles */
@media print {
    .cwsg-section-controls,
    .cwsg-btn,
    .cwsg-toast {
        display: none;
    }
}
