/* ============================================================
   Clayton Wolf - Shared Design System
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: #000; color: #fff;
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden; min-height: 100vh;
    line-height: 1.6;
}

/* ---------- Viewport / Background ---------- */
#viewport {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; background-image: url('assets/hero-bg.jpg');
    background-size: cover; background-position: center;
}

.radial-mask {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center,
        rgba(0,0,0,0) 0%,
        rgba(220, 20, 60, 0.05) 25%,
        rgba(0, 0, 255, 0.08) 55%,
        rgba(0,0,0,1) 100%
    );
    backdrop-filter: blur(60px);
    -webkit-mask-image: radial-gradient(circle at center, transparent 10%, black 80%);
    mask-image: radial-gradient(circle at center, transparent 10%, black 80%);
    z-index: 2;
}

#bokeh-canvas {
    position: absolute; top: 0; left: 0;
    mix-blend-mode: screen; z-index: 3;
    filter: blur(25px); opacity: 0.85;
}

.dark-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1;
}

/* ---------- Content Container ---------- */
.content {
    position: relative; z-index: 10; width: 100%; max-width: 800px;
    margin: 0 auto; display: flex; flex-direction: column; align-items: center;
    padding: 40px 20px; text-align: center;
}

/* ---------- Site-Wide Navigation ---------- */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: center;
    gap: 6px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.site-nav a {
    font-family: 'Rajdhani', sans-serif;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: color 0.3s, background 0.3s;
    white-space: nowrap;
}

.site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.site-nav a.active {
    color: #fff;
    background: rgba(220, 20, 60, 0.2);
    border: 1px solid rgba(220, 20, 60, 0.5);
}

.site-nav .nav-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    color: #DC143C;
    letter-spacing: 1px;
    margin-right: 12px;
    text-shadow: 0 0 12px rgba(220, 20, 60, 0.5);
}

.site-nav .nav-brand:hover {
    background: transparent;
    color: #DC143C;
}

/* Push content below fixed nav */
body { padding-top: 60px; }

/* ---------- Back Button (legacy, used on sub-pages) ---------- */
.back-btn {
    font-family: 'Rajdhani', sans-serif;
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(20px);
    border-radius: 50px; color: #fff; text-decoration: none;
    transition: 0.3s; text-transform: uppercase; font-weight: 700; font-size: 0.9rem;
    display: inline-flex; align-items: center; justify-content: center;
    height: 45px; padding: 0 25px; border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 40px; letter-spacing: 2px; align-self: flex-start;
}
.back-btn:hover { background: rgba(255, 255, 255, 0.15); border-color: #00FFFF; color: #00FFFF; }

/* ---------- Headings ---------- */
h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900; font-size: 3rem;
    text-shadow: 0 0 25px rgba(220, 20, 60, 0.8);
    margin-bottom: 10px; letter-spacing: 2px;
}

/* ---------- Profile Image ---------- */
.profile-img {
    width: 170px; height: 170px;
    border-radius: 50%; border: 2px solid #DC143C;
    margin-bottom: 25px;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.6);
    object-fit: cover;
}

/* ---------- Social Bar ---------- */
.social-bar { display: flex; justify-content: center; gap: 35px; margin-bottom: 50px; flex-wrap: wrap; }
.social-bar svg { width: 48px; height: 48px; fill: #fff; transition: 0.4s; }
.social-bar a:hover svg { fill: #00FFFF; filter: drop-shadow(0 0 20px #00FFFF); transform: scale(1.2); }

/* ---------- Link Cards ---------- */
.link-card {
    font-family: 'Rajdhani', sans-serif;
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 30px; margin-bottom: 20px;
    background: rgba(255,255,255,0.03); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 25px;
    color: #fff; text-decoration: none; font-size: 1.5rem;
    font-weight: 700; transition: 0.4s;
    text-transform: uppercase; letter-spacing: 2px; gap: 15px;
}
.link-card:hover {
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
    transform: scale(1.02); color: #00FFFF;
}

/* ---------- RGB Glow Border ---------- */
.rgb-glow { position: relative; border: none !important; }
.rgb-glow::before {
    content: ""; position: absolute; inset: -1px;
    border-radius: inherit; padding: 2px;
    background: linear-gradient(90deg, #ff0000, #00ffff, #8a2be2, #ff0000);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: borderRotate 3s linear infinite;
}
@keyframes borderRotate { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }

/* ---------- Glassmorphism Card ---------- */
.glass-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* ---------- Buttons ---------- */
.btn-primary {
    font-family: 'Orbitron', sans-serif;
    background: #DC143C; color: white; border: none;
    padding: 18px 36px; border-radius: 12px;
    font-weight: 900; cursor: pointer;
    letter-spacing: 2px; transition: 0.3s;
    text-transform: uppercase; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.btn-primary:hover {
    background: #ff1a4e;
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.6);
    transform: translateY(-2px);
}
.btn-primary:disabled { background: #222; color: #444; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-outline {
    font-family: 'Rajdhani', sans-serif;
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px);
    border-radius: 50px; color: #fff; cursor: pointer; text-decoration: none;
    transition: 0.3s; text-transform: uppercase; font-weight: 700; font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    height: 55px; min-width: 140px; padding: 0 30px;
    border: 1px solid rgba(255, 255, 255, 0.15); letter-spacing: 2px;
}
.btn-outline:hover { border-color: rgba(0, 255, 255, 0.6); color: #00FFFF; background: rgba(0, 255, 255, 0.05); }

/* ---------- Section Titles ---------- */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #DC143C;
    margin-bottom: 30px;
}

.section-subtitle {
    font-family: 'Rajdhani', sans-serif;
    color: #aaa;
    font-size: 1.1rem;
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* ---------- Footer ---------- */
.footer {
    font-family: 'Rajdhani', sans-serif;
    margin-top: 60px;
    color: #444;
    font-size: 1rem;
    padding-bottom: 40px;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.footer a { color: #555; text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: #DC143C; }

/* ---------- Utility ---------- */
.text-cyan { color: #00FFFF; }
.text-crimson { color: #DC143C; }
.text-gold { color: #FFD700; }
.text-muted { color: #888; }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    .content { padding: 30px 15px; }
    .social-bar { gap: 20px; }
    .social-bar svg { width: 36px; height: 36px; }
    .link-card { font-size: 1.15rem; padding: 22px; border-radius: 18px; }
    .site-nav { gap: 4px; padding: 10px 12px; }
    .site-nav a { font-size: 0.68rem; padding: 6px 10px; letter-spacing: 1px; }
    .site-nav .nav-brand { font-size: 0.75rem; margin-right: 6px; }
    body { padding-top: 95px; }
    .glass-card { padding: 25px 18px; }
}
