/* --- Reset and Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000; /* Dark background base */
    color: #fff;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Main Containers --- */
.container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    z-index: 1;
}

/* Recreating the futuristic hallway look */
.background-corridor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), /* Dark overlay */
        url('path/to/your/corridor_bg.jpg'); /* You will need a suitable background image */
    background-size: cover;
    background-position: center;
    z-index: -1; /* Place behind content */
}

/* Add the cyan/purple accent lighting (placeholder example) */
.background-corridor::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(0, 255, 255, 0.1) 60%, rgba(255, 0, 255, 0.05));
}

/* --- Header --- */
.header {
    text-align: center;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.subtitle-box {
    background-color: rgba(20, 20, 20, 0.8); /* Dark translucent background */
    border: 1px solid rgba(0, 255, 255, 0.3); /* Dim cyan border */
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.subtitle-box p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.subtitle-box strong {
    color: #fff;
    font-weight: 700;
}

/* --- Selection Area --- */
.selection-area {
    display: flex;
    gap: 40px; /* Space between cards */
    justify-content: center;
    align-items: center;
}

/* --- Selection Cards (General) --- */
.card {
    text-decoration: none; /* Remove underline from link */
    color: #fff;
    background-color: rgba(10, 10, 10, 0.9);
    width: 320px;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Keep glow overlay inside */
    
    /* Subtle 3D perspective effect */
    transform: perspective(1000px) rotateX(2deg);
}

.card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
}

/* Card Glow Overlays */
.glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1; /* Dim glow by default */
    transition: opacity 0.3s ease;
}

.card:hover .glow-overlay {
    opacity: 0.2; /* Brighten on hover */
}

/* --- Color Specific Card Glows --- */
.card-blue {
    border: 2px solid rgba(0, 255, 255, 0.5); /* Cyan border */
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.card-blue:hover {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

.card-blue .glow-overlay {
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.3), transparent 70%);
}

.card-purple {
    border: 2px solid rgba(255, 0, 255, 0.5); /* Purple border */
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.1);
}

.card-purple:hover {
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.3);
}

.card-purple .glow-overlay {
    background: radial-gradient(circle at center, rgba(255, 0, 255, 0.3), transparent 70%);
}

/* --- Card Content --- */
.icon-container {
    height: 150px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    /* Use drop-shadow for irregular hologram shapes */
}

/* Hover-activated text and box glows */
.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    transition: text-shadow 0.3s ease;
}

.card-blue .card-title { color: rgba(0, 255, 255, 0.9); }
.card-purple .card-title { color: rgba(255, 0, 255, 0.9); }

.card-blue:hover .card-title { text-shadow: 0 0 10px rgba(0, 255, 255, 0.8); color: #fff; }
.card-purple:hover .card-title { text-shadow: 0 0 10px rgba(255, 0, 255, 0.8); color: #fff; }

.card-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-weight: 400;
}

/* --- Hologram Placeholders & Glows --- */
.book-hologram-placeholder {
    width: 100px;
    height: 80px;
    background-color: rgba(0, 255, 255, 0.1); /* Cyan placeholder */
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.7));
}

.architecture-hologram-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(255, 0, 255, 0.1); /* Purple placeholder */
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.7));
}

/* Minimalistic Particle Effect (advanced addition for realism) */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(white, rgba(255,255,255,0.1) 2px, transparent 3px);
    background-size: 20px 20px;
    opacity: 0.2;
    filter: blur(1px);
}

/* --- Footer --- */
.footer {
    width: 100%;
    padding: 10px 0;
    background-color: rgba(10, 10, 10, 0.7); /* Translucent dark footer */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 2; /* Place on top */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 255, 255, 0.4), transparent);
}

.footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}