/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #121212;
    --card-bg: rgba(30, 30, 30, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #8a2be2;
    --accent-hover: #9d4ced;
    --input-bg: rgba(44, 44, 44, 0.5);
    --input-border: rgba(255, 255, 255, 0.1);
    --error-color: #ff4d4d;
    --success-color: #00cc66;
    --nav-bg: #181818;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 40%);
    color: var(--text-primary);
    min-height: 100vh;
}

/* Helper for centering auth pages, but allowing dashboard flow */
.center-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
    /* Constrain width for mobile app feel */
}

/* Authentication Cards */
.auth-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ... (Keep existing auth styles for consistency) ... */
.logo-area {
    margin-bottom: 30px;
    overflow: hidden;
}

.auth-banner {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 30px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.logo-placeholder {
    width: 100%;
    height: 140px;
    background-image: url('img/auth_header_geo.png');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

p.subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(44, 44, 44, 0.8);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.15);
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-secondary);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.links {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

/* Common Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 25px;
    transition: all 0.2s;
    padding: 8px 15px;
    margin-left: -15px;
    border-radius: 10px;
}

.back-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-5px);
}

.back-btn ion-icon {
    font-size: 20px;
}

.error-message {
    color: var(--error-color);
    background: rgba(255, 77, 77, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: left;
}

.success-message {
    color: var(--success-color);
    background: rgba(0, 204, 102, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: left;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.checkbox-group input {
    accent-color: var(--accent-color);
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--text-secondary);
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--input-border);
}

.divider span {
    padding: 0 10px;
    text-transform: uppercase;
}

/* 
 * DASHBOARD STYLES 
 */
.dashboard-container {
    padding: 30px 40px;
    padding-bottom: 40px;
    /* Reduced, handled by bottom-nav margin on mobile */
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 20px;
        padding-bottom: 100px;
        /* Extra space for bottom nav on mobile */
    }
}

/* Header */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Neat separator */
}

/* Studio / Management Container */
.studio-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 40px 40px 40px;
}

@media (max-width: 768px) {
    .studio-container {
        padding-bottom: 110px;
    }
}

.revenue-card {
    background: linear-gradient(135deg, #1e1e24 0%, #121216 100%);
    border-radius: 24px;
    padding: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.revenue-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.revenue-content {
    position: relative;
    z-index: 1;
}

.revenue-card h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 10px 0;
    letter-spacing: -1.5px;
    color: white;
}

.revenue-label {
    background: rgba(56, 239, 125, 0.1);
    color: #38ef7d;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.revenue-card .btn-primary {
    position: relative;
    z-index: 1;
    margin: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wallet-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.wallet-pill:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    font-size: 24px;
}

.header-icons a {
    color: white;
    display: flex;
    transition: transform 0.2s, color 0.2s;
}

.header-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.user-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.notif-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: relative;
}

.notif-dot {
    position: absolute;
    top: 0;
    right: 2px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 1px solid var(--bg-color);
}

/* Search Bar */
.search-bar-container {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.search-bar-container input {
    width: 100%;
    padding: 16px 48px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    /* Subtle border for neatness */
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-bar-container input:focus {
    background-color: rgba(60, 60, 60, 0.4);
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.1);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-submit-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.search-submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-50%) scale(1.05);
}

.filter-btn {
    position: absolute;
    right: 56px;
    /* Shifted for submit button */
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    cursor: pointer;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    margin-bottom: 24px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.tab-pill {
    padding: 8px 20px;
    background-color: var(--card-bg);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.tab-pill.active {
    background-color: var(--accent-color);
    color: white;
}

/* Featured Card */
.featured-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 20px;
    height: 200px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.featured-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.featured-tag {
    background: white;
    color: black;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.featured-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.featured-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

.featured-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Abstract gradient as placeholder */
    background: radial-gradient(circle at 70% 30%, rgba(138, 43, 226, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    object-fit: cover;
    z-index: 1;
}

/* Sections */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
}

.view-all {
    font-size: 12px;
    color: var(--accent-color);
    text-decoration: none;
}

/* Horizontal Scroll List */
.horizontal-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 25px 0;
    margin-bottom: 20px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.horizontal-list::after {
    content: '';
    min-width: 20px;
    /* Right-side padding for scroll */
}

.horizontal-list::-webkit-scrollbar {
    display: none;
}

.learning-card {
    min-width: 240px;
}

.thumb-box {
    height: 140px;
    background-color: #333;
    border-radius: 12px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-author {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Asset Grid */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .asset-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .asset-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1440px) {
    .asset-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1800px) {
    .asset-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.asset-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    padding-bottom: 12px;
}

.asset-thumb {
    height: 160px;
    /* Slightly taller for better impact */
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.asset-card:hover .asset-thumb img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.asset-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    color: white;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.heart-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.asset-info {
    padding: 16px;
}

.asset-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.asset-creator {
    font-size: 11px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.asset-rating {
    font-size: 11px;
    color: #ffbf00;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-around;
    padding: 12px 10px 22px 10px;
    z-index: 1000;
}

@media (min-width: 768px) {
    .bottom-nav {
        width: auto;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 24px;
        bottom: 25px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px 60px;
        gap: 30px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
        background-color: rgba(20, 20, 20, 0.9);
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 10px;
}

.nav-item ion-icon {
    font-size: 24px;
}

.nav-item.active {
    color: var(--accent-color);
}

.nav-badge {
    position: absolute;
    top: -2px;
    right: -5px;
    background: var(--accent-color);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    font-size: 9px;
    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
}

/* 
 * LANDING PAGE STYLES 
 */

/* 
 * LANDING PAGE STYLES - FIXED
 */
.landing-body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh;
    background-color: #0a0a0a;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(138, 43, 226, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(56, 17, 99, 0.4) 0%, transparent 50%);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.landing-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    color: white;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: white;
}

.landing-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-visual {
    width: 100%;
    max-width: 450px;
    height: 400px;
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract 3D-ish Shape */
.abstract-shape {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, #d6a4ff, #8a2be2, #4b0082);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    filter: blur(10px);
    box-shadow:
        inset 20px 20px 60px rgba(255, 255, 255, 0.4),
        inset -20px -20px 60px rgba(0, 0, 0, 0.4),
        0 20px 50px rgba(0, 0, 0, 0.5);
    animation: liquidMorph 10s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.abstract-shape::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(15px);
}

@keyframes liquidMorph {

    0%,
    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: rotate(0deg) scale(1);
    }

    34% {
        border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
        transform: rotate(120deg) scale(1.05);
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: rotate(240deg) scale(0.95);
    }
}

/* Floating Elements */
.hero-visual::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: #8a2be2;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    z-index: 0;
}

/* Glass Card */
.glass-card {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 320px;
    background: rgba(25, 25, 25, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.card-icon {
    min-width: 44px;
    height: 44px;
    background: #4a1985;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e0bbff;
    font-size: 22px;
}

.card-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 10px;
    font-weight: 700;
    color: #a0a0a0;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

/* Hero Content Text */
.hero-content {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(90deg, #b066fe, #d6a4ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-2 {
    background: linear-gradient(90deg, #d6a4ff, #8a2be2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 17px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 40px;
    padding: 0 15px;
}

/* CTA Group */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
}

.btn-large {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary.btn-large {
    background: #8a2be2;
    color: white;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.4);
}

.btn-primary.btn-large:hover {
    background: #9d4ced;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(138, 43, 226, 0.5);
}

.btn-secondary.btn-large {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary.btn-large:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.landing-footer {
    padding: 40px 20px;
    text-align: center;
    font-size: 12px;
    color: #555;
}

.landing-footer a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer a:hover {
    color: white;
}

/* Desktop Responsiveness */
@media (min-width: 768px) {
    .landing-hero {
        padding-top: 40px;
    }

    .hero-content h1 {
        font-size: 64px;
    }

    .cta-group {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .btn-large {
        width: auto;
        min-width: 180px;
    }

    .hero-visual {
        height: 450px;
    }

    .abstract-shape {
        width: 350px;
        height: 350px;
    }
}

/* Legal Pages */
.legal-container {
    max-width: 700px;
    margin: 60px auto;
    padding: 60px;
    background-color: rgba(20, 20, 20, 0.95);
    /* Darker, more solid background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Slightly more visible border */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.legal-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.legal-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 50px 0 20px 0;
    color: white;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Separator line */
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    /* Better readability */
    color: #d0d0d0;
    margin-bottom: 24px;
}

.legal-content ul {
    font-size: 16px;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 24px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 12px;
    position: relative;
}

/* Back Button adjustments */
.legal-container>a {
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}

.legal-container>a:hover {
    opacity: 1;
    transform: translateX(-4px);
}

.back-btn {
    transition: transform 0.2s, opacity 0.2s;
    cursor: pointer;
}

.back-btn:hover {
    transform: translateX(-4px);
    opacity: 0.8;
}

.back-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .legal-container {
        padding: 30px;
        margin: 20px;
    }

    .legal-content h1 {
        font-size: 32px;
    }
}

/* Home Page Redesign Components */
.category-chips {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 24px;
    scrollbar-width: none;
}

.category-chips::-webkit-scrollbar {
    display: none;
}

.chip {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.chip.active {
    background: #8a2be2;
    border-color: #8a2be2;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.bundle-banner {
    width: 100%;
    min-height: 240px;
    background: linear-gradient(135deg, #0f0f0f 0%, #050505 100%);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    /* Added for mobile */
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.bundle-image {
    width: 45%;
    min-width: 300px;
    /* Force wrap on small screens */
    height: auto;
    min-height: 240px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.02);
    order: 2;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.bundle-content {
    padding: 40px;
    z-index: 2;
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
}

.bundle-badge {
    background: #8a2be2;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 8px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.bundle-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.bundle-desc {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 440px;
}

.bundle-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bundle-price {
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.bundle-old-price {
    font-size: 16px;
    color: #666;
    text-decoration: line-through;
    font-weight: 500;
}

.btn-bundle {
    background: white;
    color: black;
    padding: 14px 32px;
    border-radius: 100px;
    /* Pillow shape like image */
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    margin-left: auto;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-bundle:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.trending-card {
    min-width: 180px;
    background: transparent;
    text-decoration: none;
    color: white;
}

.trending-thumb {
    width: 100%;
    height: 140px;
    background: #222;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.save-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
}

.view-controls {
    display: flex;
    gap: 12px;
}

.view-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
}

.view-btn.active {
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
}

.asset-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2px;
}

.asset-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #a0a0a0;
}

.asset-price-new {
    font-weight: 700;
    color: #8a2be2;
}

.asset-price-free {
    color: #00cc66;
    font-weight: 700;
}

/* List View Toggle Support */
.asset-grid.list-view {
    grid-template-columns: 1fr;
}

.asset-grid.list-view .asset-card {
    display: flex;
    gap: 20px;
    align-items: center;
}

.asset-grid.list-view .trending-thumb {
    width: 120px;
    height: 80px;
    margin-bottom: 0;
}

.asset-grid.list-view .asset-title {
    font-size: 16px;
}

/* Wallet Specific Styles */
.wallet-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .wallet-grid {
        grid-template-columns: 1fr;
    }
}

.balance-card {
    background: linear-gradient(135deg, var(--accent-color), #4b0082);
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.balance-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
    font-weight: 500;
}

.balance-amount {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
}

.wallet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.action-btn {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.action-btn.primary {
    background: white;
    color: var(--accent-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.action-btn.primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.action-btn:active {
    transform: scale(0.98);
}

.transaction-list {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.transaction-list h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.transaction-item:last-child {
    border-bottom: none;
}

.t-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}

.t-icon.deposit {
    background: rgba(56, 239, 125, 0.1);
    color: #38ef7d;
}

.t-icon.withdrawal {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.t-icon.purchase {
    background: rgba(255, 191, 0, 0.1);
    color: #ffbf00;
}

.t-info {
    flex: 1;
}

.t-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    text-transform: capitalize;
}

.t-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.t-amount {
    font-weight: 700;
    font-size: 15px;
}

.t-amount.positive {
    color: #38ef7d;
}

.t-amount.negative {
    color: var(--text-primary);
}

/* Improved Withdrawal Modal */
.withdrawal-modal {
    background: linear-gradient(135deg, #2b0a50 0%, #1e1e1e 80%);
    border-radius: 24px;
    padding: 30px;
    width: 380px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.withdrawal-modal::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(138, 43, 226, 0.15);
    border-radius: 50%;
    filter: blur(50px);
}

.modal-header {
    margin-bottom: 30px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.modal-header h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

.modal-header p {
    font-size: 13px;
    color: var(--text-secondary);
}

.amount-input-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.amount-input-container:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.1);
}

.currency-symbol {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-right: 10px;
}

.amount-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    font-weight: 700;
    width: 100%;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.amount-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Remove Arrows/Spinners */
.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.max-btn {
    background: rgba(138, 43, 226, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(138, 43, 226, 0.3);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.max-btn:hover {
    background: rgba(138, 43, 226, 0.4);
}

.withdraw-btn {
    width: 100%;
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
    position: relative;
    z-index: 2;
}

.withdraw-btn:hover {
    background: #9d4ced;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
}

.cancel-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.2s;
}

.cancel-link:hover {
    color: white;
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: #1a1a1d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 20px;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    margin: 0 auto 24px;
}

.modal-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.modal-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-btn-confirm {
    background: #ff4444;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.modal-btn-confirm:hover {
    background: #ff5555;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 68, 68, 0.3);
}

.modal-btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px 20px;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Professional Form Styling */
.glass-form-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    width: 100%;
    margin-bottom: 30px;
}

.form-header {
    margin-bottom: 30px;
    text-align: left;
}

.form-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    /* Slightly more visible */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 18px;
    color: white;
    font-size: 15px;
    transition: all 0.2s;
    outline: none;
    color-scheme: dark;
    /* Ensures native controls like select/date follow dark theme */
}

.input-field option {
    background: #1a1a1d;
    /* Suitible dark background for dropdown items */
    color: white;
    padding: 10px;
}

.input-field:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.15);
}

.label-text {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upload-zone {
    background: rgba(255, 255, 255, 0.04);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-zone:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

.upload-zone ion-icon {
    font-size: 42px;
    color: var(--text-secondary);
    /* Subtle color by default */
    opacity: 0.5;
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.upload-zone:hover ion-icon {
    color: var(--accent-color);
    /* Purple only on hover */
    opacity: 1;
    transform: translateY(-5px);
}

.upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-text-main {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.upload-text-sub {
    display: block;
    font-size: 11px;
    color: #555;
    margin-top: 2px;
}

/* Professional Form Styling (Isolated to Studio) */
.glass-form-card .form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.studio-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .studio-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar for better UI */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Fix for horizontal list jitter */
.horizontal-list {
    scroll-behavior: smooth;
    padding-bottom: 25px !important;
}

.transaction-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .section-header {
        margin-top: 30px !important;
    }
}