@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

.video-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;

    /* Glass effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Border + glow */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.7),
        inset 0 0 15px rgba(255,255,255,0.05);

    padding: 10px;
    transition: all 0.3s ease;
}

.video-frame:hover {
    box-shadow: 
        0 12px 40px rgba(0,0,0,0.9),
        0 0 20px rgba(51,153,255,0.5);
}

/* Style the video itself */
.video-frame iframe {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: #111;
    padding: 25px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.6);
    border-bottom: 1px solid #222;
    gap: 10px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3399ff; /* Light blue */
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

nav a, .dropbtn {
    margin: 0 12px;
    text-decoration: none;
    color: #b0b0b0;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav a:hover, nav a.active, .dropdown:hover .dropbtn {
    color: #3399ff;
    background-color: rgba(51,153,255,0.15);
}

.external {
    margin: 0 12px;
    text-decoration: none;
    color: #b0b0b0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.external:hover {
    color: #3399ff;
    background-color: rgba(51,153,255,0.15);
}

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(20,20,20,0.95);
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
    margin-top: 10px;
}
.dropdown-content a {
    color: #ccc;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.3s;
}
.dropdown-content a:hover { background-color: rgba(51,153,255,0.15); color: #3399ff; }
.dropdown:hover .dropdown-content { display: block; }

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
}
.hero h2 { font-size: 2.2rem; font-weight: 700; color: #3399ff; margin-bottom: 15px; text-shadow: #3399ff 0px 0px 16px;}
.hero p { font-size: 1.2rem; color: #ccc; max-width: 700px; margin: 0 auto; }

/* Projects Section */
.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 40px 20px;
}
.card {
    background: rgba(20,20,20,0.75);
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 255, 225, 0.8);
    text-shadow: #3399ff 0px 0px 8px;
}
.card h3 { color: #3399ff; font-weight: 700; margin-bottom: 10px; }

/* Footer */
footer {
    background: #111;
    padding: 25px 20px;
    text-align: center;
    color: #777;
    border-top: 1px solid #222;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    header, main, footer { padding: 20px; }
    .projects { flex-direction: column; align-items: center; }
}