* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px; /* Accommodates fixed mobile ad banner at bottom */
    }
}

/* Notification Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar h1 {
    font-size: 1.5em;
    color: #0ea5e9;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

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

.btn-icon {
    padding: 10px 15px;
    font-size: 1.2em;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-icon:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #0ea5e9;
    transform: rotate(15deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

/* Container */
.home-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .home-container {
        margin: 10px auto;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .home-container {
        margin: 8px auto;
        padding: 0 10px;
    }
}

/* Welcome and Stats Container */
.welcome-stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    border: 2px solid rgba(14, 165, 233, 0.08);
    position: relative;
    overflow: hidden;
    flex: 1;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .welcome-section::before {
        animation: none;
    }
}

.welcome-section h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.welcome-section h2 span {
    color: #0ea5e9;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    font-size: 1.1em;
    color: #666;
}

/* Stats Overview Card */
.stats-overview-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid rgba(14, 165, 233, 0.08);
    transition: all 0.3s ease;
    flex: 1.5;
    margin-bottom: 0;
}

.stats-overview-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(14, 165, 233, 0.15);
}

.stats-overview-card h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafb 0%, #f0f4f8 100%);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(14, 165, 233, 0.06);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(14, 165, 233, 0.2);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #0ea5e9;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-value {
    color: #06b6d4;
    transform: scale(1.1);
}

.stat-label {
    font-size: 0.9em;
    color: #666;
    font-weight: 600;
}

/* Games Section */
.games-section {
    margin-top: 30px;
}

.games-section h3 {
    font-size: 1.8em;
    color: white;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.game-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid rgba(14, 165, 233, 0.08);
    backdrop-filter: blur(10px);
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 64px rgba(14, 165, 233, 0.2), 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(14, 165, 233, 0.25);
}

.game-card:hover::after {
    opacity: 1;
}

.game-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.game-card.coming-soon:hover {
    transform: none;
}

.game-icon {
    font-size: 4em;
    text-align: center;
    margin-bottom: 20px;
}

.game-card h4 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.game-card p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    flex-grow: 1;
}

.game-stats-mini {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafb 0%, #f0f4f8 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #666;
    border: 1px solid rgba(14, 165, 233, 0.08);
}

.game-stats-mini strong {
    color: #0ea5e9;
    font-size: 1.3em;
    font-weight: 700;
}

.play-btn {
    width: 100%;
    padding: 16px;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9em;
}

.play-btn::after {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.3em;
}

.play-btn:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
}

/* Settings Styles */
.settings-section {
    margin-bottom: 30px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}

.setting-info {
    flex: 1;
}

.setting-info label {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.setting-description {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
}

.toggle input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.settings-actions {
    text-align: center;
}

.settings-actions .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.05em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-stats-container {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .welcome-section {
        margin-bottom: 0;
    }

    .stats-overview-card {
        margin-bottom: 0;
    }

    .navbar h1 {
        font-size: 1.1em;
    }

    .navbar-logo {
        height: 30px;
    }

    .nav-actions {
        gap: 5px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 0.8em;
    }

    .welcome-section {
        padding: 15px 12px;
    }

    .welcome-section h2 {
        font-size: 1.4em;
        margin-bottom: 6px;
    }

    .welcome-subtitle {
        font-size: 0.9em;
    }

    .stats-overview-card {
        padding: 15px 12px;
    }

    .stats-overview-card h3 {
        font-size: 1.2em;
        margin-bottom: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-item {
        padding: 10px 6px;
    }

    .stat-value {
        font-size: 1.5em;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 0.8em;
        line-height: 1.2;
    }

    .games-section {
        margin-top: 10px;
    }

    .games-section h3 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .game-card {
        padding: 15px 12px;
    }

    .game-icon {
        font-size: 2.5em;
        margin-bottom: 8px;
    }

    .game-card h4 {
        font-size: 1.2em;
        margin-bottom: 8px;
    }

    .game-card p {
        font-size: 0.9em;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .game-stats-mini {
        padding: 10px;
        margin-bottom: 10px;
        font-size: 0.85em;
    }

    .play-btn {
        padding: 12px;
        font-size: 1em;
    }

    .modal-content {
        padding: 25px;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .home-container {
        margin: 8px auto;
        padding: 0 10px;
    }

    .welcome-section {
        padding: 10px;
    }

    .welcome-section h2 {
        font-size: 1.3em;
        margin-bottom: 5px;
    }

    .welcome-subtitle {
        font-size: 0.85em;
    }

    .stats-overview-card {
        padding: 10px;
    }

    .stats-overview-card h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    .stats-grid {
        gap: 6px;
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-item {
        padding: 8px 5px;
    }

    .stat-value {
        font-size: 1.3em;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 0.75em;
        line-height: 1.2;
    }

    .games-section {
        margin-top: 8px;
    }

    .games-section h3 {
        font-size: 1.2em;
        margin-bottom: 8px;
    }

    .games-grid {
        gap: 8px;
    }

    .game-card {
        padding: 12px 10px;
    }

    .game-icon {
        font-size: 2.2em;
        margin-bottom: 8px;
    }

    .game-card h4 {
        font-size: 1.1em;
        margin-bottom: 6px;
    }

    .game-card p {
        font-size: 0.85em;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .game-stats-mini {
        padding: 8px;
        margin-bottom: 10px;
        font-size: 0.8em;
        flex-direction: column;
        gap: 4px;
    }

    .play-btn {
        padding: 10px;
        font-size: 0.95em;
    }
}

/* Help Modal Styles */
.help-section {
    text-align: left;
}

.help-section h3 {
    font-size: 1.3em;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 700;
}

.help-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.help-section ol,
.help-section ul {
    padding-left: 25px;
    color: #666;
    line-height: 1.8;
}

.help-section li {
    margin-bottom: 10px;
}

.color-guide {
    margin: 20px 0;
}

.color-example {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.color-example .tile {
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    flex-shrink: 0;
    border: 2px solid #d3d6da;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 4px;
}

.color-example .tile.correct {
    background: #6aaa64;
    border-color: #6aaa64;
    color: white;
}

.color-example .tile.present {
    background: #c9b458;
    border-color: #c9b458;
    color: white;
}

.color-example .tile.absent {
    background: #787c7e;
    border-color: #787c7e;
    color: white;
}

.color-example p {
    margin: 0;
    font-size: 0.95em;
}

/* Footer Styles */
.footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    padding: 15px 0;
    margin-top: 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #06b6d4;
    text-decoration: underline;
}

.footer-links .separator {
    color: #ccc;
}

.footer-social {
    margin: 15px 0;
}

.social-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:active {
    transform: translateY(-1px);
}

.footer-copyright {
    color: #666;
    font-size: 0.9em;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .footer {
        padding: 12px 0;
        margin-top: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 6px;
    }
    
    .footer-links .separator {
        display: none;
    }

    .footer-social {
        margin: 8px 0;
    }

    .social-btn {
        padding: 8px 15px;
        font-size: 0.85em;
    }

    .footer-copyright {
        font-size: 0.85em;
        margin-top: 8px;
    }
}

/* Dark Mode Styles */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-mode .navbar {
    background: rgba(26, 26, 46, 0.95);
}

body.dark-mode .navbar h1 {
    color: #0ea5e9;
}

body.dark-mode .welcome-section,
body.dark-mode .stats-overview-card,
body.dark-mode .game-card,
body.dark-mode .modal-content {
    background: #1e1e2f;
    color: #e0e0e0;
    border-color: rgba(14, 165, 233, 0.3);
}

body.dark-mode .welcome-section h2,
body.dark-mode .stats-overview-card h3,
body.dark-mode .game-card h4,
body.dark-mode .modal-content h2 {
    color: #e0e0e0;
}

body.dark-mode .welcome-subtitle,
body.dark-mode .game-card p,
body.dark-mode .stat-label,
body.dark-mode .help-section p,
body.dark-mode .help-section li,
body.dark-mode .color-example p {
    color: #b0b0b0;
}

body.dark-mode .stat-item {
    background: linear-gradient(135deg, #2a2a3e 0%, #1e1e2f 100%);
    border-color: rgba(14, 165, 233, 0.2);
}

body.dark-mode .game-stats-mini {
    background: #2a2a3e;
}

body.dark-mode .setting-item {
    background: #2a2a3e;
}

body.dark-mode .setting-info label {
    color: #e0e0e0;
}

body.dark-mode .setting-description {
    color: #b0b0b0;
}

body.dark-mode .close {
    color: #b0b0b0;
}

body.dark-mode .close:hover {
    color: #e0e0e0;
}

body.dark-mode .help-section h3 {
    color: #e0e0e0;
}

body.dark-mode .color-example {
    background: #2a2a3e;
}

body.dark-mode .tile {
    background: #2a2a3e;
    color: #e0e0e0;
    border-color: #3a3a4e;
}

body.dark-mode .footer {
    background: rgba(26, 26, 46, 0.95);
    border-top-color: rgba(14, 165, 233, 0.3);
}

body.dark-mode .footer-links a {
    color: #8a9aef;
}

body.dark-mode .footer-links a:hover {
    color: #a8b4f5;
}

body.dark-mode .footer-links .separator {
    color: #555;
}

body.dark-mode .footer-copyright {
    color: #b0b0b0;
}

/* High Contrast Mode Styles */
body.high-contrast .tile.correct {
    background: #00ff00;
    border-color: #00ff00;
    color: #000;
}

body.high-contrast .tile.present {
    background: #ffff00;
    border-color: #ffff00;
    color: #000;
}

body.high-contrast .tile.absent {
    background: #000000;
    border-color: #000000;
    color: #fff;
}

body.high-contrast .color-example .tile.correct {
    background: #00ff00;
    border-color: #00ff00;
    color: #000;
}

body.high-contrast .color-example .tile.present {
    background: #ffff00;
    border-color: #ffff00;
    color: #000;
}

body.high-contrast .color-example .tile.absent {
    background: #000000;
    border-color: #000000;
    color: #fff;
}

/* No Animations Styles */
body.no-animations * {
    animation: none !important;
    transition: none !important;
}

/* Notification Toast Styles */
.notification-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.notification-toast.error {
    background: #ef5350;
}

.notification-toast.success {
    background: #4caf50;
}

.notification-toast.slideOut {
    animation: slideOut 0.3s ease forwards;
}

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

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}
