:root {
    --theme-color: #F0BE96;
    --theme-gradient: linear-gradient(90deg, #F0BE96, #F7D4B6);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    touch-action: manipulation;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: clamp(1rem, 5vw, 2rem);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 90%;
    width: clamp(300px, 80vw, 450px);
    margin: 1rem;
    z-index: 1;
}

h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--theme-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(240, 190, 150, 0.8);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(240, 190, 150, 0.8); }
    50% { text-shadow: 0 0 20px rgba(240, 190, 150, 1); }
}

.status {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 300;
}

.site-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.site-button {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.site-button i {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
}

.site-button:hover {
    transform: translateY(-3px);
    background: rgba(240, 190, 150, 0.3);
    box-shadow: 0 0 15px var(--theme-color);
}

.site-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.site-button:hover::after {
    width: 200px;
    height: 200px;
}

.site-button:disabled {
    pointer-events: none;
    opacity: 0.6;
}

.footer {
    margin-top: 1.5rem;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: #ddd;
    font-weight: 300;
}

.footer a {
    color: var(--theme-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #F7D4B6;
}

.progress {
    margin: 1rem 0;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: #fff;
}

.progress-bar {
    width: 100%;
    max-width: 250px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin: 0.5rem auto;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: var(--theme-gradient);
    transition: width 0.5s ease-out;
}

.progress-text {
    margin-top: 0.5rem;
}

.browser-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.warning-content {
    text-align: center;
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.warning-icon {
    font-size: 3rem;
    color: var(--theme-color);
    animation: rotate 2s linear infinite;
}

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

.warning-content p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.warning-links a {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--theme-color);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s;
}

.warning-links a:hover {
    background: #F7D4B6;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
        width: 95%;
    }
    .site-list {
        flex-direction: column;
        align-items: center;
    }
    .site-button {
        width: 100%;
        justify-content: center;
        padding: 0.5rem 1rem;
    }
    .warning-content {
        width: 90%;
    }
}