* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00263A 0%, #003D6E 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

@media (max-width: 480px) {
    .loading-spinner {
        width: 60px;
        height: 60px;
    }
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #9CE7FA;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: #007EA7;
    animation-duration: 0.8s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    border-top-color: #9CE7FA;
    animation-duration: 1.5s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #F7FAFC;
    margin-top: 30px;
    font-size: 18px;
    letter-spacing: 2px;
    opacity: 0.9;
}

@media (max-width: 480px) {
    .loading-text {
        font-size: 14px;
        margin-top: 20px;
    }
}

/* Video Section */
.video-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 900;
}

.video-section.hidden {
    display: none;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (orientation: landscape) and (max-height: 500px) {
    #intro-video {
        object-fit: contain;
    }
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

@media (max-width: 768px) {
    .play-button svg {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .play-button svg {
        width: 60px;
        height: 60px;
    }
}

.play-button.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Countdown Section */
.countdown-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00263A 0%, #003D6E 30%, #00263A 60%, #003D6E 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 800;
    position: relative;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
}

/* Animated Gradient Background */
.countdown-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #0a3d52 0%,
        #0d4a63 20%,
        #0f5a75 40%,
        #1a7a9a 60%,
        #2a9bc2 80%,
        #3db8d8 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
    opacity: 0.9;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Background Video */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease-in;
}

.bg-video.loaded {
    opacity: 1;
}

/* Video Overlay for readability */
.bg-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 38, 58, 0.8) 0%, 
        rgba(0, 61, 110, 0.7) 30%, 
        rgba(0, 38, 58, 0.6) 60%, 
        rgba(0, 61, 110, 0.5) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Additional animated gradient overlay for depth */
.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(26, 122, 154, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(42, 155, 194, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(61, 184, 216, 0.2) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    animation: gradientPulse 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

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

.countdown-section:not(.hidden) {
    animation: fadeInCountdown 1s ease-out forwards;
}

.countdown-section.hidden {
    display: none;
}

@keyframes fadeInCountdown {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.countdown-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
    animation: slideUpFadeIn 1.2s ease-out 0.3s both;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: timerEntrance 1s ease-out 0.6s both, clockFloat 6s ease-in-out 1.6s infinite;
    position: relative;
    transform: translateZ(0);
    will-change: transform;
    min-height: 120px;
}

@keyframes clockFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes timerEntrance {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(0);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    transform: translateZ(0);
    will-change: auto;
}

/* Cylinder Wrapper - provides 3D perspective */
.cylinder-wrapper {
    perspective: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cylinder Track - the container for the rotating digit */
.cylinder-track {
    position: relative;
    min-width: 120px;
    width: auto;
    height: 112px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    transform: rotateX(1deg);
    transform-style: preserve-3d;
    padding: 0 50px;
}

/* Cylinder Digit Container - holds the animated digit */
.cylinder-digit-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    overflow: visible;
    padding: 0 20px;
}

.timer-number {
    font-size: 90px;
    font-weight: 700;
    color: #F7FAFC;
    line-height: 112px;
    text-shadow: 0 0 30px rgba(156, 231, 250, 0.5);
    letter-spacing: -0.05em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 112px;
    transform-style: preserve-3d;
    font-variant-numeric: tabular-nums;
    text-align: center;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    min-width: fit-content;
}

/* Initial animation when timer loads */
.timer-number:not(.cylinder-enter):not(.cylinder-exit) {
    animation: cylinderEnter 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* Cylinder Highlight - top gradient for 3D effect */
.cylinder-highlight {
    display: none;
}

/* Cylinder Shadow - bottom gradient for 3D effect */
.cylinder-shadow {
    display: none;
}

/* 3D Cylinder rotation animation - like Framer component */
.timer-number.cylinder-enter {
    animation: cylinderEnter 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.timer-number.cylinder-exit {
    animation: cylinderExit 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes cylinderEnter {
    0% {
        transform: translateY(-115%) rotateX(68deg);
        opacity: 0;
        filter: blur(6px);
    }
    100% {
        transform: translateY(0) rotateX(0deg);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes cylinderExit {
    0% {
        transform: translateY(0) rotateX(0deg);
        opacity: 1;
        filter: blur(0);
    }
    100% {
        transform: translateY(115%) rotateX(-68deg);
        opacity: 0;
        filter: blur(6px);
    }
}

.timer-separator {
    font-size: 75px;
    font-weight: 300;
    color: rgba(167, 168, 170, 0.8);
    margin: 0 10px;
    animation: pulse 2s ease-in-out infinite;
}

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

.timer-label {
    font-size: 14px;
    color: #A7A8AA;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Main Headline */
.main-headline {
    font-size: 48px;
    font-weight: 300;
    color: #F7FAFC;
    text-align: center;
    margin-bottom: 120px;
    letter-spacing: 4px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.9s both;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 13px 8px;
    position: relative;
    transform: translateZ(0);
    will-change: auto;
    min-height: 50px;
    max-width: 98%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.headline-static {
    font-size: 28px;
    display: inline-block;
    padding: 0;
    line-height: 1.2;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
    vertical-align: baseline;
}

.rotating-text {
    display: inline-block;
    width: 280px;
    min-width: 280px;
    text-align: center;
    position: relative;
    padding: 0;
    overflow: hidden;
    vertical-align: baseline;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .main-headline {
        flex-wrap: wrap;
    }
    
    .rotating-text {
        width: 240px;
        min-width: 240px;
        padding: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .rotating-text {
        width: 200px;
        min-width: 200px;
        display: block;
        text-align: center;
        margin-top: 8px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }
    
    .main-headline {
        flex-direction: column;
        min-height: 80px;
        align-items: center;
    }
}

.rotating-word {
    display: inline-block;
    font-size: 32px;
    animation: blurRevealLeftToRight 1.5s ease-out;
    transform-origin: center;
    white-space: nowrap;
    position: relative;
    will-change: transform, filter, opacity, clip-path;
    text-align: center;
    vertical-align: baseline;
    line-height: 1.2;
    width: 100%;
    margin: 0 auto;
}

@keyframes blurRevealLeftToRight {
    0% {
        opacity: 0;
        filter: blur(15px);
        transform: translateX(-20px);
        clip-path: inset(0 100% 0 0);
    }
    30% {
        opacity: 0.3;
        filter: blur(8px);
        transform: translateX(-10px);
        clip-path: inset(0 70% 0 0);
    }
    60% {
        opacity: 0.7;
        filter: blur(3px);
        transform: translateX(-3px);
        clip-path: inset(0 30% 0 0);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
        clip-path: inset(0 0% 0 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Event Details */
.event-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #F7FAFC;
    font-size: 18px;
    letter-spacing: 1px;
}

.event-date span {
    text-shadow: 
        0 0 10px rgba(247, 250, 252, 0.4),
        0 0 20px rgba(156, 231, 250, 0.3),
        0 0 30px rgba(156, 231, 250, 0.2),
        0 0 40px rgba(156, 231, 250, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.detail-line {
    width: 100px;
    height: 1px;
    background: #A7A8AA;
    opacity: 0.6;
}

.event-location {
    color: #F7FAFC;
    font-size: 18px;
    letter-spacing: 1px;
}

.event-location span {
    text-shadow: 
        0 0 10px rgba(247, 250, 252, 0.4),
        0 0 20px rgba(156, 231, 250, 0.3),
        0 0 30px rgba(156, 231, 250, 0.2),
        0 0 40px rgba(156, 231, 250, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Subscription Section */
.subscription-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.email-input {
    padding: 15px 25px;
    font-size: 16px;
    background: rgba(247, 250, 252, 0.1);
    border: 1px solid rgba(167, 168, 170, 0.3);
    border-radius: 30px;
    color: #F7FAFC;
    outline: none;
    min-width: 300px;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: #A7A8AA;
}

.email-input:focus {
    background: rgba(247, 250, 252, 0.15);
    border-color: #9CE7FA;
}

.subscribe-button {
    padding: 15px 40px;
    font-size: 16px;
    background: #007EA7;
    border: 1px solid #9CE7FA;
    border-radius: 30px;
    color: #F7FAFC;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
}

.subscribe-button:hover {
    background: #003D6E;
    border-color: #9CE7FA;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(156, 231, 250, 0.4);
}

.subscribe-button:active {
    transform: translateY(0);
}

.subscribe-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Subscription Message */
.subscription-message {
    margin-top: 20px;
    padding: 15px 25px;
    border-radius: 30px;
    text-align: center;
    font-size: 16px;
    animation: slideDownFadeIn 0.3s ease-out;
    transition: opacity 0.3s ease;
}

.subscription-message.success {
    background: rgba(156, 231, 250, 0.2);
    border: 1px solid rgba(0, 126, 167, 0.4);
    color: #9CE7FA;
}

.subscription-message.error {
    background: rgba(167, 168, 170, 0.2);
    border: 1px solid rgba(167, 168, 170, 0.4);
    color: #A7A8AA;
}

@keyframes slideDownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    right: 40px;
    bottom: 50%;
    transform: translateY(50%);
    opacity: 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(50%) translateY(0); }
    50% { transform: translateY(50%) translateY(10px); }
}

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    z-index: 2;
    opacity: 0.6;
    filter: blur(1px);
}

.shape-left {
    top: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, 
        rgba(156, 231, 250, 0.4) 0%,
        rgba(0, 126, 167, 0.3) 50%,
        rgba(0, 61, 110, 0.3) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.shape-right-top {
    top: -15%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, 
        rgba(156, 231, 250, 0.5) 0%,
        rgba(0, 126, 167, 0.4) 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(-20deg);
    animation: float 8s ease-in-out infinite reverse;
}

.shape-right-mid {
    top: 30%;
    right: -8%;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, 
        rgba(0, 126, 167, 0.4) 0%,
        rgba(0, 61, 110, 0.3) 50%,
        rgba(156, 231, 250, 0.3) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transform: rotate(-25deg);
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .timer-number {
        font-size: 75px;
        height: 94px;
        line-height: 94px;
    }
    
    .cylinder-track {
        height: 94px;
        min-width: 100px;
    }
    
    .cylinder-highlight {
        height: 42px;
    }
    
    .cylinder-shadow {
        height: 52px;
    }
    
    .timer-separator {
        font-size: 60px;
    }
    
    .main-headline {
        font-size: 42px;
    }
    
    .headline-static {
        font-size: 24px;
        padding: 0 8px;
    }
    
    .countdown-container {
        padding: 30px 20px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .timer-number {
        font-size: 55px;
        height: 69px;
        line-height: 69px;
    }
    
    .cylinder-track {
        height: 69px;
        min-width: 80px;
        border-radius: 14px;
    }
    
    .cylinder-highlight {
        height: 31px;
        border-radius: 14px 14px 0 0;
    }
    
    .cylinder-shadow {
        height: 38px;
        border-radius: 0 0 14px 14px;
    }
    
    .timer-separator {
        font-size: 40px;
        margin: 0 8px;
    }
    
    .timer-label {
        font-size: 14px;
    }
    
    .main-headline {
        font-size: 32px;
        margin-bottom: 80px;
        padding: 15px 30px;
    }
    
    .headline-static {
        font-size: 20px;
        padding: 0 8px;
    }
    
    .rotating-text {
        padding: 0 40px;
    }
    
    .email-input {
        min-width: 250px;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .subscribe-button {
        padding: 12px 35px;
        font-size: 15px;
    }
    
    .countdown-timer {
        gap: 8px;
        margin-bottom: 40px;
    }
    
    .event-details {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .event-date,
    .event-location {
        font-size: 16px;
    }
    
    .detail-line {
        width: 60px;
    }
    
    .scroll-indicator {
        right: 20px;
        display: none; /* Hide on tablets and below */
    }
    
    .shape-left,
    .shape-right-mid {
        width: 200px;
        height: 200px;
        opacity: 0.4;
    }
    
    .shape-right-top {
        width: 120px;
        height: 120px;
        opacity: 0.4;
    }
    
    .countdown-container {
        padding: 30px 15px;
    }
}

/* Large Phones */
@media (max-width: 600px) {
    .timer-number {
        font-size: 36px;
        height: 45px;
        line-height: 45px;
    }
    
    .cylinder-track {
        height: 45px;
        min-width: 50px;
        border-radius: 10px;
        padding: 0 10px;
    }
    
    .cylinder-highlight {
        height: 20px;
        border-radius: 10px 10px 0 0;
    }
    
    .cylinder-shadow {
        height: 25px;
        border-radius: 0 0 10px 10px;
    }
    
    .timer-separator {
        font-size: 28px;
        margin: 0 3px;
    }
    
    .timer-label {
        font-size: 10px;
    }
    
    .main-headline {
        font-size: 28px;
        margin-bottom: 60px;
        line-height: 1.3;
    }
    
    .headline-static {
        font-size: 16px;
        padding: 0 6px;
    }
    
    .countdown-timer {
        gap: 2px;
        margin-bottom: 35px;
        flex-wrap: nowrap;
    }
    
    .timer-unit {
        gap: 4px;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .timer-number {
        font-size: 32px;
        height: 40px;
        line-height: 40px;
    }
    
    .cylinder-track {
        height: 40px;
        min-width: 42px;
        border-radius: 8px;
        padding: 0 8px;
    }
    
    .cylinder-highlight {
        height: 18px;
        border-radius: 8px 8px 0 0;
    }
    
    .cylinder-shadow {
        height: 22px;
        border-radius: 0 0 8px 8px;
    }
    
    .timer-separator {
        font-size: 24px;
        margin: 0 2px;
    }
    
    .timer-label {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
    
    .countdown-timer {
        gap: 2px;
        flex-wrap: nowrap;
    }
    
    .timer-unit {
        gap: 4px;
    }
    
    .main-headline {
        font-size: 22px;
        margin-bottom: 50px;
        padding: 12px 20px;
        letter-spacing: 1px;
        line-height: 1.4;
    }
    
    .headline-static {
        font-size: 14px;
        padding: 0 5px;
    }
    
    .rotating-text {
        padding: 0 12px;
    }
    
    .subscription-section {
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
        gap: 12px;
    }
    
    .email-input {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .subscribe-button {
        width: 100%;
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .countdown-timer {
        gap: 4px;
        margin-bottom: 30px;
    }
    
    .timer-unit {
        gap: 6px;
    }
    
    .event-details {
        padding-left: 15px;
        margin-bottom: 30px;
    }
    
    .event-date,
    .event-location {
        font-size: 14px;
    }
    
    .detail-line {
        width: 40px;
    }
    
    .countdown-container {
        padding: 25px 10px;
    }
    
    .shape-left,
    .shape-right-mid {
        width: 150px;
        height: 150px;
        opacity: 0.3;
    }
    
    .shape-right-top {
        width: 100px;
        height: 100px;
        opacity: 0.3;
    }
}

/* Extra Small Phones */
@media (max-width: 360px) {
    .timer-number {
        font-size: 28px;
        height: 35px;
        line-height: 35px;
    }
    
    .cylinder-track {
        height: 35px;
        min-width: 36px;
        border-radius: 7px;
        padding: 0 6px;
    }
    
    .cylinder-highlight {
        height: 16px;
        border-radius: 7px 7px 0 0;
    }
    
    .cylinder-shadow {
        height: 19px;
        border-radius: 0 0 7px 7px;
    }
    
    .timer-separator {
        font-size: 22px;
        margin: 0 2px;
    }
    
    .timer-label {
        font-size: 8px;
    }
    
    .countdown-timer {
        gap: 1px;
        flex-wrap: nowrap;
    }
    
    .timer-unit {
        gap: 3px;
    }
    
    .main-headline {
        font-size: 20px;
    }
    
    .headline-static {
        font-size: 12px;
        padding: 0 4px;
    }
    
    .event-date,
    .event-location {
        font-size: 13px;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .countdown-container {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .timer-number {
        font-size: 40px;
        height: 50px;
        line-height: 50px;
    }
    
    .cylinder-track {
        height: 50px;
        min-width: 60px;
        border-radius: 10px;
    }
    
    .cylinder-highlight {
        height: 23px;
        border-radius: 10px 10px 0 0;
    }
    
    .cylinder-shadow {
        height: 27px;
        border-radius: 0 0 10px 10px;
    }
    
    .timer-separator {
        font-size: 32px;
    }
    
    .countdown-timer {
        margin-bottom: 20px;
    }
    
    .main-headline {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .headline-static {
        font-size: 16px;
        padding: 0 6px;
    }
    
    .event-details {
        margin-bottom: 20px;
    }
    
    .subscription-section {
        margin-bottom: 20px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .play-button:hover {
        transform: translate(-50%, -50%) scale(1);
    }
    
    .subscribe-button:hover {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.2);
    }
    
    .subscribe-button:active {
        background: rgba(255, 255, 255, 0.3);
    }
    
    /* Increase touch targets */
    .subscribe-button {
        min-height: 48px;
    }
    
    .email-input {
        min-height: 48px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .timer-number {
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }
}

