/* Base styles */
:root {
    --primary-color: #ff66c4;
    --bg-color: #303133;
    --secondary-bg: #0f0f0f;
    --text-color: #c1c1c2;
    --timer-value: 2;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

/* Logo styles */
.logo-container {
    margin-bottom: 20px;
    width: 100%;
    max-width: 350px;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

/* Container styles */
.container {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: 30px 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Text styles */
.title {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.message {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.privacy-notice {
    font-size: 14px;
    margin-top: 25px;
    opacity: 0.8;
    font-style: italic;
}

/* Loading animation */
.loading-container {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 20px auto;
}

.spinner {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 102, 196, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
}

.timer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 1;
    animation: countdown 2s steps(2) forwards;
}

/* Timer animation using CSS variables */
@keyframes countdown {
    0% { --timer-value: 2; }
    50% { --timer-value: 1; }
    100% { --timer-value: 0; }
}

.timer::after {
    content: attr(data-timer);
    animation: showTimer 2s steps(2) forwards;
}

@keyframes showTimer {
    0% { content: "2s"; }
    50% { content: "1s"; }
    100% { content: "0s"; }
}

/* Link styles */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 25px 15px;
    }

    .title {
        font-size: 22px;
    }

    .message {
        font-size: 15px;
    }

    .logo-container {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 10px;
    }

    .title {
        font-size: 20px;
    }

    .message {
        font-size: 14px;
    }

    .logo-container {
        max-width: 250px;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
