     * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            color: #333;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* Header Styles */
        .header {
            background-color: rgba(255, 255, 255, 0.95);
            padding: 15px 30px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            width: 100%;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            margin-top: -20px;
            margin-bottom: -10px;
        }
        .a{
            text-decoration: none;
            color: #4a6cf7;
        }
.icon-small {
  width: 70px;         /* Adjust size as needed */
  height: 70px;
  vertical-align: middle;  /* Aligns with text */
  margin-right: 0px;
  margin-left: 0px;       /* Space between icon and text */

}
.footer-para{
            color: #555;
            line-height: 1;
            margin-top: -19px;
        }

        
        .logo {
            display: flex;
            align-items: center;
            font-size: 24px;
            font-weight: 700;
            color: #4a6cf7;
        }
        
        .logo i {
            margin-right: 10px;
            font-size: 28px;
        }
        
        .nav {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
        }
        
        .nav a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
            display: flex;
            align-items: center;
        }
        
        .nav a i {
            margin-right: 5px;
        }
        
        .nav a:hover {
            color: #4a6cf7;
        }
        
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #4a6cf7;
        }
        
        /* Player Setup */
        .player-setup {
            background-color: rgba(255, 255, 255, 0.95);
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            width: 100%;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .player-setup h2 {
            color: #4a6cf7;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .player-setup h2 i {
            margin-right: 10px;
        }
        
        .player-inputs {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .input-group {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        
        .input-group label {
            margin-bottom: 8px;
            font-weight: 500;
            display: flex;
            align-items: center;
        }
        
        .input-group label i {
            margin-right: 5px;
            color: #4a6cf7;
        }
        
        .input-group input {
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            transition: border-color 0.3s;
            width: 250px;
        }
        
        .input-group input:focus {
            border-color: #4a6cf7;
            outline: none;
        }
        
        .start-btn {
            background-color: #4a6cf7;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
            margin-top: 20px;
            display: flex;
            align-items: center;
        }
        
        .start-btn i {
            margin-right: 8px;
        }
        
        .start-btn:hover {
            background-color: #3b5be3;
        }
        
        /* Game Container */
        .game-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
            width: 100%;
        }
        
        /* Game Info Section */
        .game-info {
            background-color: rgba(255, 255, 255, 0.95);
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            flex: 1;
            min-width: 300px;
            max-width: 400px;
        }
        
        .game-info h2 {
            color: #4a6cf7;
            margin-bottom: 15px;
            font-size: 24px;
            display: flex;
            align-items: center;
        }
        
        .game-info h2 i {
            margin-right: 10px;
        }
        
        .game-info p {
            margin-bottom: 15px;
            line-height: 1.6;
        }
        
        .instructions {
            background-color: #f0f8ff;
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
        }
        
        .instructions h3 {
            color: #4a6cf7;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        .instructions h3 i {
            margin-right: 8px;
        }
        
        .instructions ol {
            padding-left: 20px;
        }
        
        .instructions li {
            margin-bottom: 8px;
        }
        
        /* Game Board */
        .game-board {
            background-color: rgba(255, 255, 255, 0.95);
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            min-width: 300px;
            max-width: 500px;
        }
        
        .status {
            font-size: 20px;
            margin-bottom: 20px;
            font-weight: 600;
            color: #4a6cf7;
            text-align: center;
            min-height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .status i {
            margin-right: 8px;
        }
        
        .range-info {
            margin-bottom: 20px;
            text-align: center;
            font-size: 18px;
            background-color: #f0f8ff;
            padding: 10px 15px;
            border-radius: 8px;
            width: 100%;
        }
        
        .guess-input {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            margin-bottom: 20px;
        }
        
        .guess-input label {
            margin-bottom: 10px;
            font-weight: 500;
            display: flex;
            align-items: center;
        }
        
        .guess-input label i {
            margin-right: 8px;
            color: #4a6cf7;
        }
        
        .guess-input input {
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 18px;
            width: 150px;
            text-align: center;
            transition: border-color 0.3s;
        }
        
        .guess-input input:focus {
            border-color: #4a6cf7;
            outline: none;
        }
        
        .submit-btn {
            background-color: #4a6cf7;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            margin-top: 15px;
        }
        
        .submit-btn i {
            margin-right: 8px;
        }
        
        .submit-btn:hover {
            background-color: #3b5be3;
        }
        
        .hint {
            margin-top: 15px;
            font-style: italic;
            color: #4a6cf7;
            text-align: center;
            min-height: 24px;
        }
        
        .attempts {
            margin-top: 20px;
            text-align: center;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .attempts i {
            margin-right: 8px;
            color: #4a6cf7;
        }
        
        .reset-btn {
            background-color: #4a6cf7;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            margin-top: 20px;
        }
        
        .reset-btn i {
            margin-right: 8px;
        }
        
        .reset-btn:hover {
            background-color: #3b5be3;
        }
        
        /* Score Section */
        .score-section {
            background-color: rgba(255, 255, 255, 0.95);
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            flex: 1;
            min-width: 300px;
            max-width: 400px;
        }
        
        .score-section h2 {
            color: #4a6cf7;
            margin-bottom: 20px;
            font-size: 24px;
            display: flex;
            align-items: center;
        }
        
        .score-section h2 i {
            margin-right: 10px;
        }
        
        .score-display {
            display: flex;
            justify-content: space-around;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .score-box {
            text-align: center;
            padding: 15px;
            border-radius: 8px;
            background-color: #f0f8ff;
            width: 100px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .score-label {
            font-size: 18px;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .score-label i {
            margin-right: 5px;
        }
        
        .score-value {
            font-size: 24px;
            font-weight: 700;
        }
        
        .wins .score-value {
            color: #2ed573;
        }
        
        .losses .score-value {
            color: #ff4757;
        }
        
        .history {
            margin-top: 25px;
        }
        
        .history h3 {
            color: #4a6cf7;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .history h3 i {
            margin-right: 8px;
        }
        
        .history-list {
            max-height: 200px;
            overflow-y: auto;
            background-color: #f0f8ff;
            padding: 15px;
            border-radius: 8px;
            box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        .history-item {
            padding: 8px;
            border-bottom: 1px solid #ddd;
            display: flex;
            align-items: center;
        }
        
        .history-item i {
            margin-right: 8px;
        }
        
        .history-item:last-child {
            border-bottom: none;
        }
        
        /* Footer */
        .footer {
            background-color: rgba(255, 255, 255, 0.95);
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            margin-top: 40px;
            width: 100%;
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        
        .footer-section {
            flex: 1;
            min-width: 200px;
            margin-bottom: 20px;
        }
        
        .footer-section h3 {
            color: #4a6cf7;
            margin-bottom: 15px;
            font-size: 18px;
            display: flex;
            align-items: center;
        }
        
        .footer-section h3 i {
            margin-right: 10px;
        }
        
        .footer-section ul {
            list-style-type: none;
        }
        
        .footer-section li {
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }
        
        .footer-section i {
            margin-right: 8px;
            color: #4a6cf7;
            width: 20px;
        }
        
        .footer-section a {
            text-decoration: none;
            color: #333;
            transition: color 0.3s;
        }
        
        .footer-section a:hover {
            color: #4a6cf7;
        }
        
        .copyright {
            text-align: center;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #ddd;
            color: #666;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .copyright i {
            margin-right: 8px;
        }
        
        /* Sound Toggle */
        .sound-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #4a6cf7;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            z-index: 100;
        }
        
        .sound-toggle i {
            font-size: 24px;
        }
        
        /* Difficulty Selector */
        .difficulty {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        
        .difficulty-btn {
            background-color: #f0f8ff;
            border: 2px solid #4a6cf7;
            padding: 8px 15px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }
        
        .difficulty-btn i {
            margin-right: 5px;
            color: #4a6cf7;
        }
        
        .difficulty-btn.active {
            background-color: #4a6cf7;
            color: white;
        }
        
        .difficulty-btn.active i {
            color: white;
        }
        
        .difficulty-btn:hover:not(.active) {
            background-color: #e0f0ff;
        }
        
        /* Responsive Design */
        @media (max-width: 900px) {
            .header-content {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .nav {
                margin-top: 15px;
                width: 100%;
                display: none;
                flex-direction: column;
            }
            
            .nav.active {
                display: flex;
            }
            
            .menu-toggle {
                display: block;
                position: absolute;
                top: 20px;
                right: 20px;
            }
            
            .player-inputs {
                flex-direction: column;
                align-items: center;
            }
            
            .input-group {
                width: 100%;
                align-items: center;
            }
            
            .input-group input {
                width: 100%;
                max-width: 300px;
            }
        }
        
        @media (max-width: 768px) {
            .game-container {
                flex-direction: column;
                align-items: center;
            }
            
            .game-info, .score-section {
                max-width: 100%;
            }
            
            .footer-content {
                flex-direction: column;
            }
            
            .footer-section {
                min-width: 100%;
            }
        }
        
        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .fade-in {
            animation: fadeIn 0.5s ease forwards;
        }
        
        @keyframes celebrate {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .celebrate {
            animation: celebrate 0.5s ease;
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }
        
        .shake {
            animation: shake 0.3s ease;
        }