/* ==========================================
   GLOBAL PAGE STYLES
   ========================================== */

body {
    margin: 0;
    padding: 40px 0;
    background:
        radial-gradient(circle at 20% 20%, #5f2d91 0%, transparent 30%),
        radial-gradient(circle at 80% 25%, #2c7fff 0%, transparent 25%),
        radial-gradient(circle at 50% 75%, #ff4fb3 0%, transparent 30%),
        radial-gradient(circle at 70% 60%, #7f4fff 0%, transparent 20%),
        linear-gradient(180deg, #040814 0%, #0b1024 100%);
    font-family: Verdana, Arial, sans-serif;
    color: #e8eeff;
    min-height: 100vh;
}

/* Background star field */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(#b6cfff 1px, transparent 1px);
    background-size: 90px 90px, 150px 150px;
    opacity: 0.3;
}


/* ==========================================
   MAIN LAYOUT
   ========================================== */

#container {
    width: 760px;
    margin: 0 auto;
    background: rgba(8, 12, 35, 0.88);
    border: 1px solid #7ea1ff;
    box-shadow:
        0 0 15px rgba(126,161,255,.4),
        0 0 40px rgba(126,161,255,.15);
}


/* ==========================================
   HEADER
   ========================================== */

#header {
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #7ea1ff;
    background: linear-gradient(
        90deg,
        #2b1458,
        #194da6,
        #4d1a73
    );
}

#header h1 {
    margin: 0;
    font-size: 42px;
    font-weight: normal;
    letter-spacing: 6px;
    color: #ffffff;
    text-shadow:
        0 0 8px #9fc4ff,
        0 0 20px #5e86ff;
}

#header p,
#tagline {
    color: #d7e2ff;
}

#tagline {
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 1px;
}


/* ==========================================
   NAVIGATION
   ========================================== */

#nav {
    text-align: center;
    padding: 16px;
}

#nav a {
    display: inline-block;
    margin: 5px;
    padding: 10px 18px;
    color: #d8e8ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;

    background: linear-gradient(
        to bottom,
        #4c4eff,
        #33247a
    );

    border: 2px solid #8ab8ff;
    border-radius: 4px;

    text-shadow:
        0 0 5px #ffffff,
        0 0 10px #9fc4ff;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.4),
        0 0 8px rgba(120,180,255,.6),
        0 0 18px rgba(100,80,255,.5);

    transition: all .2s ease;
    position: relative;
    overflow: hidden;
}

#nav a::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -120%;
    width: 50%;
    height: 200%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.5),
        transparent
    );

    transform: rotate(20deg);
    transition: .5s;
}

#nav a:hover::before {
    left: 150%;
}

#nav a:hover {
    color: white;
    transform: translateY(-2px);
    border-color: #ffffff;

    background: linear-gradient(
        to bottom,
        #6f8dff,
        #4d36cc
    );

    box-shadow:
        0 0 8px #ffffff,
        0 0 16px #9fc4ff,
        0 0 30px #8a6dff,
        0 0 50px #5d3dff;
}

/* Decorative star strip above navigation */
.nav-stars {
    height: 24px;
    filter: drop-shadow(0 0 4px #9fc4ff);
    background:
        radial-gradient(circle, white 3px, transparent 5px) 0 0/60px 24px,
        radial-gradient(circle, #99ccff 3px, transparent 5px) 30px 0/60px 24px;
    animation: twinkle 3s linear infinite;
}

@keyframes twinkle {
    50% {
        opacity: .4;
    }
}


/* ==========================================
   CONTENT
   ========================================== */

#content {
    padding: 35px;
    line-height: 1.7;
}

#content h2,
.section-title {
    color: white;
    text-shadow: 0 0 10px #8ab0ff;
}

.section-title {
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(126,161,255,.35);
}


/* ==========================================
   FEATURE BOXES
   ========================================== */

.feature-box {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(126,161,255,.35);
}

.feature-box h3 {
    margin-top: 0;
    color: #d9e6ff;
}


/* ==========================================
   AIRLINE GRID
   ========================================== */

.airline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.airline-card {
    display: block;
    height: 210px;
    padding: 18px;
    text-align: center;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(126,161,255,.35);
    background: rgba(255,255,255,.05);
    box-shadow: inset 0 0 20px rgba(126,161,255,.08);
}

.airline-card:hover {
    background: rgba(255,255,255,.09);
    box-shadow:
        0 0 12px rgba(159,196,255,.6),
        inset 0 0 25px rgba(126,161,255,.12);
}

.airline-card img {
    width: 180px;
    height: 120px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.airline-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 1px;
}

.airline-card:hover h3 {
    color: #b8d4ff;
}


/* ==========================================
   FOOTER / BACK LINKS
   ========================================== */

.footer {
    background: rgba(255,255,255,.04);
    border-top: 1px solid #7ea1ff;
    text-align: center;
    padding: 12px;
    font-size: 11px;
    color: #b5c6ff;
}

.back {
    text-align: center;
    padding: 25px;
}

.back a {
    color: #b8d4ff;
    text-decoration: none;
}

.back a:hover {
    color: white;
    text-shadow: 0 0 6px #9fc4ff;
}


/* ==========================================
   CURSOR STAR TRAIL EFFECT
   ========================================== */

.star {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    color: white;
    font-size: 12px;
    text-shadow:
        0 0 5px white,
        0 0 10px #8cb4ff,
        0 0 20px #8cb4ff;
    animation: sparkle 1s linear forwards;
}

@keyframes sparkle {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-15px) scale(0.2);
    }
}


/* Project listings */
.project {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(126,161,255,.25);
    background: rgba(255,255,255,.03);
}

.project h3 {
    margin-top: 0;
}

.project p {
    margin-bottom: 0;
}

/* 88x31 button section */
.button-section {
    margin-top: 40px;
    text-align: center;
}

.button-section h3 {
    color: #dce7ff;
    margin-bottom: 15px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.button88 {
    width: 88px;
    height: 31px;
    border: 1px solid #7ea1ff;
    background: linear-gradient(
        180deg,
        #243a7a,
        #1a133a
    );
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 31px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(126,161,255,.4);
}

.button88:hover {
    box-shadow:
        0 0 10px #9fc4ff,
        0 0 20px #9fc4ff;
}

/* Favorites box */
.favorite-box {
    margin-top: 30px;
    padding: 15px;
    border: 1px solid rgba(126,161,255,.25);
    background: rgba(255,255,255,.03);
}

.favorite-box ul {
    margin-bottom: 0;
}

a {
    color: #b8d4ff;
    text-decoration: none;
}

a:hover {
    color: white;
    text-shadow: 0 0 6px #9fc4ff;
}












/* books */

.book {
    background: #f8f8f8;
    border: 2px solid #444;
    padding: 20px;
    margin-bottom: 30px;
    overflow: hidden;
}

.book h2 {
    margin-top: 0;
    color: #222;
    border-bottom: 1px solid #aaa;
    padding-bottom: 5px;
}

.book-cover {
    float: left;
    width: 180px;
    max-width: 100%;
    margin-right: 20px;
    margin-bottom: 10px;
    border: 2px solid #333;
    box-shadow: 4px 4px 0 #999;
}

.rating {
    font-size: 1.1em;
    color: #d18b00;
    margin-top: 10px;
}

.blurb,
.review {
    margin-top: 15px;
}

.blurb h3,
.review h3 {
    margin-bottom: 5px;
    color: #333;
}

.blurb p {
    font-style: italic;
    color: #555;
}

.review p {
    line-height: 1.6;
}

/* Mobile layout */
@media (max-width: 600px) {
    .book-cover {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
        width: 200px;
    }
}





/* youtube page */

.video-card {
    background-color: #6699cc;
    border: 2px solid #ffffff;
    margin: 20px 0;
    padding: 15px;
}

.video-card h2 {
    color: #ffff99;
}

iframe {
    max-width: 100%;
    border: 3px solid #ffffff;
}