/* KissMe Social Platform - Core Styles
 * A mobile-first, responsive design for the KissMe social interaction platform
 */

/* Base Styles */
:root {
    --primary-color: #7289da;
    --primary-dark: #5a67d8;
    --secondary-color: #ff5722;
    --success-color: #4caf50;
    --info-color: #03a9f4;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --dark-color: #1e1e3e;
    --light-color: #f5f5f5;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-color: #fff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --body-bg: #0f0f20;
    --card-bg: rgba(30, 30, 60, 0.8);
    --header-bg: rgba(20, 20, 40, 0.95);
    --footer-bg: rgba(15, 15, 30, 0.95);
    --sidebar-bg: rgba(25, 25, 50, 0.9);
}

/* Light Theme Variables (for future implementation) */
.theme-light {
    --dark-color: #f5f5f5;
    --light-color: #1e1e3e;
    --border-color: rgba(0, 0, 0, 0.1);
    --text-color: #333;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --body-bg: #f0f2f5;
    --card-bg: rgba(255, 255, 255, 0.9);
    --header-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: rgba(245, 245, 245, 0.95);
    --sidebar-bg: rgba(240, 240, 245, 0.9);
}

/* Blue Theme */
.theme-blue {
    --primary-color: #1976d2;
    --primary-dark: #0d47a1;
    --secondary-color: #ff4081;
}

/* Purple Theme */
.theme-purple {
    --primary-color: #9c27b0;
    --primary-dark: #6a0080;
    --secondary-color: #ffab00;
}

/* Green Theme */
.theme-green {
    --primary-color: #43a047;
    --primary-dark: #2e7d32;
    --secondary-color: #ff6d00;
}

/* Base Elements */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .mr-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .ml-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

[dir="rtl"] .mr-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

[dir="rtl"] .ml-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

/* Layout Components */
.main-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Containers */
.container {
    max-width: 1200px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-header {
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.05);
    border-top: 1px solid var(--border-color);
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: all 0.2s ease;
    border: none;
    text-transform: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-sm {
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--secondary-color), darken(var(--secondary-color), 10%));
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(45deg, darken(var(--secondary-color), 10%), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-info {
    background-color: var(--info-color);
    color: white;
}

.btn-warning {
    background-color: var(--warning-color);
    color: white;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-light {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.btn-dark {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-social {
    padding: 8px 15px;
    border-radius: 5px;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    flex: 1;
}

.btn-social i {
    margin-right: 8px;
}

.btn-facebook {
    background-color: #3b5998;
}

.btn-facebook:hover {
    background-color: #2d4373;
    color: white;
}

.btn-twitter {
    background-color: #1da1f2;
}

.btn-twitter:hover {
    background-color: #0c85d0;
    color: white;
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #1da851;
    color: white;
}

.btn-telegram {
    background-color: #0088cc;
}

.btn-telegram:hover {
    background-color: #006699;
    color: white;
}

.btn-vip {
    background: linear-gradient(45deg, #ffd700, #ffaa00);
    color: #000;
}

.btn-vip:hover {
    background: linear-gradient(45deg, #ffaa00, #ffd700);
    color: #000;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(114, 137, 218, 0.25);
    color: var(--text-color);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.input-group-text {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Custom Checkbox & Radio */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.custom-control-label {
    cursor: pointer;
}

.custom-control-label::before {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
}

/* Main Header */
.main-header {
    background-color: var(--header-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

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

.header-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
}

.logo-img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 5px;
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.nav-link i {
    margin-right: 6px;
}

.nav-link:hover {
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-item.active .nav-link {
    color: var(--text-color);
    background-color: rgba(114, 137, 218, 0.15);
}

.nav-link.vip-link {
    color: #ffd700;
}

.nav-link.vip-link:hover {
    color: #ffea80;
}

.header-user {
    display: flex;
    align-items: center;
}

.header-notifications,
.header-messages {
    position: relative;
    margin-right: 15px;
}

.notifications-toggle,
.messages-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.notifications-toggle:hover,
.messages-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.notification-badge,
.message-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    font-weight: 600;
}

.notifications-dropdown,
.messages-dropdown {
    width: 300px;
    padding: 0;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.notifications-header,
.messages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-header {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 0;
}

.mark-all-read {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.mark-all-read:hover {
    text-decoration: underline;
}

.notifications-body,
.messages-body {
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
}

.no-notifications,
.no-messages {
    text-align: center;
    color: var(--text-secondary);
    padding: 30px 0;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

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

.notification-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background-color: rgba(114, 137, 218, 0.2);
    color: var(--primary-color);
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-text {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.notification-unread {
    background-color: rgba(114, 137, 218, 0.05);
}

.view-all {
    text-align: center;
    font-weight: 500;
}

.user-dropdown {
    margin-left: 10px;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    color: var(--text-color);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(114, 137, 218, 0.5);
    margin-right: 10px;
}

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

.user-name {
    font-weight: 500;
    white-space: nowrap;
}

.user-menu {
    width: 280px;
    padding: 0;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.user-menu-header {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.user-menu-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(114, 137, 218, 0.5);
    margin-right: 15px;
}

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

.user-menu-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-menu-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.user-menu-username {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.user-menu-points {
    font-size: 0.85rem;
    color: #ffd700;
    display: flex;
    align-items: center;
}

.user-menu-points i {
    margin-right: 5px;
}

.dropdown-item {
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    margin-right: 10px;
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    background-color: rgba(114, 137, 218, 0.1);
    color: var(--text-color);
}

.dropdown-item.active {
    background-color: rgba(114, 137, 218, 0.2);
    color: var(--text-color);
}

.admin-link {
    color: #ff9800;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.login-btn {
    margin-right: 10px;
}

.language-dropdown {
    margin-left: 15px;
}

.language-toggle {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.language-toggle i {
    margin-right: 5px;
}

.language-code {
    font-size: 0.85rem;
    font-weight: 500;
}

.language-menu {
    min-width: 180px;
    padding: 0;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.flag-icon {
    margin-right: 10px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.toggle-bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dark-color);
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

.mobile-nav-container {
    padding: 20px 0;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(114, 137, 218, 0.5);
    margin-right: 15px;
}

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

.mobile-user-details {
    flex: 1;
}

.mobile-username {
    font-weight: 600;
    margin-bottom: 5px;
}

.mobile-user-points {
    font-size: 0.85rem;
    color: #ffd700;
    display: flex;
    align-items: center;
}

.mobile-user-points i {
    margin-right: 5px;
}

.mobile-menu {
    padding: 0 20px;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    margin-bottom: 10px;
}

.mobile-menu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 15px 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-menu-link i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.mobile-menu-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.mobile-menu-item.active .mobile-menu-link {
    background-color: rgba(114, 137, 218, 0.15);
    color: var(--text-color);
}

.mobile-menu-link.vip-link {
    color: #ffd700;
}

.mobile-language-selector {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.mobile-language-label {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.mobile-language-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mobile-language-option {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.mobile-language-option:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-color);
}

.mobile-language-option.active {
    background-color: rgba(114, 137, 218, 0.3);
    color: var(--text-color);
}

/* Sidebar */
.sidebar {
    background-color: var(--sidebar-bg);
    backdrop-filter: blur(10px);
    height: 100%;
    border-radius: 15px;
    padding: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.sidebar-profile {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border-color);
}

.profile-summary {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.profile-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(114, 137, 218, 0.5);
    margin-right: 15px;
}

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

.profile-info {
    flex: 1;
}

.profile-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.profile-level {
    width: 100%;
}

.level-label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.level-icon {
    color: #ffd700;
    margin-right: 5px;
}

.level-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.level-progress {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.level-progress .progress-bar {
    background: linear-gradient(90deg, #ffc107, #ff9800);
    border-radius: 3px;
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-value {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-section {
    margin-bottom: 30px;
}

.section-header {
    padding: 0 20px 10px;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
}

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

.menu-item {
    margin: 5px 0;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    position: relative;
}

.menu-icon {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.menu-text {
    flex: 1;
}

.menu-badge {
    background-color: var(--danger-color);
    color: white;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
}

.menu-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.menu-item.active .menu-link {
    background-color: rgba(114, 137, 218, 0.15);
    color: var(--text-color);
    border-right: 3px solid var(--primary-color);
}

.vip-badge {
    background-color: #ffd700;
    color: #000;
}

.currency-badge {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.currency-badge:before {
    content: '\f51e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

.admin-link {
    color: #ff9800;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.vip-promo {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.promo-title {
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.promo-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.sidebar-links {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.sidebar-link {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-right: 10px;
    margin-bottom: 5px;
}

.sidebar-link:hover {
    color: var(--text-color);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Main Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--text-secondary);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-description {
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-color);
    padding-left: 5px;
}

.footer-language-selector {
    margin-bottom: 20px;
}

.footer-cta {
    margin-top: 20px;
}

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

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

.footer-badge {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.footer-badge i {
    margin-right: 5px;
    color: var(--primary-color);
}

.footer-badge.age-restricted {
    color: #ff9800;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--body-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Utilities */
.balance-badge {
    color: #ffd700;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.balance-badge:before {
    content: '\f51e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-info {
    color: var(--info-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-success {
    background-color: var(--success-color) !important;
}

.bg-danger {
    background-color: var(--danger-color) !important;
}

.bg-warning {
    background-color: var(--warning-color) !important;
}

.bg-info {
    background-color: var(--info-color) !important;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.rounded {
    border-radius: 10px !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

.border {
    border: 1px solid var(--border-color) !important;
}

/* Page-specific Styles */

/* Home Page */
.hero-section {
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(45deg, rgba(20, 20, 40, 0.95), rgba(30, 30, 60, 0.95)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    margin: 0 10px;
}

.features-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    text-align: center;
    padding: 30px;
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgba(114, 137, 218, 0.2), rgba(90, 103, 216, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.testimonials-section {
    padding: 60px 0;
    background-color: rgba(20, 20, 40, 0.4);
    border-radius: 15px;
}

.testimonial-card {
    padding: 30px;
    text-align: center;
    height: 100%;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

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

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text:before {
    content: '\201C';
    font-size: 3rem;
    color: rgba(114, 137, 218, 0.2);
    position: absolute;
    top: -20px;
    left: 0;
}

.testimonial-text:after {
    content: '\201D';
    font-size: 3rem;
    color: rgba(114, 137, 218, 0.2);
    position: absolute;
    bottom: -40px;
    right: 0;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cta-section {
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(45deg, rgba(20, 20, 40, 0.95), rgba(30, 30, 60, 0.95)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 40px;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stats-section {
    padding: 60px 0;
}

.stat-card {
    text-align: center;
    padding: 30px;
    height: 100%;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Responsive styles */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .header-notifications,
    .header-messages {
        margin-right: 10px;
    }
    
    .user-name {
        display: none;
    }
    
    .footer-row {
        flex-direction: column;
    }
    
    .footer-col {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons .btn {
        display: block;
        width: 80%;
        margin: 10px auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-badges {
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .login-btn {
        margin-right: 0;
    }
}

/* Print styles */
@media print {
    .main-header,
    .main-footer,
    .sidebar {
        display: none;
    }
    
    .main-content {
        padding: 0;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .no-print {
        display: none;
    }
}