/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(233, 69, 96, 0.1), rgba(233, 69, 96, 0.05));
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: float 20s infinite linear;
}

.floating-card:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.floating-card:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
    animation-duration: 35s;
}

.floating-card:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 15s;
    animation-duration: 28s;
}

.floating-card:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 20s;
    animation-duration: 32s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }

    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.3;
    }
}

/* Content */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

/* Logo */
.logo-container {
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.logo-text {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #e94560, #ff6b7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.logo-movies {
    font-size: 3rem;
    font-weight: 600;
    color: #ffffff;
}

.logo-subtitle {
    font-size: 1rem;
    color: #888;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px rgba(233, 69, 96, 0.5));
    }

    to {
        filter: drop-shadow(0 0 20px rgba(233, 69, 96, 0.8));
    }
}

/* Redirect Card */
.redirect-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
    overflow: hidden;
}

.redirect-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Icon Container */
.icon-container {
    margin-bottom: 2rem;
}

.redirect-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #e94560, #ff6b7a);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.redirect-icon svg {
    width: 40px;
    height: 40px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(233, 69, 96, 0);
    }
}

/* Title and Description */
.title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #e94560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown */
.countdown-container {
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.countdown-label {
    font-size: 1rem;
    color: #888;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

#seconds {
    font-size: 3rem;
    font-weight: 700;
    color: #e94560;
    animation: countdownPulse 1s ease-in-out infinite;
}

.unit {
    font-size: 1.2rem;
    color: #888;
    font-weight: 400;
}

@keyframes countdownPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    animation: fadeIn 1s ease-out 0.9s both;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e94560, #ff6b7a);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progressGrow 30s linear forwards;
}

@keyframes progressGrow {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out 1.2s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #e94560, #ff6b7a);
    color: white;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 1.5s both;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.feature span {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Footer */
.footer {
    margin-top: 3rem;
    animation: fadeIn 1s ease-out 1.8s both;
}

.footer p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #e94560;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .logo-text,
    .logo-movies {
        font-size: 2.5rem;
    }

    .title {
        font-size: 2rem;
    }

    .redirect-card {
        padding: 2rem 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .features {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-card {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {

    .logo-text,
    .logo-movies {
        font-size: 2rem;
    }

    .title {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }

    #seconds {
        font-size: 2.5rem;
    }

    .redirect-card {
        padding: 1.5rem 1rem;
    }
}