:root {
    --p: #8a2be2; --bg: #050505; --c: #111; --txt: #fff;
    --acc: #00e5ff; --wa: #25D366; --glass: rgba(15, 15, 15, 0.9);
}

* { box-sizing: border-box; transition: 0.3s ease; }

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg);
    color: var(--txt);
    margin: 0;
    background-image: radial-gradient(circle at 50% 0%, #1a0033 0%, #000 80%);
    min-height: 100vh;
}

header {
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}

.brand h1 { margin: 0; font-size: 1.6rem; font-weight: 900; text-shadow: 0 0 15px var(--p); letter-spacing: 1px; }
.brand span { font-size: 0.65rem; color: var(--acc); letter-spacing: 3px; display: block; }

.btn-admin-gate { background: none; border: 1px solid #333; font-size: 1.2rem; cursor: pointer; border-radius: 50%; width: 40px; height: 40px; }
.btn-admin-gate:hover { border-color: var(--p); transform: rotate(20deg); }

.container { max-width: 1100px; margin: 30px auto; padding: 0 20px; }
.section-title { color: #666; font-size: 1.1rem; border-bottom: 1px solid #222; padding-bottom: 10px; margin-bottom: 25px; }
.admin-title { color: #ff4444; border-color: #ff444433; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }

.card {
    background: var(--c);
    border: 1px solid #222;
    border-right: 5px solid var(--p);
    border-radius: 20px;
    padding: 25px;
    position: relative;
}

.card:hover { transform: translateY(-8px); border-color: #444; box-shadow: 0 15px 35px rgba(0,0,0,0.8); }

.tag-badge { background: var(--p); color: #fff; padding: 5px 12px; border-radius: 8px; font-weight: 900; font-size: 0.85rem; }

.action-btn {
    width: 100%; padding: 12px; border-radius: 12px; font-weight: 900; 
    cursor: pointer; border: none; margin-top: 10px; display: block; 
    text-align: center; text-decoration: none; font-family: inherit;
}

.btn-join { background: rgba(0, 255, 136, 0.1); color: #00ff88; border: 1px solid #00ff88; }
.btn-join:hover { background: #00ff88; color: #000; }

.btn-wa { background: rgba(37, 211, 102, 0.1); color: var(--wa); border: 1px solid var(--wa); }

.btn-google { background: #fff; color: #000; border: none; padding: 10px 20px; border-radius: 30px; cursor: pointer; font-weight: 900; display: flex; align-items: center; gap: 8px; }

/* Modal */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: none; justify-content: center; align-items: center; z-index: 2000; }
.modal-box { background: #161616; width: 90%; max-width: 450px; padding: 35px; border-radius: 25px; border: 1px solid var(--p); }
.modal-box input { width: 100%; padding: 15px; background: #000; border: 1px solid #333; color: #fff; margin-bottom: 15px; border-radius: 12px; font-family: inherit; outline: none; }

.fab { position: fixed; bottom: 30px; left: 30px; width: 65px; height: 65px; background: var(--p); border-radius: 50%; color: #fff; font-size: 30px; border: none; cursor: pointer; box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4); }
