
        :root {
            --primary: #ff5e00;
            --secondary: #ff2a00;
            --accent: #ff9600;
            --background: #e0950a;
            --card-bg: #fff7e6;
            --text-light: #fff;
            --text-dark: #333;
            --success: #4CAF50;
            --error: #f44336;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Orbitron', sans-serif;
        }

        body {
            background: rgb(253, 253, 253);
            color: var(--text-dark);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            touch-action: manipulation;
            -webkit-user-select: none;
            user-select: none;
        }
        

        .announcement-bar {
            width: 100%;
            overflow: hidden;
            background: rgb(253, 199, 91);
            color: #fff;
            font-weight: bold;
            padding: 8px 0;
            position: relative;
        }
     .announcement-bar:hover .announcement-text {
    animation-play-state: paused;
    }

        .announcement-text {
            display: inline-block;
            white-space: nowrap;
            animation: marquee 25s linear infinite;
            font-size: 1rem;
            min-width: 100%;
            will-change: transform;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 10px;
            background: rgb(255, 235, 199);
            border-bottom: 1px solid var(--secondary);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-icon {
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--text-light);
            box-shadow: 0 0 15px rgba(255, 42, 0, 0.5);
        }

        .logo-text {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
            text-transform: uppercase;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }

        nav a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 8px 15px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        nav a:hover {
            background: rgba(255, 42, 0, 0.1);
            color: var(--accent);
     
        }

        .game-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            max-width: 800px;
            margin: 0 auto;
            width: 100%;
        }

        .game-title {
            text-align: center;
            margin-bottom: 30px;
            align-items: center;
        }

        .game-title h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 10px;
        }

         .game-title p {
            color: #555;
            font-size: 1.1rem;
            max-width: 600px;
            text-align: center;
            margin: 0 auto;
        }

        .game-area {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .time-selector {
            margin-bottom: 20px;
            width: 100%;
            max-width: 400px;
        }

        .time-selector label {
            display: block;
            margin-bottom: 8px;
            color: var(--primary);
            font-weight: 600;
        }

        .time-selector select {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid var(--primary);
            border-radius: 8px;
            background-color: var(--card-bg);
            color: var(--text-dark);
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .time-selector select:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.3);
        }

        .click-area {
            width: 100%;
            max-width: 500px;
            aspect-ratio: 1;
            background-color: var(--card-bg);
            border: 3px solid var(--primary);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 20px 0;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s ease;
            position: relative;
            overflow: hidden;
        }

        .click-area:active {
            transform: scale(0.98);
        }

        .click-area.active {
            background-color: rgba(255, 94, 0, 0.1);
            border-color: var(--accent);
        }

        .click-button {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            cursor: pointer;
            border: none;
            box-shadow: 0 10px 25px rgba(255, 42, 0, 0.4);
            transition: all 0.2s ease;
            position: relative;
            z-index: 2;
        }

        .click-button:hover {
            transform: scale(1.03);
            box-shadow: 0 12px 30px rgba(255, 42, 0, 0.5);
        }

        .click-button:active {
            transform: scale(0.97);
        }

        .click-button:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none !important;
        }

        .timer-display {
            font-size: 3rem;
            font-weight: 700;
            color: var(--primary);
            margin: 20px 0;
            font-family: 'Courier New', monospace;
            text-align: center;
            min-width: 150px;
        }

        .results {
            text-align: center;
            margin-top: 20px;
            width: 100%;
            max-width: 500px;
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            display: none;
        }

        .results.show {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        .results h2 {
            color: var(--primary);
            margin-bottom: 15px;
            font-size: 1.8rem;
        }

        .stats {
            display: flex;
            justify-content: space-around;
            margin: 20px 0;
            flex-wrap: wrap;
            gap: 15px;
        }

        .stat {
            flex: 1;
            min-width: 120px;
        }

        .stat h3 {
            color: #666;
            font-size: 1rem;
            margin-bottom: 5px;
        }

        .stat-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            font-family: 'Courier New', monospace;
        }

        .rank {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            margin: 15px 0;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .btn {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 12px 25px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        .btn:active {
            transform: translateY(1px);
        }

        .btn-secondary {
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-secondary:hover {
            background: rgba(255, 94, 0, 0.1);
        }

     

        /* Click effect */
        .click-effect {
            position: absolute;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 50%;
            pointer-events: none;
            transform: scale(0);
            animation: clickAnimation 0.5s ease-out;
            z-index: 1;
        }
        .motivation {
    font-size: 1.1rem;
    margin-top: 15px;
    padding: 12px 20px;
    color: #ff5e00;
    font-weight: 600;
    text-align: center;
    border: 2px solid #ff9600;
    border-radius: 12px;
    background-color: #fff3e0;
    animation: popFade 0.6s ease;
    box-shadow: 0 0 12px rgba(255, 150, 0, 0.4);
    transition: all 0.3s ease;
    }
    /* Ripple effect that expands out of the circle */
#click-button {
    position: relative;  /* Required for z-index */
    z-index: 2;         /* Ensure button is above ripples */
    /* Maintain your existing button styles */
}

.outer-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 150, 255, 0.2);
    transform: scale(0);
    opacity: 1;
    transition: 
    transform 0.6s ease-out, 
    opacity 0.6s ease-out;
    pointer-events: none;
    z-index: 1; /* Place below button */
}
footer {
  background-color: #fff7e6;
  color: #333;
  text-align: center;
  padding: 10px 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 13px;
  border-top: 1px solid #ff5e00;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
  line-height: 1.4;
}

footer p {
  margin: 6px 0;
}

footer a {
  color: #ff5e00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #ff2a00;
  text-decoration: underline;
}

footer strong {
  color: #ff2a00;
}

footer small,
footer p:last-of-type {
  font-size: 11px;
  color: #666;
}


    /* Animation for appearance */
    @keyframes popFade {
        0% {
            transform: scale(0.8);
            opacity: 0;
        }
        60% {
            transform: scale(1.05);
            opacity: 1;
        }
        100% {
            transform: scale(1);
        }
    }

    /* Optional pulse glow after appearance */
    .motivation.pulse {
        animation: pulseGlow 1.5s infinite;
    }

    @keyframes pulseGlow {
        0% {
            box-shadow: 0 0 10px rgba(255, 150, 0, 0.2);
        }
        50% {
            box-shadow: 0 0 20px rgba(255, 150, 0, 0.5);
        }
        100% {
            box-shadow: 0 0 10px rgba(255, 150, 0, 0.2);
        }
    }

        /* Animations */
        @keyframes clickAnimation {
            to {
                transform: scale(2);
                opacity: 0;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes marquee {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        /* Responsive styles */
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                gap: 15px;
                padding: 15px;
            }

            nav ul {
                gap: 10px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .game-title h1 {
                font-size: 2rem;
            }

            .game-title p {
                font-size: 1rem;
            }

            .click-area {
                max-width: 350px;
            }

            .click-button {
                width: 150px;
                height: 150px;
                font-size: 1.2rem;
            }

            .timer-display {
                font-size: 2.5rem;
            }

            .stat-value {
                font-size: 1.8rem;
            }

            .rank {
                font-size: 1.3rem;
            }
        }

        @media (max-width: 480px) {
            .game-title h1 {
                font-size: 1.8rem;
            }

            .click-area {
                max-width: 300px;
            }

            .click-button {
                width: 120px;
                height: 120px;
                font-size: 1rem;
            }

            .timer-display {
                font-size: 2rem;
            }

            .stats {
                flex-direction: column;
                gap: 10px;
            }

            .stat {
                min-width: 100%;
            }

            .action-buttons {
                flex-direction: column;
                width: 100%;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }
        }
