/* public/me/style.css (Definitive Edition) */

/* --- Import Google Fonts (Poppins, Noto Serif, dan Dancing Script untuk tanda tangan) --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Noto+Serif:ital@0;1&family=Dancing+Script:wght@700&display=swap');

/* --- Global Settings & Variables --- */
:root {
    --bg-gradient: linear-gradient(135deg, #0a0f1f, #02040a);
    --panel-bg: rgba(23, 29, 49, 0.5);
    --panel-border: rgba(56, 73, 122, 0.5);
    --text-primary: #e0e5f0;
    --text-secondary: #8a99c0;
    --accent-glow: #00f6ff;
    --accent-green: #20C20E;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --shadow-color: rgba(0, 246, 255, 0.1);
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 5px var(--accent-glow), 0 0 10px var(--accent-glow); }
    50% { text-shadow: 0 0 15px var(--accent-glow), 0 0 25px var(--accent-glow); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(32, 194, 14, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(32, 194, 14, 0); }
    100% { box-shadow: 0 0 0 0 rgba(32, 194, 14, 0); }
}

/* --- Base Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    display: flex;
    flex-direction: column; 
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

/* --- Global Navigation Styles --- */
.global-nav {
    display: flex; justify-content: center; align-items: center;
    flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem;
    background: var(--panel-bg); border: 1px solid var(--panel-border);
    border-radius: 12px; margin-bottom: 2rem;
    width: 100%; max-width: 600px; backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky; top: 1rem; z-index: 100;
}
.global-nav a {
    color: var(--text-secondary); text-decoration: none;
    padding: 0.5rem 1rem; border-radius: 8px;
    display: inline-flex; align-items: center;
    gap: 0.5rem; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s ease; border: 1px solid transparent;
}
.global-nav a:hover {
    color: var(--text-primary);
    background-color: rgba(56, 73, 122, 0.4);
}
.global-nav a.active {
    color: var(--accent-glow);
    background-color: rgba(0, 246, 255, 0.1);
    border-color: rgba(0, 246, 255, 0.2);
}
.global-nav i { font-size: 1rem; }

/* --- Main Content & Header --- */
.main-container {
    width: 100%; max-width: 800px; /* Lebarkan sedikit untuk daftar aturan */
    display: flex; flex-direction: column; gap: 1.5rem;
}
.profile-header, .page-header { text-align: center; margin-bottom: 1rem; }
.profile-picture {
    width: 120px; height: 120px; border-radius: 50%;
    border: 3px solid var(--panel-border); object-fit: cover;
    box-shadow: 0 0 20px var(--shadow-color); margin-bottom: 1rem;
}
.profile-name { font-size: 2.5rem; font-weight: 700; animation: glow 4s ease-in-out infinite; }
.profile-tagline { margin-top: 0.5rem; }
.greek-quote { font-family: 'Noto Serif', serif; font-style: italic; font-size: 1.2rem; color: var(--text-primary); }
.quote-translation { font-size: 0.9rem; color: var(--text-secondary); font-style: italic; }
.quote-author { font-size: 0.9rem; color: var(--text-secondary); margin-top: 0.25rem; }
.status-indicator {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background-color: rgba(32, 194, 14, 0.1); color: var(--accent-green);
    padding: 0.4rem 1rem; border-radius: 50px;
    font-size: 0.9rem; font-weight: 600; margin-top: 1.5rem;
    border: 1px solid rgba(32, 194, 14, 0.3);
}
.status-dot { width: 8px; height: 8px; background-color: var(--accent-green); border-radius: 50%; animation: pulse 2s infinite; }

/* --- Card Styling --- */
.card {
    background: var(--panel-bg); border: 1px solid var(--panel-border);
    border-radius: 16px; padding: 1.5rem 2rem;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.card h2 {
    font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.75rem;
    color: var(--accent-glow); border-bottom: 1px solid var(--panel-border);
    padding-bottom: 0.75rem;
}
.card p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.card p:last-child { margin-bottom: 0; }

/* --- Contributors/Crew Section --- */
.contributors-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem; text-align: center;
}
.contributor-card { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.contributor-avatar {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--panel-border); transition: transform 0.3s, box-shadow 0.3s;
}
.contributor-card:hover .contributor-avatar { transform: scale(1.1); box-shadow: 0 0 15px var(--shadow-color); }
.contributor-name { font-weight: 600; color: var(--text-primary); }

/* --- Social Links --- */
.social-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; }
.social-link {
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    padding: 0.75rem; background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px; text-decoration: none; color: var(--text-primary);
    font-weight: 600; transition: all 0.3s ease; border: 1px solid transparent;
}
.social-link:hover { transform: translateY(-3px); background-color: rgba(255, 255, 255, 0.1); border-color: var(--panel-border); }
.social-link i { font-size: 1.2rem; }
.social-link.github:hover { color: #ffffff; }
.social-link.whatsapp:hover { color: #25D366; }
.social-link.instagram:hover { color: white; background: var(--instagram-gradient); border-color: transparent; }

/* --- Footer --- */
footer { text-align: center; margin-top: 1.5rem; padding-bottom: 1rem; }
footer a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; display: inline-flex; align-items: center; gap: 0.3rem; }
footer a:hover { color: var(--accent-glow); }
footer .copyright { margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-secondary); }

/* --- Signature Area --- */
.signature-area { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--panel-border); }
.signature-area h3 { text-align: center; font-weight: 400; color: var(--text-secondary); margin-bottom: 2rem; }
.signatures { display: flex; justify-content: space-around; align-items: flex-end; flex-wrap: wrap; gap: 2rem; }
.signature-block { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.signature-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--panel-border); margin-bottom: 0.5rem; }
.signature-text {
    font-family: 'Dancing Script', cursive; font-size: 2.2rem; color: var(--accent-glow);
    border-bottom: 1px solid var(--panel-border); padding: 0 0.5rem 0.25rem 0.5rem;
    min-width: 150px; text-align: center;
}

/* --- [NEW] Styles for Book of Rules --- */
.rules-section-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-glow);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--panel-border);
}
.rules-section-header:first-of-type {
    margin-top: 0;
}
.rules-list {
    list-style: none;
    padding-left: 0;
    counter-reset: rules-counter;
}
.rules-list li {
    counter-increment: rules-counter;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.rules-list li::before {
    content: counter(rules-counter);
    background-color: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--panel-border);
    color: var(--accent-glow);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.rules-list strong {
    color: var(--text-primary);
}

/* --- Styles for Text Pages (Privacy) --- */
.text-page h2 { margin-top: 1.5rem; }
.text-page h2:first-of-type { margin-top: 0; }
.text-page ul { padding-left: 20px; color: var(--text-secondary); line-height: 1.8; }
.text-page ul li { margin-bottom: 0.75rem; } /* Adjusted from li to ul li for specificity */
.text-page a { color: var(--accent-glow); text-decoration: none; font-weight: 600; }

/* --- Responsive Adjustments --- */
@media (max-width: 480px) {
    body { padding: 1rem 0.5rem; }
    .global-nav { top: 0.5rem; }
    .global-nav a { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
    .card { padding: 1.5rem 1rem; }
    .main-container { max-width: 100%; }
}