 * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }


      .time-converter-wrapper {
	color: #f8f9fa;
	padding: 20px;
	background: #728fe6;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
	border-radius: 15px;
}

        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            animation: float 15s infinite ease-in-out;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) translateX(0); }
            25% { transform: translateY(-20px) translateX(10px); }
            50% { transform: translateY(-35px) translateX(-15px); }
            75% { transform: translateY(-15px) translateX(25px); }
        }

        .main-container {
            max-width: 100%;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
            border-radius: 30px;
            padding: 30px;
            transition: background 0.5s ease;
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
            padding: 30px;
            margin-bottom: 25px;
            transition: all 0.3s ease;
        }

        .glass-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px 0 rgba(31, 38, 135, 0.47);
        }

        .header {
            text-align: center;
            margin-bottom: 30px;
        }

        .logo {
            width: 80px;
            height: 80px;
            background: linear-gradient(45deg, #ff6b6b, #feca57);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .logo-inner {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
            color: #182848;
        }

        .title {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 10px;
            background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #1dd1a1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 20px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        .countdown-title {
            font-size: 1.5rem;
            margin-bottom: 25px;
            color: #feca57;
            text-align: center;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .countdown-display {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 25px;
        }


       .time-unit {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 15px;
	padding: 20px;
	min-width: 120px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	width: 30%;
}

        .time-unit:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }

        .time-number {
            font-size: 3.5rem;
            font-weight: 700;
            display: block;
            text-align: center;
            margin-bottom: 5px;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }

        .time-label {
            font-size: 1rem;
            opacity: 0.9;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-align: center;
            display: block;
            font-weight: 500;
        }

        .progress-container {
            margin-bottom: 30px;
        }

        .progress-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .progress-bar {
            width: 100%;
            height: 10px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #ff6b6b, #feca57);
            border-radius: 10px;
            transition: width 1s ease;
        }

        .controls-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }

        .panel-title {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: #feca57;
            text-align: center;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }

        .panel-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, #ff6b6b, #feca57);
            border-radius: 3px;
        }

        .current-time {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: #48dbfb;
            margin-bottom: 20px;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }

        .timezone-select {
            width: 100%;
            padding: 15px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.2);
            color: white;
            font-size: 1rem;
            margin-bottom: 15px;
            cursor: pointer;
        }

        .timezone-select:focus {
            outline: none;
            border-color: #feca57;
        }

        .timezone-select option {
            background: #182848;
            color: white;
        }

        .custom-time {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }


        .time-input {
	flex: 1;
	padding: 15px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.2);
	color: white;
	text-align: center;
	font-size: 1.1rem;
	font-size: 22px !important;
	border: 1px solid #8b9de1 !important;
	border-radius: 6px !important;
}

        .time-input:focus {
            outline: none;
            border-color: #feca57;
        }

        .btn {
            padding: 15px 25px;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .btn-primary {
            background: linear-gradient(45deg, #feca57, #ff9f43);
            color: #2c3e50;
            width: 100%;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }

        .analog-clock {
            width: 200px;
            height: 200px;
            border: 5px solid rgba(254, 202, 87, 0.7);
            border-radius: 50%;
            position: relative;
            margin: 0 auto 20px;
            background: rgba(0, 0, 0, 0.2);
            box-shadow: 0 0 30px rgba(254, 202, 87, 0.3), inset 0 0 30px rgba(0, 0, 0, 0.3);
        }

        .clock-face {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .clock-hour-marks {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .clock-hour-mark {
            position: absolute;
            width: 3px;
            height: 15px;
            background: rgba(255, 255, 255, 0.8);
            left: 50%;
            margin-left: -1.5px;
            transform-origin: 50% 100px;
            top: 5px;
        }

        .clock-hand {
            position: absolute;
            background: #ff6b6b;
            transform-origin: bottom center;
            border-radius: 10px;
            left: 50%;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        }

        .hour-hand {
            width: 6px;
            height: 60px;
            top: 40px;
            margin-left: -3px;
            background: #feca57;
        }

        .minute-hand {
            width: 4px;
            height: 80px;
            top: 20px;
            margin-left: -2px;
            background: #48dbfb;
        }

        .second-hand {
            width: 2px;
            height: 90px;
            top: 10px;
            margin-left: -1px;
            background: #ff6b6b;
        }

        .center-dot {
            width: 12px;
            height: 12px;
            background: #feca57;
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
            z-index: 10;
        }

        .digital-time {
            font-size: 1.5rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 10px;
        }

        .time-stats {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .stat-item {
            display: flex;
            justify-content: space-between;
            padding: 10px;
            background: rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            font-size: 1rem;
        }

        .stat-value {
            font-weight: 600;
            color: #feca57;
        }

        .next-occurrence {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .occurrence-item {
            display: flex;
            justify-content: space-between;
            padding: 10px;
            background: rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            font-size: 1rem;
        }

        .occurrence-value {
            font-weight: 600;
            color: #48dbfb;
        }

        .time-format-toggle {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .format-btn {
            flex: 1;
            padding: 10px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.2);
            color: white;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .format-btn.active {
            background: rgba(254, 202, 87, 0.3);
            border-color: #feca57;
            color: #feca57;
        }

        .format-btn:hover {
            background: rgba(0, 0, 0, 0.3);
        }

        .content-section {
            margin-top: 50px;
        }

        .content-title {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 30px;
            text-align: center;
            color: #feca57;
            position: relative;
            padding-bottom: 15px;
        }

        .content-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #ff6b6b, #feca57);
            border-radius: 4px;
        }

        .content-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .content-card {
            height: 100%;
            transition: all 0.3s ease;
        }

        .content-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px 0 rgba(31, 38, 135, 0.47);
        }

        .content-card-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: #48dbfb;
            position: relative;
            padding-bottom: 10px;
        }

        .content-card-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: #48dbfb;
            border-radius: 3px;
        }

        .content-text {
            line-height: 1.8;
            opacity: 0.9;
            margin-bottom: 20px;
            font-size: 1.05rem;
        }

        .content-list {
            list-style: none;
        }

        .content-list li {
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            padding-left: 30px;
            font-size: 1.05rem;
        }

        .content-list li:before {
            content: "✓";
            color: #feca57;
            font-weight: bold;
            position: absolute;
            left: 0;
            top: 12px;
        }

    /* ≤ 992px */
@media (max-width: 992px) {
  .time-converter-wrapper {
    padding: 15px !important;
  }
  .main-container {
    padding: 20px !important;
  }
  /* Header logo/title/subtitle adjustments */
  .logo {
    width: 60px !important;
    height: 60px !important;
  }
  .logo-inner {
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
  }
  .title {
    font-size: 2.5rem !important;
  }
  .subtitle {
    font-size: 1rem !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Navigation menu wraps and items */
  .converter-nav-menu {
    gap: 10px !important;
  }
  .nav-menu-item {
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
  }
  /* Countdown display: two-per-row */
  .countdown-display {
    gap: 15px !important;
  }
  .time-unit {
    width: 45% !important;
    min-width: 140px !important;
    padding: 15px !important;
  }
  .time-number {
    font-size: 3rem !important;
  }
  .time-label {
    font-size: 0.9rem !important;
  }
  /* Controls grid becomes two columns */
  .controls-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
  }
  .panel-title {
    font-size: 1.2rem !important;
    margin-bottom: 15px !important;
  }
  .current-time {
    font-size: 2rem !important;
  }
  .timezone-select {
    font-size: 0.95rem !important;
    padding: 12px !important;
  }
  .time-input {
    font-size: 1rem !important;
    padding: 12px !important;
  }
  .btn {
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }
  /* Features grid becomes two columns */
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 20px !important;
  }
  /* Analog clock max-width reduces */
  .analog-clock {
    max-width: 180px !important;
  }
  /* Time-stats/next-occurrence one column */
  .time-stats,
  .next-occurrence {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .stat-item,
  .occurrence-item {
    padding: 8px !important;
    font-size: 0.9rem !important;
  }
  /* Time-format-toggle smaller gap */
  .time-format-toggle {
    gap: 8px !important;
  }
  .format-btn {
    font-size: 0.9rem !important;
    padding: 8px !important;
  }
  /* Content section adjustments */
  .content-title {
    font-size: 2rem !important;
    margin-bottom: 20px !important;
  }
  .content-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
  }
  .content-card-title {
    font-size: 1.3rem !important;
  }
  .content-text,
  .content-list li {
    font-size: 1rem !important;
  }
}

/* ≤ 768px */
@media (max-width: 768px) {
  .time-converter-wrapper {
    padding: 10px !important;
  }
  .main-container {
    padding: 15px !important;
  }
  /* Header shrink */
  .logo {
    width: 50px !important;
    height: 50px !important;
  }
  .logo-inner {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }
  .title {
    font-size: 2rem !important;
  }
  .subtitle {
    font-size: 0.9rem !important;
    max-width: 100% !important;
    margin: 0 10px !important;
  }
  /* Nav menu vertical */
  .converter-nav-menu {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .nav-menu-item {
    width: 100% !important;
    padding: 10px !important;
    font-size: 0.9rem !important;
  }
  /* Countdown one-per-row */
  .countdown-display {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .time-unit {
    width: 100% !important;
    padding: 12px !important;
    margin-bottom: 10px !important;
  }
  .time-number {
    font-size: 2.5rem !important;
  }
  .time-label {
    font-size: 0.85rem !important;
  }
  /* Controls grid one-column */
  .controls-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  .panel-title {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
  }
  .current-time {
    font-size: 1.75rem !important;
  }
  .timezone-select {
    font-size: 0.9rem !important;
    padding: 10px !important;
  }
  .time-input {
    font-size: 0.95rem !important;
    padding: 10px !important;
  }
  .btn {
    padding: 10px 15px !important;
    font-size: 0.9rem !important;
  }
  /* Features grid one-column */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  /* Analog clock smaller */
  .analog-clock {
    max-width: 160px !important;
  }
  /* Time-stats/next-occurrence spacing */
  .time-stats,
  .next-occurrence {
    gap: 8px !important;
  }
  .stat-item,
  .occurrence-item {
    font-size: 0.85rem !important;
    padding: 8px !important;
  }
  /* Time-format-toggle vertical */
  .time-format-toggle {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .format-btn {
    padding: 8px !important;
    font-size: 0.85rem !important;
  }
  /* Content adjustments */
  .content-title {
    font-size: 1.75rem !important;
    margin-bottom: 15px !important;
  }
  .content-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  .content-card-title {
    font-size: 1.2rem !important;
  }
  .content-text,
  .content-list li {
    font-size: 0.95rem !important;
  }
}

/* ≤ 600px */
@media (max-width: 600px) {
  .time-converter-wrapper {
    padding: 8px !important;
  }
  .main-container {
    padding: 10px !important;
  }
  /* Header minimal */
  .logo {
    width: 45px !important;
    height: 45px !important;
  }
  .logo-inner {
    width: 35px !important;
    height: 35px !important;
    font-size: 16px !important;
  }
  .title {
    font-size: 1.75rem !important;
  }
  .subtitle {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
  /* Countdown spacing */
  .countdown-display {
    gap: 8px !important;
  }
  .time-unit {
    padding: 10px !important;
  }
  .time-number {
    font-size: 2rem !important;
  }
  .time-label {
    font-size: 0.8rem !important;
  }
  /* Controls grid one-column */
  .controls-grid {
    gap: 10px !important;
  }
  .panel-title {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
  }
  .current-time {
    font-size: 1.5rem !important;
  }
  .timezone-select {
    font-size: 0.85rem !important;
    padding: 8px !important;
  }
  .time-input {
    font-size: 0.9rem !important;
    padding: 8px !important;
  }
  .btn {
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
  }
  /* Features grid one-column */
  .features-grid {
    gap: 10px !important;
  }
  /* Analog clock minimal */
  .analog-clock {
    max-width: 140px !important;
  }
  /* Time-stats/next-occurrence spacing */
  .time-stats,
  .next-occurrence {
    gap: 6px !important;
  }
  .stat-item,
  .occurrence-item {
    font-size: 0.85rem !important;
    padding: 6px !important;
  }
  .format-btn {
    font-size: 0.8rem !important;
    padding: 6px !important;
  }
  /* Content minimal */
  .content-title {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
  }
  .content-text,
  .content-list li {
    font-size: 0.9rem !important;
  }
}

/* ≤ 400px */
@media (max-width: 400px) {
  .time-converter-wrapper {
    padding: 5px !important;
  }
  .main-container {
    padding: 8px !important;
  }
  /* Header & logo tiny */
  .logo {
    width: 40px !important;
    height: 40px !important;
  }
  .logo-inner {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
  }
  .title {
    font-size: 1.5rem !important;
    letter-spacing: 1px !important;
  }
  .subtitle {
    font-size: 0.8rem !important;
    margin: 0 5px !important;
  }
  /* Nav items very small */
  .nav-menu-item {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }
  /* Countdown one-per-row */
  .countdown-display {
    gap: 6px !important;
  }
  .time-unit {
    padding: 8px !important;
  }
  .time-number {
    font-size: 1.75rem !important;
  }
  .time-label {
    font-size: 0.75rem !important;
  }
  /* Controls grid single-column */
  .controls-grid {
    gap: 8px !important;
  }
  .panel-title {
    font-size: 0.9rem !important;
  }
  .current-time {
    font-size: 1.25rem !important;
  }
  .timezone-select {
    font-size: 0.8rem !important;
    padding: 6px !important;
  }
  .time-input {
    font-size: 0.85rem !important;
    padding: 6px !important;
  }
  .btn {
    padding: 6px 10px !important;
    font-size: 0.8rem !important;
  }
  /* Features grid one-column */
  .features-grid {
    gap: 8px !important;
  }
  /* Analog clock tiny */
  .analog-clock {
    max-width: 120px !important;
  }
  /* Time-stats/next-occurrence very compact */
  .time-stats,
  .next-occurrence {
    gap: 4px !important;
  }
  .stat-item,
  .occurrence-item {
    font-size: 0.8rem !important;
    padding: 4px !important;
  }
  .format-btn {
    font-size: 0.75rem !important;
    padding: 5px !important;
  }
  /* Content ultra-compact */
  .content-title {
    font-size: 1.25rem !important;
  }
  .content-text,
  .content-list li {
    font-size: 0.85rem !important;
  }
}

/* ≤ 375px */
@media (max-width: 375px) {
  .time-converter-wrapper {
    border-radius: 10px !important;
  }
  .main-container {
    border-radius: 20px !important;
    padding: 5px !important;
  }
  /* Header smallest */
  .logo {
    width: 35px !important;
    height: 35px !important;
  }
  .logo-inner {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
  .title {
    font-size: 1.25rem !important;
    letter-spacing: 1px !important;
  }
  .subtitle {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }
  /* Nav items tight */
  .converter-nav-menu {
    gap: 5px !important;
  }
  .nav-menu-item {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }
  /* Countdown minimal margins */
  .countdown-display {
    gap: 5px !important;
  }
  .time-unit {
    padding: 6px !important;
  }
  .time-number {
    font-size: 1.5rem !important;
  }
  .time-label {
    font-size: 0.7rem !important;
  }
  /* Controls grid single-column */
  .controls-grid {
    gap: 6px !important;
  }
  .panel-title {
    font-size: 0.85rem !important;
  }
  .current-time {
    font-size: 1rem !important;
  }
  .timezone-select {
    font-size: 0.75rem !important;
    padding: 5px !important;
  }
  .time-input {
    font-size: 0.8rem !important;
    padding: 5px !important;
  }
  .btn {
    padding: 5px 8px !important;
    font-size: 0.75rem !important;
  }
  /* Features grid single-column */
  .features-grid {
    gap: 6px !important;
  }
  /* Analog clock smallest */
  .analog-clock {
    max-width: 100px !important;
  }
  /* Time-stats/next-occurrence very tight */
  .time-stats,
  .next-occurrence {
    gap: 2px !important;
  }
  .stat-item,
  .occurrence-item {
    font-size: 0.75rem !important;
    padding: 4px !important;
  }
  .format-btn {
    font-size: 0.7rem !important;
    padding: 4px !important;
  }
  /* Content minimal text */
  .content-title {
    font-size: 1rem !important;
  }
  .content-text,
  .content-list li {
    font-size: 0.8rem !important;
  }
}