/* KDR Platform - Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

/* CSS Variables - Glow Theme */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-card: rgba(18, 18, 42, 0.8);
    --purple-deep: #1a0a2e;
    --purple-glow: #9d4edd;
    --pink-glow: #ff6b9d;
    --turquoise: #00d9ff;
    --turquoise-dark: #00a8cc;
    --white: #ffffff;
    --white-soft: rgba(255, 255, 255, 0.9);
    --gray: #8892b0;
    --gray-dark: #495670;
    --success: #00c853;
    --warning: #ffc107;
    --danger: #ff5252;
    --gold: #ffc107;
    --gold-glow: rgba(255, 193, 7, 0.4);

    /* Glow Effects */
    --glow-turquoise: 0 0 20px rgba(0, 217, 255, 0.5), 0 0 40px rgba(0, 217, 255, 0.3);
    --glow-pink: 0 0 20px rgba(255, 107, 157, 0.5), 0 0 40px rgba(255, 107, 157, 0.3);
    --glow-purple: 0 0 20px rgba(157, 78, 221, 0.5), 0 0 40px rgba(157, 78, 221, 0.3);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    /* height: 100%; - Removed to prevent double scrollbars */
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg-primary);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    /* Mobile fix */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    /* Subtler background gradient - removed */
    background-image: none;
    overflow-y: auto;
    /* Ensure body scrolls */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--gray);
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

/* Creators Grid - Desktop: 6 items in one row (or 3x2 if preferred, but user said "6 ... 3 under 3 on phone" implying differing layouts) */
/* Let's go with 6 columns on desktop to show all in one line if space permits, or 3x2 if they want "faces of kader" block */
/* Standardizing to 6 columns for desktop as per "6" request */
.creators-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* Mobile: 3 under 3 (2 rows of 3) */
    .creators-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .creator-card {
        padding: 15px 10px;
    }

    .creator-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .creator-username {
        font-size: 0.8rem;
    }

    .creator-role {
        font-size: 0.7rem;
    }
}

/* Ensure sections are transparent for motion background */
.categories-section,
.creators-section {
    background: transparent !important;
}

/* Glass Morphism - Refined */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* More subtle border */
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.glass-nav {
    background: rgba(10, 10, 26, 0.85);
    /* Slightly clearer base */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    /* Ensure navbar is on top */
    position: fixed;
    /* Explicitly fixed */
    width: 100%;
    top: 0;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    /* Ensure logo is vertically centered */
}

.logo-icon {
    font-size: 1.8rem;
    /* Slightly larger icon */
    margin-left: 8px;
    /* Spacing for RTL */
}

.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-footer {
    background: #080816;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glow Effects - Toned Down */
.glow-text {
    /* Removed heavy text-shadow */
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
    color: var(--turquoise);
}

.glow-border {
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
    /* Reduced spread/opacity */
}

.glow-icon {
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.4));
}

.glow-badge {
    background: linear-gradient(135deg, var(--turquoise), var(--pink-glow));
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.glow-verified {
    color: var(--turquoise);
    filter: drop-shadow(0 0 5px rgba(0, 217, 255, 0.4));
}

/* Modern Navigation (iOS & Code-Class Style) */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

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

.site-name-text {
    font-family: 'Cairo', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--turquoise);
    border-color: rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* Buttons - Refined */
.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));
    color: var(--bg-primary);
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
    /* Much subtler shadow */
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background: transparent;
    color: var(--turquoise);
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: 2px solid var(--turquoise);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-outline:hover {
    background: var(--turquoise);
    color: var(--bg-primary);
    box-shadow: var(--glow-turquoise);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #ff1744);
    box-shadow: 0 0 20px rgba(255, 82, 82, 0.5);
}

/* Hero slider moved to landing-ios.css for premium layout */


/* Slider moved to landing-ios.css */


/* Categories Section */
.categories-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.category-card {
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-turquoise);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(157, 78, 221, 0.2));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--turquoise);
}

.category-card h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.9rem;
}

/* Creators Section */
.creators-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(157, 78, 221, 0.05));
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.creator-card {
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-normal);
}

.creator-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-purple);
}

.creator-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--purple-glow);
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 1.2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    padding: 2px;
}

.verified-badge[data-tooltip] {
    cursor: help;
}

.verified-badge[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    right: 50%;
    transform: translateX(50%);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    font-size: 0.85rem;
    color: var(--turquoise);
    z-index: 10;
}

.creator-card h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.creator-username {
    color: var(--turquoise);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.creator-role {
    color: var(--pink-glow);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.creator-bio {
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 40px;
}

.creator-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.creator-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    font-size: 0.9rem;
}

.creator-stats i {
    color: var(--pink-glow);
}

/* No Data */
.no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
}

.no-data p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--gray);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-brand .logo {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--gray);
}

.footer-links a:hover {
    color: var(--turquoise);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--turquoise);
    color: var(--bg-primary);
    box-shadow: var(--glow-turquoise);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.form-control::placeholder {
    color: var(--gray-dark);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* iOS Toggle Switch */
.ios-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.ios-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-dark);
    transition: var(--transition-normal);
    border-radius: 34px;
}

.ios-toggle .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    /* Fixed size */
    width: 22px;
    /* Fixed size */
    left: 4px;
    bottom: 6px;
    /* Adjusted centering */
    background: var(--white);
    transition: var(--transition-normal);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.ios-toggle input:checked+.slider {
    background: var(--turquoise);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.ios-toggle input:checked+.slider:before {
    transform: translateX(26px);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .creators-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Nav Refinement */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .hamburger-menu span {
        position: absolute;
        width: 25px;
        height: 2px;
        background: var(--white);
        transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
        border-radius: 2px;
    }

    .hamburger-menu span:nth-child(1) {
        transform: translateY(-8px);
        width: 20px;
        right: 7px;
    }

    .hamburger-menu span:nth-child(2) {
        transform: translateX(0);
    }

    .hamburger-menu span:nth-child(3) {
        transform: translateY(8px);
        width: 15px;
        right: 7px;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(0) rotate(45deg);
        width: 25px;
        right: 7px;
    }

    .hamburger-menu.active span:nth-child(2) {
        transform: translateX(100%);
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(0) rotate(-45deg);
        width: 25px;
        right: 7px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 15px 20px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        font-family: 'JetBrains Mono', 'Fira Code', monospace;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--gray) !important;
        transition: all 0.3s ease;
    }

    .nav-links a::before {
        content: '.';
        color: var(--turquoise);
        font-weight: bold;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(0, 217, 255, 0.08);
        border-color: var(--turquoise);
        color: var(--white) !important;
        transform: translateX(-5px);
        box-shadow: 0 5px 15px rgba(0, 217, 255, 0.1);
    }

    .nav-links a::after {
        display: none;
        /* Hide the old underline */
    }

    /* Admin link special look */
    .nav-links a.admin-link {
        border-color: rgba(255, 107, 157, 0.3);
    }

    .nav-links a.admin-link::before {
        color: var(--pink-glow);
    }
}

@media (max-width: 900px) {
    .navbar {
        width: 95%;
        height: 60px;
        top: 15px;
        padding: 0;
    }

    .hamburger-menu {
        display: flex;
    }

    /* Fixed Off-Canvas Mobile Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(75vw, 300px);
        height: 100vh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 80px 20px 20px;
        /* Top padding for close button space if needed, or just visual spacing */
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        gap: 15px;
        transform: translateX(100%);
        opacity: 1;
        /* Reset opacity from previous fade effect */
        pointer-events: all;
        /* Reset pointer events */
        transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        text-align: right;
        padding: 15px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .categories-grid,
    .creators-grid {
        grid-template-columns: 1fr;
    }



    .btn-glow {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Scrollbar removed as per user request */

/* Selection */
::selection {
    background: var(--turquoise);
    color: var(--bg-primary);
}

/* Journey Section - Premium Redesign */
.journey-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.journey-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
}

/* Vertical line connecting nodes */
.journey-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 2px;
    background: linear-gradient(to bottom,
            rgba(0, 217, 255, 0) 0%,
            rgba(0, 217, 255, 0.5) 15%,
            rgba(255, 107, 157, 0.5) 85%,
            rgba(255, 107, 157, 0) 100%);
    z-index: 0;
}

.journey-card {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.journey-card:nth-child(even) {
    flex-direction: row-reverse;
}

.journey-marker {
    width: 70px;
    height: 70px;
    background: var(--bg-secondary);
    border: 2px solid var(--turquoise);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
    color: var(--turquoise);
    font-size: 1.8rem;
    position: relative;
    transform: rotate(45deg);
    transition: var(--transition-normal);
}

.journey-marker i {
    transform: rotate(-45deg);
}

.journey-card:hover .journey-marker {
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

.journey-card:nth-child(even) .journey-marker {
    border-color: var(--pink-glow);
    color: var(--pink-glow);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.2);
}

.journey-card:nth-child(even):hover .journey-marker {
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.4);
}

.journey-content {
    flex: 1;
    padding: 40px;
    border-radius: 30px;
    text-align: right;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.journey-card:hover .journey-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 217, 255, 0.2);
    transform: translateY(-5px);
}

.journey-card:nth-child(even) .journey-content {
    text-align: left;
}

.journey-card:nth-child(even):hover .journey-content {
    border-color: rgba(255, 107, 157, 0.2);
}

.journey-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 800;
}

.journey-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

@media (max-width: 900px) {
    .journey-container::before {
        right: 35px;
    }

    .journey-card,
    .journey-card:nth-child(even) {
        flex-direction: row-reverse;
        gap: 30px;
    }

    .journey-content,
    .journey-card:nth-child(even) .journey-content {
        text-align: right;
        padding: 30px;
    }

    .journey-marker {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .journey-container::before {
        display: none;
    }

    .journey-card {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px;
    }

    .journey-content {
        text-align: center !important;
    }
}

/* --- Liquid Glass Social Refinement (v2) --- */
.social-premium-pack {
    display: flex;
    justify-content: center;
    gap: 32px;
    /* Slightly more breathing room */
    margin-top: 45px;
    perspective: 2500px;
    /* Maximum depth immersion */
}

.premium-glass-icon {
    position: relative;
    width: 68px;
    height: 68px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    /* Ultra-smooth squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.95rem;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    /* Elite iOS spring timing */
    transform-style: preserve-3d;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Enhanced Magnetic Reflection */
.premium-glass-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.1) 35%,
            transparent 55%);
    border-radius: 22px;
    transition: all 0.6s ease;
    opacity: 0.9;
}

.premium-glass-icon:hover {
    transform: translateY(-25px) rotateX(20deg) rotateY(20deg) scale(1.22);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow:
        0 45px 90px rgba(0, 0, 0, 0.8),
        0 0 50px var(--brand-glow);
}

.premium-glass-icon i,
.premium-glass-icon svg {
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.6));
    z-index: 10;
}

.premium-glass-icon:hover i,
.premium-glass-icon:hover svg {
    transform: translateZ(60px) scale(1.35);
    filter: drop-shadow(0 20px 40px var(--brand-glow));
}

/* Professional Brand Palette */
.premium-glass-icon.instagram {
    --brand-glow: rgba(225, 48, 108, 0.85);
}

.premium-glass-icon.instagram i {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-glass-icon.tiktok {
    --brand-glow: rgba(0, 242, 234, 0.85);
}

.premium-glass-icon.tiktok i {
    color: #ffffff;
    text-shadow: 5px 5px #ff0050, -5px -5px #00f2ea;
}

.premium-glass-icon.threads {
    --brand-glow: rgba(255, 255, 255, 0.7);
}

.premium-glass-icon.threads svg {
    fill: #ffffff;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1));
}

.premium-glass-icon.whatsapp {
    --brand-glow: rgba(37, 211, 102, 0.85);
}

.premium-glass-icon.whatsapp i {
    color: #25D366;
}

@media (max-width: 480px) {
    .social-premium-pack {
        gap: 20px;
    }

    .premium-glass-icon {
        width: 58px;
        height: 58px;
        font-size: 1.6rem;
    }
}

/* --- Admin Gold Theme override --- */
.admin-link,
.admin-sidebar a.active,
.admin-sidebar a:hover,
.btn-approve {
    color: var(--gold) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: rgba(255, 193, 7, 0.1) !important;
}

.glow-text-gold {
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow);
}

.gold-border-top::before {
    background: linear-gradient(90deg, var(--gold), var(--pink-glow)) !important;
}

/* --- Auth Pages Premium Refinement --- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: radial-gradient(circle at center, rgba(157, 78, 221, 0.1) 0%, transparent 70%);
}

.auth-card-premium {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.auth-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header .logo-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    text-decoration: none;
}

.auth-header .logo-img {
    height: 60px;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    transition: transform 0.4s ease;
}

.auth-header .logo-branding:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

.auth-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
}

.auth-header p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 8px;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    margin-right: 5px;
}

.auth-input-premium {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 20px;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.auth-input-premium:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--turquoise);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
    outline: none;
}

.password-toggle-premium {
    position: relative;
}

.password-toggle-premium .toggle-trigger {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.password-toggle-premium .toggle-trigger:hover {
    color: var(--turquoise);
}

.auth-btn-glass {
    width: 100%;
    background: linear-gradient(135deg, var(--turquoise), var(--purple-glow));
    border: none;
    border-radius: 16px;
    padding: 16px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.auth-btn-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 217, 255, 0.3);
}

.auth-btn-google-glass {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px;
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-btn-google-glass:hover {
    background: rgba(234, 67, 53, 0.1);
    border-color: #EA4335;
    box-shadow: 0 0 20px rgba(234, 67, 53, 0.2);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 35px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    color: var(--gray);
    font-size: 0.9rem;
}

.auth-footer-links {
    text-align: center;
    margin-top: 35px;
    font-size: 0.95rem;
    color: var(--gray);
}

.auth-footer-links a {
    color: var(--turquoise);
    font-weight: 600;
}

.auth-footer-links a:hover {
    text-decoration: underline;
}

.form-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.custom-checkbox input {
    accent-color: var(--turquoise);
    width: 18px;
    height: 18px;
}

.forgot-password-link {
    color: var(--gray);
}

.forgot-password-link:hover {
    color: var(--turquoise);
}

@media (max-width: 480px) {
    .auth-card-premium {
        padding: 40px 25px;
    }
}