/* ====== GLOBAL ====== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family: 'Segoe UI', sans-serif;
}

body{
    background-image: url('bggif.gif'); /* your repeating bg */
    background-repeat: repeat;
    background-size: 192px 108px;
    background-attachment: fixed;
    color:#ffffff;
}


/* ===== NAVBAR ===== */
nav{
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 30px;
    background: rgba(0,31,63,0.85);
    backdrop-filter: blur(14px);
    border-bottom:2px solid #ffc300;
}

/* Logo circle */
nav img{
    height:52px;
    width:52px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #ffc300;
}


/* ===== SECTIONS (GLASS CARDS) ===== */
section{
    width:90%;
    margin:70px auto;
    padding:45px;
    border-radius:20px;
    backdrop-filter: blur(18px);
    background: rgba(0,31,63,0.75);
    border:1px solid #ffc30055;
    box-shadow: 0 0 35px #00000066;
}

.main-title{
    text-align:center;
    font-size:48px;
    font-weight:800;
    color:#ffc300;
    letter-spacing:2px;
    text-shadow: 
        0 0 10px #ffc300,
        0 0 25px #ffc30088,
        0 0 45px #ffc30055;
    margin-top:40px;
}

.subtitle{
    text-align:center;
    font-size:20px;
    margin-top:15px;
    color:#d8a7b1;
    text-shadow: 0 0 8px #d8a7b188;
}

/* ===== CREDITS ===== */

.credits{
    text-align:center;
    margin-top:18px;
    font-size:14px;
    color:#9b8fc7;
    line-height:1.6;
}


/* ===== HEADINGS ===== */

h2{
    color:#d8a7b1;
    margin-bottom:20px;
}

h3{
    color:#9b8fc7;
    margin:20px 0 10px;
}

/* ===== TABLES ===== */
table{
    width:100%;
    border-collapse: collapse;
    margin-top:15px;
}

th, td{
    border:1px solid #ffc30055;
    padding:10px;
}

th{
    background:#001f3f;
    color:#ffc300;
}

/* ===== PROTOTYPE ELEMENTS ===== */
#videoPlayer,
canvas,
#aiResult,
video,
iframe{
    width:100%;
    border-radius:14px;
    margin-top:15px;
}

/* ===== PAPER PROTOTYPE IMAGE ===== */
#paper img{
    width:100%;
    border-radius:14px;
    margin-top:20px;
    border:2px solid #ffc300;
}

/* ===== TOGGLE BUTTON ===== */

@media(max-width:900px){

    #menuToggle{
        display:block;
    }

    nav a{
        margin:12px 0;
        font-size:18px;
    }

    .main-title{
        font-size:34px;
    }
}
/* ===== HERO GLASS PANEL (Title Area) ===== */

.hero-panel{
    width:90%;
    margin:40px auto 10px auto;
    padding:35px 30px;
    border-radius:24px;

    background: rgba(0, 31, 63, 0.82);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    border:2px solid #ffc30066;

    box-shadow:
        0 0 25px #ffc30033,
        inset 0 0 35px #ffc30022,
        0 0 60px #00000099;

    text-align:center;
    position:relative;
}

/* subtle glowing line at top like tech panel */
.hero-panel::before{
    content:'';
    position:absolute;
    top:0;
    left:20%;
    width:60%;
    height:3px;
    background:linear-gradient(to right, transparent, #ffc300, transparent);
    border-radius:50%;
}

/* better spacing */
.hero-panel .main-title{
    margin-top:0;
}

.hero-panel .subtitle{
    margin-top:10px;
}

.hero-panel .credits{
    margin-top:14px;
}
/* ===== GLOBAL HYPERLINK STYLE ===== */

a{
    color:#ffc300;
    text-decoration:none;
    font-weight:600;
    position:relative;
    transition:all 0.3s ease;
}

a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-3px;
    width:0%;
    height:2px;
    background:#ffc300;
    transition:width 0.3s ease;
}

a:hover{
    color:#ffffff;
    text-shadow:0 0 8px #ffc300, 0 0 15px #ffc30088;
}

a:hover::after{
    width:100%;
}
/* ===== LINKS INSIDE GLASS SECTIONS ===== */

section a{
    color:#ffd54f;
}

section a:hover{
    color:#ffffff;
    text-shadow:0 0 6px #ffc300;
}
/* ===== NAVBAR LINKS ===== */

.navbar a{
    padding:8px 14px;
    border-radius:8px;
    transition:all 0.3s ease;
}

.navbar a:hover{
    background:rgba(255,195,0,0.15);
    box-shadow:0 0 10px #ffc30055;
}
/* ===== STICKY NAVBAR ===== */

.navbar{
    position:sticky;
    top:0;
    width:100%;
    z-index:9999;
    background:rgba(0,31,63,0.85);
    backdrop-filter:blur(12px);
    border-bottom:2px solid #ffc300;
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 20px;
}

.nav-logo{
    height:55px;
    border-radius:50%;
}

/* ===== NAV LINKS ===== */

.nav-links{
    list-style:none;
    display:flex;
    gap:22px;
}

.nav-links li a{
    color:#ffc300;
    font-weight:600;
    text-decoration:none;
}

/* ===== TOGGLE BUTTON (hidden on PC) ===== */

.menu-toggle{
    display:none;
    font-size:28px;
    color:#ffc300;
    cursor:pointer;
}

/* ===== MOBILE VIEW ===== */

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:75px;
        right:0;
        width:100%;
        background:rgba(0,31,63,0.95);
        flex-direction:column;
        text-align:center;
        display:none;
        padding:20px 0;
        gap:18px;
    }

    .nav-links.show{
        display:flex;
    }
}
