        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        :root {
            --bg-dark: linear-gradient(to bottom, #1e3c72 0%, #2a5298 50%, #292348 100%);
            --bg-light: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
            --card-dark: rgba(0, 0, 0, 0.2);
            --card-light: rgba(255, 255, 255, 0.8);
            --text-dark: #e2e8f0;
            --text-light: #1e293b;
            --accent: #0099ff;
            --border-dark: rgba(255, 255, 255, 0.1);
            --border-light: rgba(203, 213, 225, 0.5);
        }

        body {
            min-height: 100vh;
            background: var(--bg-dark);
            color: var(--text-dark);
            transition: all 0.5s ease;
        }

        body.light-mode {
            background: var(--bg-light);
            color: var(--text-light);
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(30, 60, 114, 0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-dark);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

        body.light-mode .navbar {
            background: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid var(--border-light);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--accent);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
        }

        .logo-icon i {
            color: white;
            font-size: 1.25rem;
        }

        .logo-text h1 {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
            letter-spacing: 1px;
        }

        .logo-text p {
            font-size: 0.75rem;
            opacity: 0.7;
            margin: 0;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            position: relative;
            transition: color 0.3s;
        }

        body.light-mode .nav-link {
            color: #64748b;
        }

        .nav-link:hover,
        .nav-link.active {
            color: white;
        }

        body.light-mode .nav-link:hover,
        body.light-mode .nav-link.active {
            color: var(--accent);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            border-radius: 2px;
            transition: width 0.3s;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .theme-toggle {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
            transition: all 0.3s;
            color: inherit;
            font-size: 1.1rem;
        }

        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(20deg) scale(1.1);
        }

        body.light-mode .theme-toggle:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            color: inherit;
            padding: 0.5rem;
            font-size: 1.25rem;
        }

        .mobile-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(30, 60, 114, 0.98);
            backdrop-filter: blur(12px);
            border-top: 1px solid var(--border-dark);
            padding: 1rem;
        }

        body.light-mode .mobile-menu {
            background: rgba(255, 255, 255, 0.98);
            border-top: 1px solid var(--border-light);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu a {
            display: block;
            padding: 0.75rem;
            color: inherit;
            text-decoration: none;
            border-bottom: 1px solid var(--border-dark);
            transition: all 0.3s;
        }

        body.light-mode .mobile-menu a {
            border-bottom: 1px solid var(--border-light);
        }

        .mobile-menu a:hover {
            color: var(--accent);
            padding-left: 1.25rem;
        }

        /* Main Content */
        .main-content {
            max-width: 1000px;
            margin: 0 auto;
            padding: 7rem 1.5rem 3rem;
        }

        /* Search Section */
        .search-section {
            margin-bottom: 2.5rem;
        }

        .search-box {
            display: flex;
            max-width: 500px;
            margin: 0 auto;
            gap: 0.75rem;
        }

        .search-input {
            flex: 1;
            padding: 1rem 1.5rem;
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.1);
            color: inherit;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s;
        }

        body.light-mode .search-input {
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid var(--border-light);
        }

        .search-input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.2);
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        body.light-mode .search-input::placeholder {
            color: #94a3b8;
        }

        .search-btn {
            padding: 1rem 2rem;
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
        }

        .search-btn:hover {
            background: #0077cc;
            transform: scale(1.05);
        }

        .search-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .search-btn i {
            font-size: 0.9rem;
        }

        .error-msg {
            color: #ff6b6b;
            text-align: center;
            margin-top: 0.75rem;
            font-size: 0.875rem;
            display: none;
        }

        .error-msg.show {
            display: block;
        }

        /* Loading */
        .loading {
            text-align: center;
            padding: 4rem 0;
        }

        .loading.hidden {
            display: none;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top-color: var(--accent);
            border-radius: 50%;
            margin: 0 auto 1rem;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .loading p {
            opacity: 0.7;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.7; }
            50% { opacity: 0.4; }
        }

        /* Weather Content */
        .weather-content {
            display: none;
        }

        .weather-content.show {
            display: block;
            animation: fadeIn 0.6s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Weather Card */
        .weather-card {
            background: var(--card-dark);
            border: 1px solid var(--border-dark);
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 1.5rem;
            backdrop-filter: blur(12px);
            transition: all 0.3s ease;
        }

        body.light-mode .weather-card {
            background: var(--card-light);
            border: 1px solid var(--border-light);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        .weather-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .weather-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .city-name {
            font-size: 2.5rem;
            font-weight: 300;
            margin-bottom: 0.25rem;
        }

        .current-date {
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .weather-main {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .weather-icon-wrap {
            position: relative;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .weather-icon {
            width: 120px;
            height: 120px;
            filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
        }

        .weather-info {
            text-align: center;
        }

        .temperature {
            font-size: 6rem;
            font-weight: 700;
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .condition {
            font-size: 1.5rem;
            opacity: 0.9;
            margin-bottom: 0.25rem;
        }

        .feels-like {
            font-size: 0.9rem;
            opacity: 0.6;
        }

        /* Details Grid */
        .details-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .detail-item {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 1.25rem;
            text-align: center;
            transition: all 0.3s;
        }

        body.light-mode .detail-item {
            background: rgba(255, 255, 255, 0.6);
        }

        .detail-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        body.light-mode .detail-item:hover {
            background: rgba(255, 255, 255, 0.8);
        }

        .detail-icon {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            opacity: 0.8;
        }

        .detail-label {
            font-size: 0.75rem;
            opacity: 0.6;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.25rem;
        }

        .detail-value {
            font-size: 1.25rem;
            font-weight: 700;
        }

        /* Forecast Section */
        .forecast-section {
            margin-top: 2rem;
        }

        .section-title {
            text-align: center;
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border-dark);
        }

        body.light-mode .section-title {
            border-bottom: 1px solid var(--border-light);
        }

        .forecast-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }

        .forecast-card {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid var(--border-dark);
            border-radius: 16px;
            padding: 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        body.light-mode .forecast-card {
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid var(--border-light);
        }

        .forecast-card:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
        }

        body.light-mode .forecast-card:hover {
            background: rgba(255, 255, 255, 0.8);
        }

        .forecast-day {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            opacity: 0.8;
        }

        .forecast-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 0.75rem;
        }

        .forecast-temps {
            display: flex;
            justify-content: center;
            align-items: baseline;
            gap: 0.5rem;
        }

        .temp-high {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .temp-low {
            font-size: 0.9rem;
            opacity: 0.6;
        }

        /* Features Section */
        .features-section {
            width: 80%;
            margin: auto;
            padding: 4rem 0;
            border-top: 1px solid var(--border-dark);
            margin-top: 3rem;
        }

        body.light-mode .features-section {
            border-top: 1px solid var(--border-light);
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        .feature-card {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid var(--border-dark);
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        body.light-mode .feature-card {
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid var(--border-light);
        }

        .feature-card:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
        }

        body.light-mode .feature-card:hover {
            background: rgba(255, 255, 255, 0.8);
        }

        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--accent);
        }

        .feature-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .feature-card p {
            font-size: 0.875rem;
            opacity: 0.7;
            line-height: 1.6;
        }

        /* About Section */
        .about-section {
            padding: 4rem 0;
            border-top: 1px solid var(--border-dark);
            text-align: center;
        }

        body.light-mode .about-section {
            border-top: 1px solid var(--border-light);
        }

        .about-section h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .about-section p {
            max-width: 600px;
            margin: 0 auto;
            font-size: 1rem;
            opacity: 0.8;
            line-height: 1.8;
        }

        /* Contact Section */
        .contact-section {
            padding: 4rem 0;
            border-top: 1px solid var(--border-dark);
            text-align: center;
        }

        body.light-mode .contact-section {
            border-top: 1px solid var(--border-light);
        }

        .contact-section h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 2rem;
        }

        .contact-grid {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            max-width: 700px;
            margin: 0 auto;
        }

        .contact-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 0.5rem;
            border-radius: 16px;
            min-width: 140px;
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
        }

        body.light-mode .contact-item {
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid var(--border-light);
        }

        .contact-item:hover {
            /* background: rgba(255, 255, 255, 0.2); */
            transform: translateY(-5px);
            border-color: var(--accent);
        }

        body.light-mode .contact-item:hover {
            background: rgba(255, 255, 255, 0.8);
        }

        .contact-icon-wrap {
            width: 56px;
            height: 56px;
            background: var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
            transition: all 0.3s;
        }

        .contact-item:hover .contact-icon-wrap {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 153, 255, 0.4);
        }

        .contact-icon-wrap i {
            color: white;
            font-size: 1.5rem;
        }

        .contact-label {
            font-size: 0.9rem;
            font-weight: 500;
            opacity: 0.9;
        }

        /* Footer */
        .footer {
            border-top: 1px solid var(--border-dark);
            padding: 1.5rem 0;
            margin-top: 3rem;
        }

        body.light-mode .footer {
            border-top: 1px solid var(--border-light);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            font-size: 0.875rem;
            opacity: 0.6;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
        }

        .footer-logo i {
            color: var(--accent);
            font-size: 1.25rem;
        }

        .footer-links {
            display: flex;
            gap: 1.5rem;
        }

        .footer-links a {
            color: inherit;
            text-decoration: none;
            transition: opacity 0.3s;
        }

        .footer-links a:hover {
            opacity: 1;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .weather-main {
                flex-direction: column;
                gap: 1.5rem;
            }

            .temperature {
                font-size: 4rem;
            }

            .details-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .forecast-grid {
                grid-template-columns: 1fr;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .contact-grid {
                gap: 1rem;
            }

            .contact-item {
                min-width: 120px;
                padding: 1rem;
            }

            .footer-content {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .search-box {
                flex-direction: column;
            }

            .search-btn {
                justify-content: center;
            }

            .temperature {
                font-size: 3.5rem;
            }

            .details-grid {
                grid-template-columns: 1fr;
            }

            .city-name {
                font-size: 1.75rem;
            }

            .contact-grid {
                flex-direction: column;
                align-items: center;
            }

            .contact-item {
                width: 100%;
                max-width: 200px;
            }
        }
    