@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'MS UI Gothic', sans-serif;
}

/* CRT TV Filter Overlay */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: 
        /* Horizontal scanlines */
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0) 0px,
            rgba(0, 0, 0, 0) 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px
        ),
        /* Vertical scanlines */
        repeating-linear-gradient(
            90deg,
            rgba(0, 0, 0, 0) 0px,
            rgba(0, 0, 0, 0) 1px,
            rgba(0, 0, 0, 0.05) 1px,
            rgba(0, 0, 0, 0.05) 2px
        ),
        /* Screen curvature gradient */
        radial-gradient(ellipse at center, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(0, 0, 0, 0) 70%, 
            rgba(0, 0, 0, 0.2) 100%);
    animation: crtFlicker 0.15s infinite linear alternate;
}

@keyframes crtFlicker {
    0% { opacity: 1; }
    98% { opacity: 1; }
    99% { opacity: 0.98; }
    100% { opacity: 1; }
}

body {
    background: #2a2a2a url('https://i.pinimg.com/736x/f6/ec/2f/f6ec2f64fa25a32b9814171b709941d9.jpg') repeat;
    font-family: 'MS UI Gothic', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    animation: pageFloat 6s ease-in-out infinite;
    /* CRT screen effect */
    filter: contrast(1.1) brightness(1.05) saturate(1.2);
}

@keyframes pageFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* floating background elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-gif {
    position: absolute;
    width: 120px;
    height: 120px;
    animation: float 10s ease-in-out infinite;
    opacity: 0.4;
    bottom: 20%;
    right: 12%;
    animation-delay: 3s;
}

.floating-gif img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-25px) rotate(3deg); 
    }
}

/* main window styling */
.main-window {
    background: linear-gradient(to bottom, 
        rgba(50, 50, 50, 0.95) 0%, 
        rgba(30, 30, 30, 0.98) 50%, 
        rgba(0, 0, 0, 0.95) 100%);
    border: 3px ridge #555;
    width: 700px;
    max-width: 95vw;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 
                inset 0 0 20px rgba(0, 0, 0, 0.5);
    animation: windowFloat 8s ease-in-out infinite;
}

@keyframes windowFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
    }
    50% { 
        transform: translateY(-10px) scale(1.01); 
    }
}

.window-header {
    background: linear-gradient(to bottom, #666 0%, #333 100%);
    border-bottom: 2px solid #000;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

.window-title {
    color: white;
    font-family: 'MS UI Gothic', sans-serif;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.control-btn {
    width: 18px;
    height: 16px;
    border: 1px outset #c0c0c0;
    background: #c0c0c0;
    font-size: 10px;
    text-align: center;
    line-height: 14px;
    cursor: pointer;
    color: black;
    font-weight: bold;
    font-family: 'MS UI Gothic', sans-serif;
}

.control-btn:hover {
    background: #d0d0d0;
}

.control-btn:active {
    border: 1px inset #c0c0c0;
}

/* title area */
.title-section {
    background: url('https://i.pinimg.com/736x/51/95/43/5195437d0e51d5dda8cdabf92fb308ec.jpg') center/cover;
    border: 2px solid #000;
    margin: 15px;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.title-section > * {
    position: relative;
    z-index: 2;
}

.site-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 3px 3px 0px #000000, 
                 6px 6px 0px #333333, 
                 0 0 30px rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
    letter-spacing: 4px;
    text-transform: lowercase;
}

.subtitle {
    width: 400px;
    height: 80px;
    background: url('https://gifcity.carrd.co/assets/images/gallery47/2e6c1771.png?v=e3c0bc0f') center/contain no-repeat;
    margin: 0 auto 25px auto;
    display: block;
}

.enter-btn {
    background: linear-gradient(to bottom, #666 0%, #333 100%);
    border: 3px ridge #666;
    color: white;
    font-family: 'MS UI Gothic', monospace;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 40px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 20px 0;
    transition: all 0.2s;
}

.enter-btn:hover {
    background: linear-gradient(to bottom, #777 0%, #444 100%);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.enter-btn:active {
    border: 3px groove #666;
}

/* warning section */
.warning-section {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #555;
    margin: 15px;
    padding: 20px;
    font-size: 11px;
    line-height: 1.4;
}

.warning-title {
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 12px;
    font-family: 'MS UI Gothic', sans-serif;
}

.warning-list {
    color: #cccccc;
    margin-bottom: 15px;
    font-family: 'MS UI Gothic', sans-serif;
}

.warning-list li {
    margin-bottom: 4px;
    list-style-type: none;
    position: relative;
    padding-left: 15px;
}

.warning-list li::before {
    content: '▶';
    color: white;
    position: absolute;
    left: 0;
}

/* content icons row */
.icon-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.content-icon {
    width: 60px;
    height: 60px;
    background: #222;
    border: 2px ridge #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ccc;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 34, 34, 0.7);
}

.icon-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: #888;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: 'MS UI Gothic', sans-serif;
}

.footer-info {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid #333;
    font-size: 10px;
    color: #666;
    font-family: 'MS UI Gothic', monospace;
}

/* mobile responsive */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }

    .subtitle {
        width: 300px;
        height: 60px;
    }

    .warning-section {
        font-size: 10px;
    }

    .content-icon {
        width: 50px;
        height: 50px;
    }

    .floating-gif {
        width: 80px;
        height: 80px;
    }
}