:root { --orange: #FF6600; --cyan: #00f2ff; --black: #050505; }
body { background: var(--black); color: white; font-family: 'Teko', sans-serif; margin: 0; overflow: hidden; }

/* TEXTURES */
.noise-overlay { position: fixed; inset: 0; background: url('https://grainy-gradients.vercel.app/noise.svg'); opacity: 0.05; pointer-events: none; z-index: 100; }
.bg-overlay { position: fixed; inset: 0; background: radial-gradient(circle at center, #1a0d00 0%, #050505 100%); z-index: -1; }

/* PRELOADER */
#preloader { position: fixed; inset: 0; background: #050505; display: flex; justify-content: center; align-items: center; z-index: 1000; }
.preloader-logo { font-family: 'Syncopate'; font-size: 3rem; letter-spacing: 10px; position: relative; }
.preloader-logo::before, .preloader-logo::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0.8; }
.preloader-logo::before { color: #0ff; z-index: -1; animation: p-glitch 0.3s infinite linear alternate-reverse; }
.preloader-logo::after { color: var(--orange); z-index: -2; animation: p-glitch 0.3s infinite linear alternate; }
@keyframes p-glitch { 0% { transform: translate(0); } 20% { transform: translate(-3px, 3px); } 100% { transform: translate(0); } }
.load-bar-container { width: 200px; height: 2px; background: #222; margin: 20px auto; }
.load-bar { width: 0%; height: 100%; background: var(--orange); }

/* INSTAGRAM FAB */
.native-insta-fab {
    position: fixed; bottom: 30px; right: 30px; z-index: 500;
    display: flex; align-items: center; gap: 12px; padding: 10px 20px;
    background: rgba(15, 15, 15, 0.8); border: 1px solid rgba(255, 102, 0, 0.4);
    backdrop-filter: blur(10px); text-decoration: none; color: white;
    font-family: 'Syncopate'; font-size: 0.6rem; letter-spacing: 2px;
    opacity: 0; transition: 0.4s;
}
.native-insta-fab:hover { background: var(--orange); color: black; transform: translateY(-5px); }

/* MAIN PAGE */
#main-page { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.glitch-logo { font-family: 'Syncopate'; font-size: clamp(3rem, 10vw, 6rem); letter-spacing: 15px; opacity: 0; }
.tagline { color: var(--orange); letter-spacing: 8px; opacity: 0; transform: translateY(20px); }
.about-section { max-width: 500px; margin-top: 50px; opacity: 0; }
#show-members-btn { margin-top: 30px; padding: 12px 35px; background: transparent; border: 1px solid var(--orange); color: var(--orange); font-family: 'Syncopate'; cursor: pointer; transition: 0.4s; }

/* MEMBERS PAGE */
#members-page { position: fixed; inset: 0; background: var(--black); display: none; z-index: 10; overflow-y: auto; }
.header-mini { padding: 60px 10% 40px; display: flex; justify-content: space-between; align-items: center; }
.orange { color: var(--orange); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; padding: 0 10% 100px; }

/* MEMBER CARDS */
.member-card { height: 500px; opacity: 0; transform: translateY(50px); cursor: pointer; }
.card-inner { position: relative; width: 100%; height: 100%; background: #0d0d0d; border: 1px solid #222; overflow: hidden; clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%); }
.image-box { width: 100%; height: 100%; filter: grayscale(1) brightness(0.5); transition: 0.8s; }
.image-box img { width: 100%; height: 100%; object-fit: cover; }
.info { position: absolute; bottom: 0; left: 0; padding: 40px 25px; width: 100%; background: linear-gradient(transparent, black); }
.name { font-size: 2.8rem; margin: 0; line-height: 0.9; }
.role { color: var(--orange); letter-spacing: 4px; }
.role.videographer { color: var(--cyan); text-shadow: 0 0 10px rgba(0, 242, 255, 0.4); }
.member-card:hover .image-box { filter: grayscale(0) brightness(0.8); transform: scale(1.05); }
.member-card:hover .card-inner { border-color: var(--orange); }

/* MODAL */
#member-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.95); backdrop-filter: blur(10px); opacity: 0; }
.modal-content { position: relative; width: 85%; max-width: 900px; background: #0a0a0a; border: 1px solid var(--orange); padding: 40px; transform: scale(0.8); opacity: 0; }
.modal-layout { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.modal-image { width: 300px; height: 400px; background-size: cover; background-position: center; clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%); }
.modal-name { font-size: 4rem; margin: 0; line-height: 1; }
.insta-action-btn { display: inline-block; margin-top: 20px; padding: 10px 25px; border: 1px solid var(--orange); color: var(--orange); text-decoration: none; font-family: 'Syncopate'; font-size: 0.7rem; }
.insta-action-btn:hover { background: var(--orange); color: black; }