* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Montserrat', sans-serif; background-color: #000; color: #fff; overflow-x: hidden; position: relative; height: 100vh; width: 100vw; } #background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.7) saturate(1.2); } .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0, 50, 80, 0.2), rgba(0, 20, 40, 0.6)); z-index: -1; } .water-effect { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,'); background-size: 200px; opacity: 0.3; animation: wave 10s linear infinite; z-index: -1; pointer-events: none; } @keyframes wave { 0% { background-position: 0 0; } 100% { background-position: 200px 0; } } .bubbles { position: fixed; width: 100%; height: 100%; overflow: hidden; z-index: 0; pointer-events: none; } .bubble { position: absolute; bottom: -100px; width: 40px; height: 40px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.3)); border-radius: 50%; opacity: 0.4; animation: rise 15s infinite ease-in; box-shadow: 0 0 5px rgba(255, 255, 255, 0.3); } .bubble:nth-child(1) { width: 20px; height: 20px; left: 20%; animation-duration: 16s; } .bubble:nth-child(2) { width: 25px; height: 25px; left: 80%; animation-duration: 18s; animation-delay: 3s; } .bubble:nth-child(3) { width: 30px; height: 30px; left: 55%; animation-duration: 17s; animation-delay: 6s; } @keyframes rise { 0% { bottom: -100px; transform: translateX(0) rotate(0); } 30% { transform: translateX(20px) rotate(10deg); } 60% { transform: translateX(-20px) rotate(-5deg); } 100% { bottom: 120%; transform: translateX(0) rotate(0); } } .container { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; z-index: 1; padding: 20px; overflow-y: auto; } .logo { width: 80%; max-width: 500px; margin-bottom: 30px; filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5)); animation: underwater-logo 5s infinite ease-in-out; transform-origin: center; } @keyframes underwater-logo { 0% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)) brightness(1); } 25% { transform: scale(1.01) translateY(-5px); filter: drop-shadow(0 0 15px rgba(100, 200, 255, 0.6)) brightness(1.1); } 50% { transform: scale(1.02) translateY(0); filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7)) brightness(1.2); } 75% { transform: scale(1.01) translateY(5px); filter: drop-shadow(0 0 15px rgba(100, 200, 255, 0.6)) brightness(1.1); } 100% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)) brightness(1); } } .nav-buttons { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 550px; } .tagline { font-size: 1.5rem; text-align: center; margin-bottom: 25px; font-weight: 600; color: #ffffff; text-shadow: 0 0 15px rgba(100, 200, 255, 0.8); opacity: 0.9; max-width: 800px; letter-spacing: 1px; background: linear-gradient(to right, #ffffff, #a0d8ff, #ffffff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .countdown-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; perspective: 1000px; } .countdown-box { display: flex; flex-direction: column; align-items: center; background: rgba(0, 20, 40, 0.7); backdrop-filter: blur(10px); border-radius: 15px; padding: 20px; min-width: 120px; border: 1px solid rgba(100, 200, 255, 0.2); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 15px rgba(100, 200, 255, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; transform-style: preserve-3d; } .countdown-box:hover { transform: translateY(-8px) rotateX(5deg); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(100, 200, 255, 0.3); border-color: rgba(100, 200, 255, 0.4); } .countdown-value { font-size: 3.5rem; font-weight: 800; color: #ffffff; margin-bottom: 8px; text-shadow: 0 0 10px rgba(100, 200, 255, 0.8); background: linear-gradient(to bottom, #ffffff, #a0d8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .countdown-label { font-size: 0.9rem; font-weight: 500; color: #a0d8ff; text-transform: uppercase; letter-spacing: 2px; } /* Glass Button Styles */ .button-wrap { position: relative; z-index: 2; border-radius: 999vw; background: transparent; pointer-events: none; transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1); margin: 0 5px; flex-grow: 1; max-width: 250px; } .button-shadow { --shadow-cuttoff-fix: 2em; position: absolute; width: calc(100% + var(--shadow-cuttoff-fix)); height: calc(100% + var(--shadow-cuttoff-fix)); top: calc(0% - var(--shadow-cuttoff-fix) / 2); left: calc(0% - var(--shadow-cuttoff-fix) / 2); filter: blur(clamp(2px, 0.125em, 12px)); -webkit-filter: blur(clamp(2px, 0.125em, 12px)); -moz-filter: blur(clamp(2px, 0.125em, 12px)); -ms-filter: blur(clamp(2px, 0.125em, 12px)); overflow: visible; pointer-events: none; } .button-shadow::after { content: ""; position: absolute; z-index: 0; inset: 0; border-radius: 999vw; background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)); width: calc(100% - var(--shadow-cuttoff-fix) - 0.25em); height: calc(100% - var(--shadow-cuttoff-fix) - 0.25em); top: calc(var(--shadow-cuttoff-fix) - 0.5em); left: calc(var(--shadow-cuttoff-fix) - 0.875em); padding: 0.125em; box-sizing: border-box; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1); overflow: visible; opacity: 1; } button { /* Basic Styling */ --border-width: clamp(1px, 0.0625em, 4px); all: unset; width: 100%; cursor: pointer; position: relative; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); pointer-events: auto; z-index: 3; background: linear-gradient( -75deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) ); border-radius: 999vw; box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05), inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.3), 0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2), 0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.15), 0 0 0 0 rgba(255, 255, 255, 1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); -moz-backdrop-filter: blur(10px); -ms-backdrop-filter: blur(10px); transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1); display: flex; justify-content: center; align-items: center; text-align: center; } button:hover { transform: scale(0.975); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); -moz-backdrop-filter: blur(12px); -ms-backdrop-filter: blur(12px); box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05), inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.3), 0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.25), 0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.4), 0 0 0 0 rgba(255, 255, 255, 1); background: linear-gradient( -75deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05) ); } button span { position: relative; display: block; width: 100%; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; font-family: 'Montserrat', sans-serif; letter-spacing: 0.5px; font-weight: 800; /* Changed from 600 to 800 for bolder text */ font-size: 1rem; color: white; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-shadow: 0 0 8px rgba(100, 200, 255, 0.5); transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1); padding: 0.8em 1.5em; background: linear-gradient(to bottom, #ffffff, #a0d8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } button:hover span { text-shadow: 0 0 12px rgba(100, 200, 255, 0.7); } button span::after { content: ""; display: block; position: absolute; z-index: 1; width: calc(100% - var(--border-width)); height: calc(100% - var(--border-width)); top: calc(0% + var(--border-width) / 2); left: calc(0% + var(--border-width) / 2); box-sizing: border-box; border-radius: 999vw; overflow: clip; background: linear-gradient( -45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 40% 50%, rgba(255, 255, 255, 0) 55% ); z-index: 3; mix-blend-mode: screen; pointer-events: none; background-size: 200% 200%; background-position: 0% 50%; background-repeat: no-repeat; transition: background-position calc(400ms * 1.25) cubic-bezier(0.25, 1, 0.5, 1); } button:hover span::after { background-position: 25% 50%; } button:active span::after { background-position: 50% 15%; } button::after { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: 999vw; width: calc(100% + var(--border-width)); height: calc(100% + var(--border-width)); top: calc(0% - var(--border-width) / 2); left: calc(0% - var(--border-width) / 2); padding: var(--border-width); box-sizing: border-box; background: conic-gradient( from -75deg at 50% 50%, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 5% 40%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 60% 95%, rgba(0, 0, 0, 0.3) ), linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1); box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255, 255, 255, 0.4); } button:hover::after { --angle-1: -125deg; } button:active::after { --angle-1: -75deg; } .button-wrap:has(button:hover) .button-shadow { filter: blur(clamp(2px, 0.0625em, 6px)); -webkit-filter: blur(clamp(2px, 0.0625em, 6px)); -moz-filter: blur(clamp(2px, 0.0625em, 6px)); -ms-filter: blur(clamp(2px, 0.0625em, 6px)); transition: filter 400ms cubic-bezier(0.25, 1, 0.5, 1); } .button-wrap:has(button:hover) .button-shadow::after { top: calc(var(--shadow-cuttoff-fix) - 0.875em); opacity: 1; } .button-wrap:has(button:active) { transform: rotate3d(1, 0, 0, 25deg); } .button-wrap:has(button:active) button { box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05), inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.3), 0 0.125em 0.125em -0.125em rgba(0, 0, 0, 0.2), 0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.15), 0 0.225em 0.05em 0 rgba(0, 0, 0, 0.05), 0 0.25em 0 0 rgba(255, 255, 255, 0.5), inset 0 0.25em 0.05em 0 rgba(0, 0, 0, 0.15); } .button-wrap:has(button:active) .button-shadow { filter: blur(clamp(2px, 0.125em, 12px)); -webkit-filter: blur(clamp(2px, 0.125em, 12px)); -moz-filter: blur(clamp(2px, 0.125em, 12px)); -ms-filter: blur(clamp(2px, 0.125em, 12px)); } .button-wrap:has(button:active) .button-shadow::after { top: calc(var(--shadow-cuttoff-fix) - 0.5em); opacity: 0.75; } .button-wrap:has(button:active) span { text-shadow: 0.025em 0.25em 0.05em rgba(0, 0, 0, 0.12); } #convert-button { margin-top: 15px; max-width: 280px; /* Increased from 200px to 280px */ } #convert-button button span { font-size: 1.2rem; /* Increased from 1rem to 1.2rem */ padding: 0.9em 1.6em; /* Slightly increased padding */ } @media (max-width: 768px) { .countdown-container { gap: 12px; } .countdown-box { min-width: 90px; padding: 12px; } .countdown-value { font-size: 2.4rem; } .countdown-label { font-size: 0.7rem; } .tagline { font-size: 1.2rem; margin-bottom: 25px; } .logo { max-width: 280px; margin-bottom: 20px; } button span { font-size: 0.9rem; padding: 0.7em 1.2em; } #convert-button button span { font-size: 1.1rem; padding: 0.8em 1.4em; } .nav-buttons { gap: 12px; margin-bottom: 15px; } } @media (max-width: 480px) { .countdown-container { gap: 8px; } .countdown-box { min-width: 65px; padding: 8px; } .countdown-value { font-size: 1.9rem; } .countdown-label { font-size: 0.6rem; letter-spacing: 1px; } .tagline { font-size: 1rem; margin-bottom: 20px; } .logo { max-width: 220px; margin-bottom: 15px; } button span { font-size: 0.8rem; padding: 0.6em 1em; } #convert-button { max-width: 220px; } #convert-button button span { font-size: 1rem; padding: 0.7em 1.2em; } .nav-buttons { gap: 8px; margin-bottom: 12px; } } /* Time Converter Modal Styles */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 20, 40, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 100; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; } .modal-overlay.active { opacity: 1; visibility: visible; } .time-card-container { position: relative; width: 100%; max-width: 1000px; /* Increased from 380px to 800px for wider card */ aspect-ratio: 16 / 8; /* Changed from 9/16 to 16/9 for wider card */ max-height: 90vh; transform-style: preserve-3d; transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(0.9); transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); opacity: 0; } .modal-overlay.active .time-card-container { transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1); opacity: 1; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease 0.2s; } .time-card { position: relative; width: 100%; height: 100%; border-radius: 1.75rem; overflow: hidden; background-size: cover; background-position: center; box-shadow: 0 0 0 2px rgba(0, 160, 255, 0.4), 0 0 25px 8px rgba(0, 160, 255, 0.2); transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease-out; cursor: grab; will-change: transform, box-shadow; } .card-inner-border { position: absolute; inset: 14px; border-radius: 1.375rem; pointer-events: none; z-index: 10; box-shadow: inset 0.5px 0.5px 1.5px rgba(100, 200, 255, 0.6), inset -1px -1px 1px rgba(0, 60, 120, 0.5), inset 3px 3px 6px rgba(0, 0, 0, 0.25); transform: translateZ(30px); will-change: transform; border: 1px solid rgba(100, 200, 255, 0.2); } .card-content { position: absolute; inset: 14px; border-radius: 1.375rem; overflow: hidden; display: flex; flex-direction: column; z-index: 5; transform: translateZ(20px); will-change: transform; background: rgba(0, 20, 40, 0.85); padding: 20px; } .gradient-card-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 75%; background: linear-gradient(to top, rgba(0, 20, 40, 0.95) 0%, rgba(0, 40, 80, 0.75) 50%, rgba(0, 60, 120, 0.5) 100%); pointer-events: none; z-index: 4; } .card-title { color: #fff; font-family: 'Montserrat', sans-serif; text-align: center; font-size: 3rem; /* Increased from 1.8rem to 2.4rem */ font-weight: 800; margin-bottom: 12px; letter-spacing: 1px; transform: translateZ(40px); will-change: transform; text-shadow: 0 0 15px rgba(100, 200, 255, 0.8); background: linear-gradient(to bottom, #ffffff, #a0d8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: relative; z-index: 15; } .card-subtitle { color: #a0d8ff; text-align: center; font-size: 1.5rem; /* Increased from 1.1rem to 1.3rem */ font-weight: 600; margin-bottom: 30px; transform: translateZ(35px); will-change: transform; position: relative; z-index: 15; } .tabs-container { display: flex; gap: 15px; justify-content: center; margin-bottom: 20px; z-index: 15; position: relative; transform: translateZ(35px); } .tab { background: rgba(0, 40, 80, 0.6); border: 1px solid rgba(100, 200, 255, 0.3); border-radius: 15px; padding: 12px 25px; color: #fff; font-size: 1.3rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } .tab.active { background: rgba(0, 120, 210, 0.6); border-color: rgba(100, 200, 255, 0.8); box-shadow: 0 0 15px rgba(100, 200, 255, 0.5); transform: translateY(-3px); } .tab:hover:not(.active) { background: rgba(0, 80, 160, 0.6); transform: translateY(-2px); } .tab-content { display: none; z-index: 15; position: relative; transform: translateZ(25px); will-change: transform; height: 100%; } .tab-content.active { display: block; } /* Converter Tab Styles */ .unit-selector { display: flex; flex-wrap: wrap; gap: 12px; /* Increased from 8px to 12px */ justify-content: center; margin-bottom: 25px; /* Increased from 20px to 25px */ position: relative; z-index: 15; transform: translateZ(30px); will-change: transform; } .time-unit { background: rgba(0, 40, 80, 0.6); border: 1px solid rgba(100, 200, 255, 0.3); border-radius: 15px; padding: 12px 22px; /* Increased from 8px 12px to 10px 18px */ color: #fff; font-size: 1.3rem; /* Increased from 0.9rem to 1.1rem */ font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } .time-unit.active { background: rgba(0, 120, 210, 0.6); border-color: rgba(100, 200, 255, 0.8); box-shadow: 0 0 15px rgba(100, 200, 255, 0.5); transform: translateY(-3px); /* Increased from -2px to -3px */ } .time-unit:hover:not(.active) { background: rgba(0, 80, 160, 0.6); transform: translateY(-2px); /* Increased from -1px to -2px */ } .time-display { background: rgba(0, 30, 60, 0.8); border-radius: 18px; /* Increased from 15px to 18px */ padding: 20px; /* Increased from 15px to 20px */ margin-bottom: 25px; /* Increased from 20px to 25px */ border: 1px solid rgba(100, 200, 255, 0.2); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1); position: relative; z-index: 15; transform: translateZ(25px); will-change: transform; } .time-value { font-size: 4rem; /* Increased from 2.4rem to 3.2rem */ font-weight: 800; text-align: center; color: #fff; text-shadow: 0 0 22px rgba(100, 200, 255, 0.8); /* Increased blur from 18px to 22px */ margin-bottom: 12px; /* Increased from 5px to 8px */ background: linear-gradient(to bottom, #ffffff, #a0d8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .time-label { font-size: 1.3rem; /* Increased from 0.9rem to 1.1rem */ text-align: center; color: #a0d8ff; letter-spacing: 1.2px; } .timezone-section { margin-top: 8px; /* Increased from 5px to 8px */ position: relative; z-index: 15; transform: translateZ(20px); will-change: transform; } .timezone-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; /* Increased from 8px to 10px */ margin-bottom: 12px; /* Increased from 10px to 12px */ } .toggle-switch { position: relative; width: 50px; /* Increased from 40px to 50px */ height: 24px; /* Increased from 20px to 24px */ } .toggle-switch input { opacity: 0; width: 0; height: 0; } .toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 40, 80, 0.6); border: 1px solid rgba(100, 200, 255, 0.3); transition: 0.4s; border-radius: 30px; } .toggle-slider:before { position: absolute; content: ""; height: 18px; /* Increased from 14px to 18px */ width: 18px; /* Increased from 14px to 18px */ left: 3px; bottom: 2px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked + .toggle-slider { background-color: rgba(0, 120, 210, 0.6); border-color: rgba(100, 200, 255, 0.8); } input:checked + .toggle-slider:before { transform: translateX(25px); /* Increased from 19px to 25px */ } .toggle-label { color: #a0d8ff; font-size: 1.1rem; /* Increased from 0.9rem to 1.1rem */ font-weight: 500; } .timezone-info { text-align: center; color: #ffffff; font-size: 1.1rem; /* Increased from 0.9rem to 1.1rem */ background: rgba(0, 40, 80, 0.6); border-radius: 12px; /* Increased from 10px to 12px */ padding: 12px; /* Increased from 10px to 12px */ border: 1px solid rgba(100, 200, 255, 0.2); } /* Global Release Times Tab Styles */ .countries-container { height: 350px; overflow-y: auto; padding-right: 15px; margin-bottom: 20px; background: rgba(0, 30, 60, 0.5); border-radius: 15px; border: 1px solid rgba(100, 200, 255, 0.2); box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3); } .countries-container::-webkit-scrollbar { width: 10px; } .countries-container::-webkit-scrollbar-track { background: rgba(0, 30, 60, 0.3); border-radius: 10px; } .countries-container::-webkit-scrollbar-thumb { background: rgba(0, 120, 210, 0.6); border-radius: 10px; border: 2px solid rgba(0, 30, 60, 0.3); } .countries-container::-webkit-scrollbar-thumb:hover { background: rgba(0, 160, 255, 0.7); } .country-item { display: flex; justify-content: space-between; padding: 15px; border-bottom: 1px solid rgba(100, 200, 255, 0.2); transition: all 0.3s ease; } .country-item:hover { background: rgba(0, 80, 160, 0.3); } .country-item:last-child { border-bottom: none; } .country-name { font-weight: 600; color: #ffffff; font-size: 1.1rem; } .country-time { color: #a0d8ff; font-size: 1.1rem; } .release-date-header { text-align: center; color: #ffffff; font-size: 1.3rem; font-weight: 700; margin-bottom: 15px; text-shadow: 0 0 10px rgba(100, 200, 255, 0.6); } .action-buttons { display: flex; justify-content: center; gap: 25px; /* Increased from 15px to 20px */ margin-top: 30px; /* Increased from 20px to 25px */ transform: translateZ(40px); will-change: transform; position: relative; z-index: 15; } .card-btn { background: linear-gradient(145deg, #0080ff, #0060c0); color: white; border: none; border-radius: 16px; /* Increased from 12px to 14px */ padding: 15px 30px; /* Increased from 10px 20px to 12px 24px */ font-size: 1.2rem; /* Added font-size */ font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); } .card-btn:hover { background: linear-gradient(145deg, #00a0ff, #0080ff); transform: translateY(-3px); /* Increased from -2px to -3px */ box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); } .close-btn { background: linear-gradient(145deg, #ff4060, #c03050); } .close-btn:hover { background: linear-gradient(145deg, #ff5070, #ff4060); } @media (max-width: 768px) { .time-card-container { max-width: 700px; /* Increased from 320px to 600px */ aspect-ratio: 16 / 10; /* Adjusted for tablets */ } .card-title { font-size: 2.4rem; /* Increased from 1.5rem to 2rem */ margin-bottom: 8px; } .card-subtitle { font-size: 1.3rem; /* Increased from 0.95rem to 1.1rem */ margin-bottom: 20px; } .time-unit { font-size: 1.1rem; /* Increased from 0.8rem to 0.9rem */ padding: 10px 16px; /* Increased from 7px 10px to 8px 14px */ } .time-value { font-size: 3rem; /* Increased from 2rem to 2.6rem */ } .time-label { font-size: 1.1rem; /* Increased from 0.8rem to 0.95rem */ } .tab { font-size: 1.1rem; padding: 10px 18px; } .countries-container { height: 300px; } .country-name, .country-time { font-size: 0.95rem; } } @media (max-width: 480px) { .time-card-container { max-width: 300px; /* Increased from 280px to 300px */ aspect-ratio: 10 / 16; /* Adjusted for portrait mode */ } .card-title { font-size: 1.5rem; /* Increased from 1.3rem to 1.5rem */ } .card-subtitle { font-size: 0.9rem; /* Increased from 0.85rem to 0.9rem */ margin-bottom: 15px; } .time-unit { font-size: 0.8rem; /* Increased from 0.75rem to 0.8rem */ padding: 7px 10px; /* Increased from 6px 8px to 7px 10px */ } .unit-selector { gap: 8px; /* Increased from 6px to 8px */ margin-bottom: 15px; } .time-value { font-size: 2rem; /* Increased from 1.7rem to 2rem */ } .card-btn { padding: 10px 18px; /* Increased from 8px 15px to 10px 18px */ font-size: 0.95rem; /* Increased from 0.9rem to 0.95rem */ } .tab { font-size: 0.8rem; padding: 6px 12px; } .countries-container { height: 250px; } .country-name, .country-time { font-size: 0.85rem; } .release-date-header { font-size: 1.1rem; } } /* Music Player Styles */ #music-player-toggle { position: fixed; bottom: 20px; left: 20px; background: rgba(0, 40, 80, 0.4); border-radius: 15px; padding: 10px 16px; color: #fff; font-size: 0.9rem; font-weight: 600; cursor: pointer; z-index: 99; backdrop-filter: blur(5px); border: 1px solid rgba(100, 200, 255, 0.3); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; font-family: 'Montserrat', sans-serif; } #music-player-toggle:hover { background: rgba(0, 80, 160, 0.5); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); } #player-container { position: fixed; bottom: 20px; left: 20px; width: 400px; height: 100px; z-index: 100; transform: translateY(150px); transition: transform 0.4s ease; display: none; } #player-container.active { transform: translateY(0); display: block; } #player { position: relative; height: 100%; z-index: 3; } #player-track { position: absolute; top: 0; right: 15px; left: 15px; padding: 13px 22px 10px 184px; background-color: rgba(0, 60, 120, 0.5); border-radius: 15px 15px 0 0; transition: 0.3s ease top; z-index: 1; backdrop-filter: blur(5px); border: 1px solid rgba(100, 200, 255, 0.3); border-bottom: none; } #player-track.active { top: -92px; } #album-name { color: #a0d8ff; font-size: 17px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #track-name { color: rgba(255, 255, 255, 0.8); font-size: 13px; margin: 2px 0 13px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #track-time { height: 12px; margin-bottom: 3px; overflow: hidden; } #current-time { float: left; } #track-length { float: right; } #current-time, #track-length { color: transparent; font-size: 11px; background-color: rgba(100, 200, 255, 0.3); border-radius: 10px; transition: 0.3s ease all; } #track-time.active #current-time, #track-time.active #track-length { color: #a0d8ff; background-color: transparent; } #seek-bar-container, #seek-bar { position: relative; height: 4px; border-radius: 4px; } #seek-bar-container { background-color: rgba(100, 200, 255, 0.3); cursor: pointer; } #seek-time { position: absolute; top: -29px; color: #fff; font-size: 12px; white-space: pre; padding: 5px 6px; border-radius: 4px; display: none; } #s-hover { position: absolute; top: 0; bottom: 0; left: 0; opacity: 0.2; z-index: 2; } #seek-time, #s-hover { background-color: rgba(0, 40, 80, 0.8); } #seek-bar { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 0; background-color: #a0d8ff; transition: 0.2s ease width; z-index: 1; } #player-content { position: relative; height: 100%; background-color: rgba(0, 40, 80, 0.5); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); border-radius: 15px; z-index: 2; backdrop-filter: blur(5px); border: 1px solid rgba(100, 200, 255, 0.3); } #album-art { position: absolute; top: -40px; width: 115px; height: 115px; margin-left: 40px; transform: rotateZ(0); transition: 0.3s ease all; box-shadow: 0 0 0 6px rgba(0, 40, 80, 0.5); border-radius: 50%; overflow: hidden; } #album-art.active { top: -60px; box-shadow: 0 0 0 4px rgba(0, 60, 120, 0.5), 0 20px 40px -10px rgba(0, 0, 0, 0.5); } #album-art:before { content: ""; position: absolute; top: 50%; right: 0; left: 0; width: 20px; height: 20px; margin: -10px auto 0 auto; background-color: rgba(0, 40, 80, 0.5); border-radius: 50%; box-shadow: inset 0 0 0 2px #a0d8ff; z-index: 2; } #album-art img { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; z-index: -1; object-fit: cover; } #album-art img.active { opacity: 1; z-index: 1; } #album-art.active img.active { z-index: 1; animation: rotateAlbumArt 3s linear 0s infinite forwards; } @keyframes rotateAlbumArt { 0% { transform: rotateZ(0); } 100% { transform: rotateZ(360deg); } } #buffer-box { position: absolute; top: 50%; right: 0; left: 0; height: 13px; color: #a0d8ff; font-size: 13px; font-family: 'Montserrat', sans-serif; text-align: center; font-weight: bold; line-height: 1; padding: 6px; margin: -12px auto 0 auto; background-color: rgba(0, 30, 60, 0.6); opacity: 0; z-index: 2; border-radius: 6px; } #album-art img, #buffer-box { transition: 0.1s linear all; } #album-art.buffering img { opacity: 0.25; } #album-art.buffering img.active { opacity: 0.8; filter: blur(2px); -webkit-filter: blur(2px); } #album-art.buffering #buffer-box { opacity: 1; } #player-controls { width: 250px; height: 100%; margin: 0 5px 0 141px; float: right; overflow: hidden; display: flex; align-items: center; justify-content: center; } .control { width: 33.333%; float: left; padding: 12px 0; text-align: center; } .button { width: 26px; height: 26px; padding: 25px; background-color: rgba(0, 60, 120, 0.6); border-radius: 12px; cursor: pointer; border: 1px solid rgba(100, 200, 255, 0.3); display: inline-flex; align-items: center; justify-content: center; } .button i { display: block; color: #a0d8ff; font-size: 26px; text-align: center; line-height: 1; } .button, .button i { transition: 0.2s ease all; } .button:hover { background-color: rgba(0, 100, 180, 0.8); border-color: rgba(100, 200, 255, 0.5); } .button:hover i { color: #fff; } .lossless-indicator { position: absolute; top: -28px; right: 25px; background-color: rgba(100, 200, 255, 0.25); color: #a0d8ff; padding: 5px 10px; border-radius: 10px 10px 0 0; font-size: 0.9rem; font-weight: 700; letter-spacing: 1px; text-shadow: 0 0 8px rgba(100, 200, 255, 0.6); border: 1px solid rgba(100, 200, 255, 0.4); border-bottom: none; backdrop-filter: blur(4px); } @media (max-width: 768px) { #music-player-toggle { padding: 10px 16px; font-size: 0.9rem; bottom: 15px; left: 15px; } #player-container { width: 300px; height: 80px; bottom: 15px; left: 15px; } #album-art { width: 90px; height: 90px; top: -30px; margin-left: 30px; } #album-art.active { top: -45px; } #player-track { padding: 10px 15px 8px 130px; } #player-track.active { top: -75px; } #album-name { font-size: 15px; } #track-name { font-size: 12px; margin: 2px 0 10px 0; } #player-controls { width: 200px; margin: 0 5px 0 110px; } .button { width: 20px; height: 20px; padding: 20px; } .button i { font-size: 20px; } .lossless-indicator { top: -26px; right: 20px; font-size: 0.8rem; padding: 4px 8px; } } @media (max-width: 480px) { #music-player-toggle { padding: 8px 14px; font-size: 0.8rem; bottom: 10px; left: 10px; } #player-container { width: 260px; height: 70px; bottom: 10px; left: 10px; } #album-art { width: 80px; height: 80px; top: -25px; margin-left: 20px; } #album-art.active { top: -35px; } #player-track { padding: 8px 12px 6px 110px; } #player-track.active { top: -65px; } #album-name { font-size: 13px; } #track-name { font-size: 11px; margin: 2px 0 8px 0; } #player-controls { width: 160px; margin: 0 5px 0 90px; } .button { width: 18px; height: 18px; padding: 17px; } .button i { font-size: 18px; } .lossless-indicator { top: -24px; right: 15px; font-size: 0.7rem; padding: 3px 6px; } }