/* ============================================
   ELİT ARKADASLIK - ANA CSS
   ============================================ */

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

:root {
    --gold: #C9A84C;
    --gold-light: #E8C96A;
    --gold-dark: #9A7A2E;
    --dark: #0D0D0D;
    --dark2: #1A1A1A;
    --dark3: #252525;
    --dark4: #2E2E2E;
    --white: #FFFFFF;
    --gray: #999999;
    --light-gray: #F5F5F5;
    --danger: #e74c3c;
    --success: #27ae60;
    --info: #2980b9;
}

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

body {
    font-family: 'Raleway', sans-serif;
    background: var(--dark);
    color: var(--white);
    min-height: 100vh;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo img {
    height: 45px;
    width: auto;
}

.navbar-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 25px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    background: var(--gold);
    color: var(--dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, #1a1200 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 60%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.gold-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 25px auto;
}

/* ===== REGISTER FORM ===== */
.register-section {
    background: var(--dark2);
    padding: 60px 20px;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--dark3);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 16px;
    padding: 40px;
}

.form-container h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-align: center;
}

.form-container .subtitle {
    color: var(--gray);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--dark4);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--white);
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group select option {
    background: var(--dark4);
    color: var(--white);
}

.btn-gold {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--dark);
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.35);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 10px;
    padding: 12px 24px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 60px 20px;
    background: var(--dark);
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--dark3);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 14px;
    padding: 25px;
    transition: all 0.3s;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: rgba(201,168,76,0.1);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201,168,76,0.1);
}

.testimonial-card .stars {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.testimonial-card p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    flex-shrink: 0;
}

.author-info .name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

.author-info .city {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-danger {
    background: rgba(231,76,60,0.15);
    border: 1px solid rgba(231,76,60,0.4);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(39,174,96,0.15);
    border: 1px solid rgba(39,174,96,0.4);
    color: #69db7c;
}

.alert-info {
    background: rgba(41,128,185,0.15);
    border: 1px solid rgba(41,128,185,0.4);
    color: #74b9ff;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark2);
    border-top: 1px solid rgba(201,168,76,0.2);
    padding: 30px 20px;
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
}

footer span {
    color: var(--gold);
}

/* ===== USER PANEL ===== */
.user-layout {
    display: flex;
    min-height: 100vh;
}

.user-sidebar {
    width: 240px;
    background: var(--dark2);
    border-right: 1px solid rgba(201,168,76,0.15);
    padding: 20px 0;
    flex-shrink: 0;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.sidebar-user-info {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    margin-bottom: 15px;
}

.sidebar-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 auto 10px;
    border: 2px solid var(--gold);
    overflow: hidden;
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
}

.sidebar-city {
    font-size: 0.8rem;
    color: var(--gray);
}

.sidebar-menu {
    list-style: none;
    padding: 0 12px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: rgba(201,168,76,0.12);
    color: var(--gold);
}

.sidebar-menu li a .icon {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.user-main {
    flex: 1;
    padding: 30px;
    overflow-x: hidden;
}

/* ===== EARNINGS CARDS ===== */
.earnings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.earning-card {
    background: var(--dark3);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 14px;
    padding: 25px;
}

.earning-card .label {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.earning-card .amount {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}

.earning-card .amount span {
    font-size: 1rem;
    font-weight: 400;
}

/* ===== PREMIUM INTERESTED CARD ===== */
.interested-card {
    background: linear-gradient(135deg, #1a1000, #2a1a00, var(--dark3));
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.interested-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.interested-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 5px;
}

.interested-subtitle {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.interested-comment {
    background: rgba(255,255,255,0.04);
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0;
    padding: 15px;
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
}

/* ===== BAKIYE HAREKETLERİ ===== */
.transaction-list {
    background: var(--dark3);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 25px;
}

.transaction-header {
    background: rgba(201,168,76,0.08);
    padding: 18px 22px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.transaction-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.1rem;
}

.transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-item:hover {
    background: rgba(255,255,255,0.02);
}

.transaction-from {
    font-weight: 600;
    font-size: 0.95rem;
}

.transaction-desc {
    font-size: 0.8rem;
    color: var(--gray);
}

.transaction-amount {
    font-weight: 700;
    color: var(--success);
    font-size: 1rem;
}

.transfer-notice {
    background: rgba(39,174,96,0.1);
    border: 1px solid rgba(39,174,96,0.3);
    border-radius: 12px;
    padding: 18px 22px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #69db7c;
    font-size: 0.9rem;
}

/* ===== PROFILE EDIT ===== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.photo-slot {
    aspect-ratio: 1;
    border: 2px dashed rgba(201,168,76,0.3);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-slot:hover {
    border-color: var(--gold);
}

.photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-slot .add-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1.8rem;
}

.photo-slot .delete-photo {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(231,76,60,0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== ACTIVATION PAGE ===== */
.activation-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.05) 0%, transparent 70%);
}

.activation-card {
    background: var(--dark2);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.activation-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.activation-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.activation-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 35px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.35);
    background: #20ba58;
    color: white;
}

/* ===== ADMIN PANEL ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: #0a0a0a;
    border-right: 1px solid rgba(201,168,76,0.15);
    padding: 20px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
}

.admin-sidebar-header {
    padding: 15px 20px 25px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    margin-bottom: 15px;
    text-align: center;
}

.admin-sidebar-header .logo {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.1rem;
}

.admin-sidebar-header .sub {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 3px;
}

.admin-nav {
    list-style: none;
    padding: 0 12px;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 8px;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 2px;
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background: rgba(201,168,76,0.12);
    color: var(--gold);
}

.admin-main {
    flex: 1;
    padding: 30px;
    background: var(--dark);
    overflow-x: hidden;
}

.admin-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(201,168,76,0.2);
}

/* ADMIN TABLE */
.admin-table-wrapper {
    background: var(--dark2);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 14px;
    overflow: hidden;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th {
    background: rgba(201,168,76,0.08);
    color: var(--gold);
    font-weight: 600;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    white-space: nowrap;
}

.admin-table td {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: #ccc;
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success { background: rgba(39,174,96,0.2); color: #69db7c; }
.badge-danger { background: rgba(231,76,60,0.2); color: #ff6b6b; }
.badge-warning { background: rgba(243,156,18,0.2); color: #ffd43b; }

/* ADMIN STATS */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--dark2);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 14px;
    padding: 25px;
    text-align: center;
}

.stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-card .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 5px;
}

/* ADMIN FORM */
.admin-form {
    background: var(--dark2);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 14px;
    padding: 30px;
    max-width: 600px;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.8rem;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-sm-success { background: rgba(39,174,96,0.2); color: #69db7c; border: 1px solid rgba(39,174,96,0.3); }
.btn-sm-danger { background: rgba(231,76,60,0.2); color: #ff6b6b; border: 1px solid rgba(231,76,60,0.3); }
.btn-sm-info { background: rgba(41,128,185,0.2); color: #74b9ff; border: 1px solid rgba(41,128,185,0.3); }
.btn-sm-warning { background: rgba(243,156,18,0.2); color: #ffd43b; border: 1px solid rgba(243,156,18,0.3); }

.btn-sm:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--dark2);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 16px;
    padding: 35px;
    width: 100%;
    max-width: 480px;
    position: relative;
}

.modal h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark2);
        flex-direction: column;
        gap: 6px;
        padding: 12px;
        border-bottom: 1px solid rgba(201,168,76,0.2);
        z-index: 999;
    }
    
    .navbar-menu.open { display: flex; }
    
    .navbar-menu li {
        width: 100%;
    }

    .navbar-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 13px;
        border-radius: 10px;
        background: rgba(255,255,255,0.04);
    }
    
    .earnings-grid { grid-template-columns: 1fr; }
    
    .photo-grid { grid-template-columns: repeat(3, 1fr); }
    
    .user-layout { flex-direction: column; }
    
    .user-sidebar {
        width: 100%;
        position: static;
        height: auto;
    }
    
    .user-main { padding: 20px 15px; }
    
    .admin-layout { flex-direction: column; }
    
    .admin-sidebar {
        width: 100%;
        position: static;
        height: auto;
    }
    
    .admin-main { padding: 20px 15px; }
    
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    
    .form-container { padding: 25px 20px; }
}

@media (max-width: 480px) {
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-stats { grid-template-columns: 1fr 1fr; }
}
