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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #004aad 0%, #0066cc 50%, #004aad 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.logo h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo img {
    width: 80px;
    height: 80px;
}

.title {
    color: white;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.title h3 {
    font-size: 2.5rem;
}

.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.5;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    min-width: 100px;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
}

.time {
    display: block;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 300;
}

.notify-section {
    margin-bottom: 30px;
}

.notify-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.email-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.email-form input {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 12px 20px;
    color: white;
    font-size: 1rem;
    min-width: 250px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.email-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.email-form button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 12px 25px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
    white-space: nowrap;
}

.email-form button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.social-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* ===== RESPONSIVE DESIGN - TABLET ===== */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    .glass-card {
        max-width: 500px;
        padding: 35px;
    }
    
    .title {
        font-size: 2.8rem;
    }
    
    .title h3 {
        font-size: 2.2rem;
    }
    
    .logo h1 {
        font-size: 2.2rem;
    }
    
    .floating-circle {
        opacity: 0.7;
    }
}

/* ===== RESPONSIVE DESIGN - MOBILE LANDSCAPE ===== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .glass-card {
        padding: 25px 20px;
        margin: 10px;
        border-radius: 15px;
        max-width: 100%;
    }
    
    .logo h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .logo img {
        width: 70px;
        height: 70px;
    }
    
    .title {
        font-size: 2.2rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .title h3 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .countdown {
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .time-box {
        padding: 15px 10px;
        min-width: 75px;
        border-radius: 12px;
    }
    
    .time {
        font-size: 1.8rem;
    }
    
    .label {
        font-size: 0.8rem;
    }
    
    .notify-section p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .email-form {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .email-form input {
        min-width: 280px;
        width: 100%;
        max-width: 350px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .email-form button {
        width: 100%;
        max-width: 350px;
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .social-links {
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Floating elements untuk tablet */
    .circle-1 {
        width: 60px;
        height: 60px;
        top: 15%;
        left: 5%;
    }
    
    .circle-2 {
        width: 80px;
        height: 80px;
        top: 70%;
        right: 5%;
    }
    
    .circle-3 {
        width: 50px;
        height: 50px;
        bottom: 15%;
        left: 15%;
    }
}

/* ===== RESPONSIVE DESIGN - MOBILE PORTRAIT ===== */
@media (max-width: 480px) {
    .container {
        padding: 5px;
        min-height: 100vh;
        align-items: center;
    }
    
    .glass-card {
        padding: 20px 15px;
        margin: 5px;
        border-radius: 12px;
        min-height: auto;
    }
    
    .logo h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .logo img {
        width: 60px;
        height: 60px;
    }
    
    .title {
        font-size: 1.8rem;
        margin-bottom: 8px;
        line-height: 1.1;
    }
    
    .title h3 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
        padding: 0 5px;
        line-height: 1.4;
    }
    
    .countdown {
        gap: 8px;
        margin-bottom: 25px;
        justify-content: space-between;
    }
    
    .time-box {
        padding: 12px 8px;
        min-width: 65px;
        flex: 1;
        max-width: 80px;
    }
    
    .time {
        font-size: 1.4rem;
        line-height: 1;
    }
    
    .label {
        font-size: 0.7rem;
        margin-top: 3px;
    }
    
    .notify-section {
        margin-bottom: 25px;
    }
    
    .notify-section p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        padding: 0 5px;
        line-height: 1.3;
    }
    
    .email-form {
        gap: 12px;
    }
    
    .email-form input {
        min-width: 100%;
        width: 100%;
        padding: 12px 15px;
        font-size: 16px;
        border-radius: 20px;
    }
    
    .email-form button {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 20px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 15px;
    }
    
    .social-link {
        width: 100%;
        max-width: 200px;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    /* Sembunyikan floating elements di mobile kecil */
    .floating-elements {
        display: none;
    }
}

/* ===== RESPONSIVE DESIGN - MOBILE SANGAT KECIL ===== */
@media (max-width: 360px) {
    .glass-card {
        padding: 15px 10px;
        margin: 3px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .title {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .countdown {
        gap: 6px;
    }
    
    .time-box {
        padding: 10px 6px;
        min-width: 55px;
    }
    
    .time {
        font-size: 1.2rem;
    }
    
    .label {
        font-size: 0.65rem;
    }
    
    .email-form input,
    .email-form button {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* ===== LANDSCAPE ORIENTATION UNTUK MOBILE ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        align-items: flex-start;
        padding-top: 10px;
    }
    
    .glass-card {
        padding: 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .logo h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .title {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .subtitle {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .countdown {
        margin-bottom: 15px;
    }
    
    .time-box {
        padding: 8px;
    }
    
    .time {
        font-size: 1.2rem;
    }
    
    .notify-section {
        margin-bottom: 15px;
    }
    
    .notify-section p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .email-form {
        flex-direction: row;
        gap: 8px;
    }
    
    .email-form input {
        min-width: 200px;
    }
    
    .social-links {
        flex-direction: row;
        gap: 10px;
        margin-top: 10px;
    }
    
    .social-link {
        width: auto;
        padding: 6px 12px;
        font-size: 0.7rem;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    .glass-card,
    .time-box,
    .floating-circle {
        animation: none;
    }
    
    .time-box:hover,
    .email-form button:hover,
    .social-link:hover {
        transform: none;
    }
}

/* ===== HIGH DPI DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .glass-card {
        backdrop-filter: blur(25px);
    }
    
    .time-box {
        backdrop-filter: blur(15px);
    }
}

/* Style khusus untuk generate preview image */
.preview-card {
    width: 1200px;
    height: 630px;
    background: linear-gradient(135deg, #004aad 0%, #0066cc 50%, #004aad 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.preview-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.preview-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.preview-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 30px;
}

.preview-countdown {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.preview-time-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    min-width: 120px;
}

.preview-time {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.preview-label {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-top: 10px;
}

/* Background elements */
.preview-bg-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.preview-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
}

.preview-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 8%;
}