:root {
    --bg-color: #050505;
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Fira Code', monospace;
    overflow: hidden;
    height: 100vh;
}

.hidden {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
    display: none !important;
}

/* Start Screen */
#start-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    background: #000; z-index: 100; cursor: pointer;
    transition: opacity 0.5s;
}

.blink-text {
    font-size: 1.1rem;
    color: #444;
    animation: blink 1.5s infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Terminal Screen */
#terminal-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000; 
    padding: 3rem;
    z-index: 50;
    transition: opacity 1s ease-out;
    display: block; 
}

.terminal-container {
    max-width: 900px;
    font-size: 1.1rem;
    line-height: 1.8;
}

#terminal-content {
    white-space: pre-wrap;
    color: #c8c8c8;
}

.cmd-line { color: #e5e5e5; }
.res-line { color: #8b949e; }

.cursor {
    display: inline-block;
    width: 10px;
    height: 1.2rem;
    background-color: #fff;
    vertical-align: middle;
    animation: blink 1s infinite;
}

/* Second Screen */
#discord-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('background.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 60;
    opacity: 0;
    transition: opacity 2s ease-in;
}

#discord-screen.active {
    opacity: 1;
    display: flex !important;
}

#discord-screen::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); /* تغميق الخلفية شوي عشان يبرز النص والزر */
    z-index: 1;
}

.content-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    animation: fadeInScale 2s ease-out forwards;
}

@keyframes fadeInScale {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.main-title {
    font-family: 'Averia Serif Libre', serif;
    font-size: 8rem;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
    letter-spacing: 3px;
    text-transform: capitalize;
}

/* الزر المصغر مثل ما طلبت (خلفية بيضاء وخط أسود) */
.small-discord-btn {
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    background: #fff;
    padding: 12px 35px;
    text-decoration: none;
    letter-spacing: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.small-discord-btn:hover {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 4rem;
    }
}
