@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --bg-dark: #070b14;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #06b6d4; /* Neon Cyan */
    --accent-secondary: #2563eb; /* Cyber Blue */
    --accent-vibrant: #22d3ee; /* Electric Cyan */
    --accent-danger: #f43f5e; /* Alert Red */
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --border-color: rgba(51, 65, 85, 0.5);
    --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.4);
    --transition-fast: 0.2s ease;
    --transition-slow: 0.4s ease;
}

/* Cyber Background Effects */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-dark) 100%);
    z-index: -1;
    pointer-events: none;
}

.scanline {
    width: 100%;
    height: 100px;
    z-index: 9999;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.1;
    position: fixed;
    bottom: 100%;
    left: 0;
    animation: scanline 10s linear infinite;
    pointer-events: none;
}

@keyframes scanline {
    0% { bottom: 100%; }
    100% { bottom: -100px; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: #67e8f9;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Header Spacer */
.header-spacer {
    height: 80px;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Dropdown/Accordion */
.accordion {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background: var(--bg-card);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background var(--transition-fast);
}

.accordion-header:hover {
    background: var(--bg-card-hover);
}

.accordion-content {
    padding: 0 1.5rem;
    background: var(--bg-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.accordion.active .accordion-content {
    padding: 1.5rem;
    max-height: 500px;
}

.accordion.active .accordion-header {
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-primary);
}

/* Footer */
footer {
    background: var(--bg-card);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

/* Gradient Text */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* File List Styles */
.file-list {
    list-style: none;
}
.file-list li {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}
.file-list li:last-child {
    border-bottom: none;
}
.file-list li:hover {
    background: rgba(255,255,255,0.02);
}
.file-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--accent-primary);
}

/* Profile Cards */
.profile-card {
    text-align: center;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.profile-img {
    width: 100%;
    height: 350px;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.profile-content {
    padding: 1.5rem;
    flex: 1;
}
.profile-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-dark);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.profile-footer {
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(0,0,0,0.1);
}
.profile-footer a {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Mobile menu needed in real app, simplified for now */
    h1 { font-size: 2.5rem; }
}

/* Premium Profile Cards (New Template) */
.premium-member-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(6, 182, 212, 0.1);
    border-radius: 30px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center everything horizontally */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.premium-member-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.2);
}

.premium-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 4px; /* More technical look */
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    position: relative;
}

.premium-badge::before {
    content: '[';
    margin-right: 5px;
    opacity: 0.5;
}

.premium-badge::after {
    content: ']';
    margin-left: 5px;
    opacity: 0.5;
}

.premium-img-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-img-container::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: conic-gradient(from 0deg, transparent, var(--accent-primary), transparent);
    border-radius: 50%;
    z-index: -1;
    animation: rotateCyber 4s linear infinite;
    opacity: 0.5;
}

@keyframes rotateCyber {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.premium-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-card);
    transition: all 0.5s ease;
    filter: saturate(1.2);
}

.premium-member-card:hover .premium-img {
    transform: scale(1.1);
    border-color: var(--accent-primary);
}

.premium-social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: auto;
    padding-top: 2rem;
}

.premium-social-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px; /* Square/Tech look */
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

/* Cyber Terminal & Status */
.cyber-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-vibrant);
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
    animation: pulseStatus 1.5s infinite;
}

@keyframes pulseStatus {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.cyber-terminal {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-vibrant);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    border-left: 2px solid var(--accent-primary);
}
