 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

        * {
            font-family: 'Inter', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            background-attachment: fixed;
            min-height: 100vh;
            overflow-x: hidden;
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
        }

        .glass-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
        }

        .info-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            overflow: hidden;
        }

        .info-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
        }

        .cigarette-icon {
            font-size: 32px;
            margin: 6px;
            transition: all 0.3s ease;
            display: inline-block;
            cursor: pointer;
        }

        .cigarette-icon:hover {
            transform: scale(1.3) rotate(5deg);
            filter: drop-shadow(0 3px 10px rgba(255, 99, 71, 0.5));
        }

        .floating-animation {
            animation: float 4s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            25% { transform: translateY(-15px) rotate(2deg); }
            50% { transform: translateY(-10px) rotate(0deg); }
            75% { transform: translateY(-20px) rotate(-2deg); }
        }

        .pulse-animation {
            animation: pulse 3s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.08); }
        }

        .bounce-animation {
            animation: bounce 2s ease-in-out infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-20px); }
            60% { transform: translateY(-10px); }
        }

        .rotate-animation {
            animation: rotate 8s linear infinite;
        }

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

        .gradient-text {
            background: linear-gradient(135deg, #ff6b6b, #ffa500, #ff6b6b);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradient-shift 3s ease-in-out infinite;
        }

        @keyframes gradient-shift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .search-container {
            position: relative;
            max-width: 600px;
            margin: 0 auto;
        }

        .search-input {
            background: rgba(255, 255, 255, 0.2);
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50px;
            color: white;
            font-size: 18px;
            font-weight: 500;
            padding: 18px 70px 18px 28px;
            width: 100%;
            transition: all 0.4s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: rgba(255, 255, 255, 0.7);
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
            transform: scale(1.02);
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.8);
            font-weight: 400;
        }

        .search-btn {
            position: absolute;
            right: 6px;
            top: 6px;
            bottom: 6px;
            width: 55px;
            background: linear-gradient(135deg, #ff6b6b, #ffa500);
            border: none;
            border-radius: 50px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 18px;
        }

        .search-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
        }

        .result-card {
            background: rgba(255, 255, 255, 0.98);
            border-radius: 24px;
            padding: 40px;
            margin-top: 30px;
            margin-bottom: 50px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
            transform: translateY(30px);
            opacity: 0;
            transition: all 0.6s ease;
            position: relative;
            z-index: 10;
        }

        .result-card.show {
            transform: translateY(0);
            opacity: 1;
        }

        .cigarette-counter {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin: 25px 0;
            min-height: 150px;
            padding: 30px;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
            border-radius: 20px;
            border: 2px solid rgba(0, 0, 0, 0.1);
            line-height: 1.2;
        }

        .time-selector {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin: 25px 0;
        }

        .time-btn {
            padding: 12px 25px;
            border: 3px solid #e0e0e0;
            background: white;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 16px;
        }

        .time-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .search-input::-webkit-outer-spin-button,
        .search-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .search-input[type=number] {
            -moz-appearance: textfield;
        }

        .time-btn.active {
            background: linear-gradient(135deg, #ff6b6b, #ffa500);
            color: white;
            border-color: transparent;
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
            transform: translateY(-3px);
        }

        .health-warning {
            background: linear-gradient(135deg, #ff4757, #ff3838);
            color: white;
            padding: 25px;
            border-radius: 20px;
            margin-top: 25px;
            text-align: center;
            animation: warning-pulse 2s ease-in-out infinite;
        }

        @keyframes warning-pulse {
            0%, 100% { box-shadow: 0 0 20px rgba(255, 71, 87, 0.3); }
            50% { box-shadow: 0 0 40px rgba(255, 71, 87, 0.6); }
        }

        .aqi-level {
            display: inline-block;
            padding: 8px 20px;
            border-radius: 25px;
            font-weight: 700;
            margin: 15px 0;
            font-size: 18px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .aqi-good { background: linear-gradient(135deg, #00e676, #00c853); color: white; }
        .aqi-moderate { background: linear-gradient(135deg, #ffeb3b, #ffc107); color: #333; }
        .aqi-unhealthy-sensitive { background: linear-gradient(135deg, #ff9800, #ff6f00); color: white; }
        .aqi-unhealthy { background: linear-gradient(135deg, #f44336, #d32f2f); color: white; }
        .aqi-very-unhealthy { background: linear-gradient(135deg, #9c27b0, #7b1fa2); color: white; }
        .aqi-hazardous { background: linear-gradient(135deg, #795548, #5d4037); color: white; }

        .smoke-effect {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(200, 200, 200, 0.7);
            border-radius: 50%;
            animation: smoke 2s ease-out infinite;
        }

        @keyframes smoke {
            0% { transform: translateY(0) scale(1); opacity: 1; }
            100% { transform: translateY(-20px) scale(0); opacity: 0; }
        }

        .large-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            display: block;
            text-align: center;
        }

        .info-section {
            position: relative;
            overflow: hidden;
            clear: both;
            margin-top: 20px;
        }

        .info-section:first-of-type {
            margin-top: 60px;
        }

        .info-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.5s;
        }

        .info-section:hover::before {
            left: 100%;
        }

        .footer {
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            color: white;
            padding: 40px 0 20px;
            margin-top: 60px;
        }

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

        .social-icons a {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.5rem;
            margin: 0 10px;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            color: #ff6b6b;
            transform: translateY(-3px);
        }

        .health-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 25px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .health-card:hover {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
            transform: translateY(-5px);
        }

        .icon-bounce:hover {
            animation: bounce 1s ease-in-out;
        }

        .sparkle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            animation: sparkle 2s ease-in-out infinite;
        }

        @keyframes sparkle {
            0%, 100% { opacity: 0; transform: scale(0); }
            50% { opacity: 1; transform: scale(1); }
        }