:root {
    --cyber-black: #050505;
    --cyber-dark: #0a0f14;
    --cyber-cyan: #00f3ff;
    --cyber-rose: #ff0055;
    --cyber-green: #00ff66;
    --text-main: #e0e0e0;
    --font-mono: 'Share Tech Mono', monospace;
    --font-classy: 'Dancing Script', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--cyber-black);
    color: var(--text-main);
    font-family: var(--font-mono);
    overflow-x: hidden;
    height: 100vh;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cyber-black);
}

::-webkit-scrollbar-thumb {
    background: var(--cyber-cyan);
    border-radius: 4px;
}

/* --- LOCK SCREEN / TERMINAL --- */
#lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.terminal-window {
    width: 90%;
    max-width: 600px;
    height: 400px;
    background: rgba(10, 15, 20, 0.95);
    border: 1px solid var(--cyber-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.terminal-header {
    background: rgba(0, 243, 255, 0.1);
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--cyber-cyan);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.terminal-title {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--cyber-cyan);
    letter-spacing: 2px;
}

.terminal-body {
    padding: 20px;
    flex-grow: 1;
    color: var(--cyber-green);
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
}

.input-line {
    display: flex;
    margin-top: 10px;
}

.prompt {
    color: var(--cyber-rose);
    margin-right: 10px;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.btn-cyber {
    margin-top: 20px;
    background: transparent;
    border: 1px solid var(--cyber-cyan);
    color: var(--cyber-cyan);
    padding: 10px 20px;
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cyber:hover {
    background: var(--cyber-cyan);
    color: black;
    box-shadow: 0 0 15px var(--cyber-cyan);
}

.hidden {
    display: none !important;
}

/* --- MAIN CONTENT --- */
#main-content {
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cyber-nav {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.highlight {
    color: var(--cyber-rose);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--cyber-cyan);
    text-shadow: 0 0 5px var(--cyber-cyan);
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.rose-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: brightness(0.8) contrast(1.2);
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.2));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, black 120%);
    pointer-events: none;
    z-index: 1;
}

.hero-text {
    z-index: 5;
    position: relative;
}

.main-title {
    font-size: 4rem;
    line-height: 1;
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.classy-font {
    font-family: var(--font-classy);
    font-size: 6rem;
    color: var(--cyber-rose);
    text-shadow: 0 0 20px var(--cyber-rose);
    display: block;
    margin-top: 10px;
}

.glitch-text {
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: var(--cyber-cyan);
    position: relative;
}

.subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    margin-top: 10px;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.7;
}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin-top: 5px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    40% {
        transform: rotate(45deg) translateY(-10px);
    }

    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

/* --- MESSAGES SECTION --- */
.messages-section {
    padding: 80px 20px;
    background: var(--cyber-dark);
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 2rem;
    color: var(--cyber-green);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.message-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.cyber-card {
    width: 300px;
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.3);
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.cyber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    border-color: var(--cyber-cyan);
}

.card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.card-border::before,
.card-border::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--cyber-cyan);
    transition: 0.3s;
}

.card-border::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.card-border::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.cyber-card:hover .card-border::before,
.cyber-card:hover .card-border::after {
    width: 100%;
    height: 100%;
}

.lock-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    transition: 0.3s;
}

.code-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--cyber-rose);
    letter-spacing: 2px;
    transition: 0.3s;
}

.decrypted-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: #0a0f14;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    transition: 0.5s;
    font-family: 'Verdana', sans-serif;
    font-size: 0.9rem;
    color: white;
    line-height: 1.4;
    z-index: 5;
}

.unlocked .lock-icon {
    opacity: 0;
}

.unlocked .code-text {
    opacity: 0;
}

.unlocked .decrypted-text {
    opacity: 1;
    transform: scale(1);
}

/* --- FOOTER --- */
.cyber-footer {
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid #222;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .classy-font {
        font-size: 3.5rem;
    }

    .cyber-nav {
        padding: 15px;
        background: rgba(0, 0, 0, 0.9);
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        margin-top: 15px;
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .nav-links a {
        margin: 0;
        font-size: 0.8rem;
    }

    .terminal-window {
        width: 95%;
        height: 60vh;
        max-height: 500px;
    }

    .terminal-body {
        font-size: 0.9rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
        margin: 10px 0;
    }

    .classy-font {
        font-size: 2.8rem;
    }

    .subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .glitch-text {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    /* Nav adjustments for very small screens */
    .cyber-nav {
        padding: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    /* Messages section spacing */
    .messages-section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .cyber-card {
        width: 100%;
        height: auto;
        min-height: 180px;
    }

    /* Terminal mobile adjustments */
    .prompt {
        margin-right: 5px;
    }

    .btn-cyber {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}