/* Variables & Setup */
:root {
    --bg-color: #0a0a0a;
    --bg-darker: #050505;
    --primary-red: #e44f4a;
    --primary-red-glow: rgba(228, 79, 74, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-main); overflow-x: hidden; }
h1, h2, h3 { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 5px; border: 2px solid var(--bg-darker); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-red); }

/* Utilities */
.neon-text { font-size: 5rem; font-weight: 800; text-transform: uppercase; color: #fff; text-shadow: 0 0 10px var(--primary-red-glow), 0 0 20px var(--primary-red), 0 0 40px var(--primary-red); letter-spacing: 5px; margin-bottom: 10px; }
.neon-red { color: var(--primary-red); }
.section-title span { color: var(--primary-red); }
.mt-15 { margin-top: 15px; }

.glass-card {
    background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); border-radius: 15px; padding: 30px; transition: 0.3s;
}
.glass-card:hover { transform: translateY(-5px); border-color: var(--primary-red); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }

/* Navigation & Scrollspy Active Class */
#navbar { position: fixed; top: 0; width: 100%; padding: 20px 0; z-index: 1000; transition: 0.3s; }
#navbar.scrolled { background: rgba(10, 10, 10, 0.9); backdrop-filter: blur(15px); padding: 10px 0; border-bottom: 1px solid var(--glass-border); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo-img { max-height: 50px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a:hover { color: var(--primary-red); }
.nav-links a.active { color: var(--primary-red); text-shadow: 0 0 10px var(--primary-red-glow); font-weight: 600; }
.btn-sm { padding: 8px 15px; font-size: 0.9rem; }

/* Buttons */
.btn { padding: 12px 30px; border-radius: 8px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; font-family: 'Poppins', sans-serif; border: none; }
.btn-primary { background: var(--primary-red); color: #fff; box-shadow: 0 0 15px var(--primary-red-glow); }
.btn-primary:hover { background: #ff5e59; box-shadow: 0 0 25px var(--primary-red); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid var(--glass-border); }
.btn-secondary:hover { border-color: var(--primary-red); color: var(--primary-red); }

/* Hero & Typewriter */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.7), rgba(10,10,10,1)), url('../images/background.png') center/cover; z-index: -1; }
.slogan { font-size: 1.5rem; color: #ddd; margin-bottom: 30px; letter-spacing: 2px; height: 30px; }
.typewriter-cursor { animation: blink 0.8s infinite; color: var(--primary-red); font-weight: bold; margin-left: 2px; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.stats-container { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.stat-box { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 10px 20px; border-radius: 8px; font-weight: 600; }
.stat-box span { color: var(--primary-red); }

/* Sections */
.section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.dark-bg { background-color: var(--bg-darker); max-width: 100%; padding: 100px 10%; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* About Cards - Centered Icons */
.about-cards .glass-card { text-align: center; }
.card-icon { font-size: 2.5rem; color: var(--primary-red); margin-bottom: 20px; }

/* --- Staff Section (Hover Glow Fix) --- */
.staff-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; max-width: 1000px; margin: 0 auto; }
.staff-card { 
    width: 220px; padding: 25px 15px; border-radius: 20px; 
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); 
    text-align: center; transition: transform 0.3s ease, border-color 0.3s ease; backdrop-filter: blur(5px);
}
.staff-card:hover { transform: translateY(-8px); border-color: var(--primary-red); background: rgba(255, 255, 255, 0.05); }

/* Το δαχτυλίδι είναι απλό γκρι μέχρι να κάνεις hover */
.avatar-glow-ring { 
    width: 80px; height: 80px; margin: 0 auto 15px; border-radius: 50%; padding: 3px; 
    background: var(--glass-border); transition: 0.3s ease;
}
/* Όταν κάνεις hover στην κάρτα, το δαχτυλίδι ανάβει και γυρνάει */
.staff-card:hover .avatar-glow-ring {
    background: linear-gradient(45deg, transparent, var(--primary-red), transparent); 
    animation: rotateGlow 2s linear infinite;
}
.staff-avatar { width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--bg-darker); }
@keyframes rotateGlow { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } }

/* Join */
.steps-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; text-align: center; }
.step { flex: 1; min-width: 300px; }
.step-glow:hover { box-shadow: 0 0 30px rgba(228, 79, 74, 0.15); border-color: rgba(228, 79, 74, 0.5); }
.step-icon { font-size: 2.5rem; color: var(--primary-red); margin-bottom: 15px; text-shadow: 0 0 15px var(--primary-red-glow); }

/* Copy IP */
.copy-ip {
    display: inline-block; background: rgba(228, 79, 74, 0.1); padding: 10px 20px; border-radius: 8px;
    color: var(--primary-red); margin-top: 15px; font-size: 1.1rem; font-weight: 600;
    border: 1px solid rgba(228, 79, 74, 0.3); cursor: pointer; transition: all 0.3s ease; user-select: none;
}
.copy-ip:hover { background: var(--primary-red); color: #fff; box-shadow: 0 0 15px var(--primary-red-glow); transform: scale(1.05); }
.copy-ip:active { transform: scale(0.95); }
.copy-ip.success { background: #4CAF50; border-color: #4CAF50; color: #fff; box-shadow: 0 0 15px rgba(76, 175, 80, 0.5); }

/* Footer */
footer { background: #050505; border-top: 1px solid var(--glass-border); padding: 50px 20px 20px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-logo { max-height: 60px; margin-bottom: 20px; }
.footer-about { max-width: 400px; color: var(--text-muted); }
.social-icons { margin-top: 20px; display: flex; gap: 15px; }
.social-icons a { font-size: 1.5rem; color: #fff; }
.social-icons a:hover { color: var(--primary-red); transform: translateY(-3px); }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: var(--text-muted); }
.footer-links ul li a:hover { color: var(--primary-red); padding-left: 5px; }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--glass-border); color: #555; font-size: 0.9rem; }

/* Modal */
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(15px); opacity: 0; transition: opacity 0.3s ease; }
.modal.show { opacity: 1; }
.modal-content { position: relative; width: 90%; max-width: 800px; max-height: 80vh; overflow-y: auto; padding: 40px; transform: translateY(-50px); transition: transform 0.3s ease; border: 1px solid var(--primary-red); box-shadow: 0 0 40px rgba(228, 79, 74, 0.2); margin: auto; }
.modal.show .modal-content { transform: translateY(0); }
.close-btn { position: absolute; top: 20px; right: 25px; color: var(--text-muted); font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.close-btn:hover { color: var(--primary-red); transform: rotate(90deg); }
.tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; border-bottom: 1px solid var(--glass-border); padding-bottom: 10px; flex-wrap: wrap; }
.tab-btn { background: transparent; color: var(--text-muted); border: none; font-size: 1.1rem; font-family: 'Poppins', sans-serif; cursor: pointer; padding: 10px 20px; transition: 0.3s; position: relative; }
.tab-btn:hover { color: #fff; }
.tab-btn.active { color: var(--primary-red); text-shadow: 0 0 10px var(--primary-red-glow); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -11px; left: 0; width: 100%; height: 3px; background: var(--primary-red); box-shadow: 0 0 10px var(--primary-red); }
.tab-content { display: none; animation: fadeIn 0.4s; }
.tab-content.active { display: block; }
.tab-content ul li { margin-bottom: 15px; font-size: 1.05rem; line-height: 1.6; color: #ddd; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Music Player Widget */
#music-widget {
    position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column;
    padding: 15px 20px; border-radius: 15px; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 1px solid var(--glass-border); width: 320px;
}
#music-widget:hover { border-color: var(--primary-red); }
.music-top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.music-info { display: flex; align-items: center; gap: 10px; flex: 1; overflow: hidden; }
.music-icon { width: 35px; height: 35px; border-radius: 50%; background: var(--primary-red); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.track-details { display: flex; flex-direction: column; overflow: hidden; }
#track-name { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#track-artist { font-size: 0.7rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-controls { display: flex; gap: 12px; align-items: center; margin: 0 10px; }
.music-controls button { background: transparent; border: none; color: #fff; font-size: 1.1rem; cursor: pointer; transition: 0.2s; outline: none; }
.music-controls button:hover { color: var(--primary-red); transform: scale(1.1); }
.volume-control { display: flex; align-items: center; gap: 5px; width: 60px; color: var(--text-muted); font-size: 0.8rem; }
.music-progress-container { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 10px; font-size: 0.75rem; color: var(--text-muted); }
input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 10px; width: 10px; border-radius: 50%; background: var(--primary-red); cursor: pointer; margin-top: -3px; box-shadow: 0 0 5px var(--primary-red); }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 4px; cursor: pointer; background: rgba(255,255,255,0.2); border-radius: 2px; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228, 79, 74, 0.4); } 70% { box-shadow: 0 0 0 8px rgba(228, 79, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(228, 79, 74, 0); } }

/* Mobile Response */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .neon-text { font-size: 3rem; }
    #music-widget { bottom: 10px; right: 10px; left: 10px; width: calc(100% - 20px); }
}