﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
    color: white;
    position: relative;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -2;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: 1s;
    animation-duration: 10s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.shape-5 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 5%;
    animation-delay: 4s;
    animation-duration: 6s;
}

.shape-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 60%;
    animation-delay: 5s;
    animation-duration: 11s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: contentFadeIn 1s ease-out;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 8px;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

    .logo-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        animation: shimmer 2s infinite;
    }

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }

    to {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    }
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
}

@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.main-content {
    margin-top: 20px;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: titleSlide 1s ease-out 0.3s both;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 50px;
    opacity: 0.9;
    line-height: 1.6;
    animation: subtitleSlide 1s ease-out 0.6s both;
}

@keyframes subtitleSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 0.9;
        transform: translateX(0);
    }
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    flex-wrap: wrap;
    gap: 20px;
    animation: countdownFade 1s ease-out 0.9s both;
}

@keyframes countdownFade {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.countdown-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px 20px;
    min-width: 120px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

    .countdown-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.countdown-separator {
    font-size: 2.5rem;
    font-weight: 300;
    opacity: 0.6;
    margin: 0 10px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 0.6;
    }

    51%, 100% {
        opacity: 0.2;
    }
}

.notify-section {
    margin: 50px 0;
    animation: notifySlide 1s ease-out 1.2s both;
}

@keyframes notifySlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notify-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.95;
}

.email-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.email-input {
    padding: 15px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 300px;
    transition: all 0.3s ease;
}

    .email-input:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .email-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

.notify-btn {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

    .notify-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .notify-btn:active {
        transform: translateY(0);
    }

    .notify-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .notify-btn:hover::before {
        left: 100%;
    }

.message {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .message.success {
        background: rgba(76, 175, 80, 0.2);
        color: #4caf50;
        border: 1px solid rgba(76, 175, 80, 0.3);
    }

    .message.error {
        background: rgba(244, 67, 54, 0.2);
        color: #f44336;
        border: 1px solid rgba(244, 67, 54, 0.3);
    }

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: socialFade 1s ease-out 1.5s both;
}

@keyframes socialFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .social-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .social-link svg {
        width: 20px;
        height: 20px;
        transition: transform 0.3s ease;
    }

    .social-link:hover svg {
        transform: scale(1.2);
    }

/* PC/Desktop View (1200px and above) */
@media (min-width: 1200px) {
    .content {
        max-width: 1000px;
        padding: 80px 60px;
    }

    .title {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 1.4rem;
        margin-bottom: 60px;
    }

    .logo h1 {
        font-size: 3rem;
    }

    .countdown-container {
        gap: 30px;
        margin: 60px 0;
    }

    .countdown-box {
        min-width: 140px;
        padding: 30px 25px;
    }

    .countdown-number {
        font-size: 3.5rem;
    }

    .notify-section {
        margin: 60px 0;
    }

        .notify-section h3 {
            font-size: 1.8rem;
            margin-bottom: 30px;
        }

    .email-input {
        min-width: 350px;
        padding: 18px 25px;
        font-size: 1.1rem;
    }

    .notify-btn {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
}

/* Tablet View (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
    }

    .container {
        height: auto;
        min-height: 100vh;
        padding: 40px 20px;
    }

    .content {
        padding: 50px 35px;
        max-width: 700px;
    }

    .title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .logo h1 {
        font-size: 2.2rem;
    }

    .countdown-container {
        gap: 15px;
        margin: 40px 0;
    }

    .countdown-box {
        min-width: 100px;
        padding: 20px 15px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-separator {
        font-size: 2rem;
        margin: 0 5px;
    }

    .notify-section {
        margin: 40px 0;
    }

        .notify-section h3 {
            font-size: 1.4rem;
            margin-bottom: 20px;
        }

    .email-input {
        min-width: 280px;
        padding: 14px 18px;
    }

    .notify-btn {
        padding: 14px 28px;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

        .social-link svg {
            width: 18px;
            height: 18px;
        }

    /* Tablet floating shapes adjustment */
    .shape-1 {
        width: 80px;
        height: 80px;
    }

    .shape-2 {
        width: 120px;
        height: 120px;
    }

    .shape-3 {
        width: 60px;
        height: 60px;
    }

    .shape-4 {
        width: 100px;
        height: 100px;
    }

    .shape-5 {
        width: 50px;
        height: 50px;
    }

    .shape-6 {
        width: 70px;
        height: 70px;
    }
}

/* Large Mobile View (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
    }

    .container {
        height: auto;
        min-height: 100vh;
        padding: 30px 15px;
    }

    .content {
        padding: 40px 25px;
        margin: 0;
        border-radius: 15px;
    }

    .title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .logo {
        margin-bottom: 30px;
    }

        .logo h1 {
            font-size: 2rem;
        }

    .logo-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }

    .countdown-container {
        gap: 12px;
        margin: 35px 0;
        justify-content: space-between;
    }

    .countdown-box {
        min-width: 70px;
        padding: 15px 10px;
        flex: 1;
        max-width: 90px;
    }

    .countdown-number {
        font-size: 2rem;
        margin-bottom: 3px;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
        margin: 0 2px;
        display: none;
    }

    .notify-section {
        margin: 35px 0;
    }

        .notify-section h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
        }

    .email-form {
        flex-direction: column;
        gap: 12px;
    }

    .email-input {
        min-width: 100%;
        width: 100%;
        padding: 14px 18px;
    }

    .notify-btn {
        width: 100%;
        padding: 14px 25px;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

        .social-link svg {
            width: 16px;
            height: 16px;
        }

    /* Large mobile floating shapes adjustment */
    .shape-1 {
        width: 60px;
        height: 60px;
    }

    .shape-2 {
        width: 90px;
        height: 90px;
    }

    .shape-3 {
        width: 50px;
        height: 50px;
    }

    .shape-4 {
        width: 70px;
        height: 70px;
    }

    .shape-5 {
        width: 40px;
        height: 40px;
    }

    .shape-6 {
        width: 55px;
        height: 55px;
    }
}

/* Small Mobile View (320px to 480px) */
@media (max-width: 480px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
    }

    .container {
        height: auto;
        min-height: 100vh;
        padding: 20px 10px;
    }

    .content {
        padding: 30px 20px;
        margin: 0;
        border-radius: 12px;
    }

    .title {
        font-size: 2rem;
        margin-bottom: 12px;
        line-height: 1.1;
    }

    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
        line-height: 1.4;
    }

    .logo {
        margin-bottom: 25px;
    }

        .logo h1 {
            font-size: 1.8rem;
        }

    .logo-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .countdown-container {
        flex-direction: row;
        gap: 8px;
        margin: 30px 0;
        justify-content: space-between;
    }

    .countdown-box {
        width: calc(25% - 6px);
        min-width: auto;
        max-width: none;
        padding: 12px 8px;
    }

    .countdown-number {
        font-size: 1.6rem;
        margin-bottom: 2px;
    }

    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .countdown-separator {
        display: none;
    }

    .notify-section {
        margin: 30px 0;
    }

        .notify-section h3 {
            font-size: 1.2rem;
            margin-bottom: 18px;
        }

    .email-form {
        flex-direction: column;
        gap: 10px;
    }

    .email-input {
        min-width: 100%;
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .notify-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .social-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

        .social-link svg {
            width: 14px;
            height: 14px;
        }

    /* Small mobile floating shapes adjustment */
    .shape-1 {
        width: 40px;
        height: 40px;
    }

    .shape-2 {
        width: 60px;
        height: 60px;
    }

    .shape-3 {
        width: 35px;
        height: 35px;
    }

    .shape-4 {
        width: 50px;
        height: 50px;
    }

    .shape-5 {
        width: 30px;
        height: 30px;
    }

    .shape-6 {
        width: 45px;
        height: 45px;
    }
}

/* Extra Small Mobile View (below 320px) */
@media (max-width: 319px) {
    .content {
        padding: 25px 15px;
    }

    .title {
        font-size: 1.8rem;
    }

    .logo h1 {
        font-size: 1.6rem;
    }

    .countdown-box {
        padding: 10px 6px;
    }

    .countdown-number {
        font-size: 1.4rem;
    }

    .countdown-label {
        font-size: 0.6rem;
    }

    .notify-section h3 {
        font-size: 1.1rem;
    }

    .email-input, .notify-btn {
        padding: 11px 14px;
        font-size: 0.9rem;
    }
}

/* Landscape orientation adjustments for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    body {
        overflow-y: auto;
        height: auto;
    }

    .container {
        height: auto;
        padding: 15px;
    }

    .content {
        padding: 25px 20px;
    }

    .logo {
        margin-bottom: 15px;
    }

    .title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .subtitle {
        margin-bottom: 20px;
    }

    .countdown-container {
        margin: 20px 0;
    }

    .notify-section {
        margin: 20px 0;
    }

        .notify-section h3 {
            margin-bottom: 15px;
        }
}

/* High DPI/Retina display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon {
        background-size: 100% 100%;
    }

    .content {
        backdrop-filter: blur(15px);
    }
}

/* Hover effects only for non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .countdown-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .notify-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .social-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
.email-input:focus,
.notify-btn:focus,
.social-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .background,
    .gradient-overlay,
    .floating-shapes {
        display: none;
    }

    .content {
        background: white;
        color: black;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
