/**
 * COUSINS-select - Main Stylesheet
 * Version production 1.0.0
 */

/* Variables CSS */
:root {
    --primary-color: #1a237e;
    --secondary-color: #3949ab;
    --accent-color: #e91e63;
    --venice-red: #c62828;
    --venice-gold: #ffd700;
    --venice-water: #4fc3f7;
    --light-bg: #f5f5f5;
    --dark-bg: #121212;
    --text-light: #ffffff;
    --text-dark: #333333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(79, 195, 247, 0.05) 0%, transparent 20%);
    pointer-events: none;
    z-index: -1;
}

/* Container principal */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

/* Header */
.app-header {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--venice-gold), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-icon {
    color: var(--venice-gold);
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.header-subtitle {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--venice-water), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid var(--venice-gold);
    transition: var(--transition);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.user-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    min-width: 200px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown:hover .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.dropdown-menu a.vip-link {
    color: var(--venice-gold);
    font-weight: 600;
}

.dropdown-menu a.logout-link {
    border-top: 1px solid #eee;
    color: #f44336;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Navigation principale */
.main-nav {
    display: flex;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e0e0e0;
    overflow-x: auto;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 99;
    backdrop-filter: blur(10px);
}

.nav-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-item:hover {
    background-color: rgba(25, 118, 210, 0.05);
    color: var(--primary-color);
}

.nav-item.active {
    border-bottom: 3px solid var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* Contenu principal */
.main-content {
    flex: 1;
    padding: 2rem;
    animation: fadeIn 0.5s ease;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(79, 195, 247, 0.05) 100%);
    border-radius: var(--border-radius-lg);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: slideInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    animation: slideInUp 1s ease;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn:active {
    transform: translateY(0);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #d81b60;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(26, 35, 126, 0.05);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Cards */
.stat-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
}

.stat-card:hover::after {
    transform: translateX(100%);
    transition: transform 0.8s;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Quick stats grid */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card:nth-child(1) {
    border-left: 5px solid var(--venice-water);
}
.stat-card:nth-child(2) {
    border-left: 5px solid var(--venice-gold);
}
.stat-card:nth-child(3) {
    border-left: 5px solid var(--accent-color);
}
.stat-card:nth-child(4) {
    border-left: 5px solid var(--venice-red);
}

/* Spaces grid */
.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.space-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.space-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.space-header {
    padding: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    background-size: 200% 200%;
    animation: gradientMove 10s ease infinite;
}

.space-family {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.space-artists {
    background: linear-gradient(135deg, #9C27B0 0%, #6A1B9A 100%);
}

.space-professional {
    background: linear-gradient(135deg, #2196F3 0%, #0D47A1 100%);
}

.space-one-to-one {
    background: linear-gradient(135deg, #FF9800 0%, #EF6C00 100%);
}

.space-body {
    padding: 1.5rem;
}

.space-body h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.space-body p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.space-meta {
    display: flex;
    gap: 1rem;
    color: #999;
    font-size: 0.85rem;
}

/* Cultures grid */
.cultures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.culture-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.culture-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: var(--shadow-hover);
}

.culture-flag {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.culture-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1), rgba(255,255,255,0.1));
}

.culture-info {
    padding: 1.5rem;
}

.culture-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.culture-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Chat interface */
.chat-container {
    display: flex;
    height: calc(80vh - 100px);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chat-sidebar {
    width: 350px;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
}

.chat-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.chat-header h3 {
    margin-bottom: 0.25rem;
}

.chat-header p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.chat-conversations {
    flex: 1;
    overflow-y: auto;
}

.chat-conversation {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.chat-conversation:hover {
    background-color: #f0f7ff;
}

.chat-conversation.active {
    background-color: rgba(25, 118, 210, 0.1);
    border-left: 4px solid var(--secondary-color);
}

.chat-conversation.unread {
    background-color: #fff8e1;
}

.chat-conversation.unread h4 {
    font-weight: 700;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f5f7fa;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 70%;
    animation: slideInLeft 0.3s ease;
}

.message.received {
    align-self: flex-start;
}

.message.sent {
    align-self: flex-end;
    animation: slideInRight 0.3s ease;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.message.sent .message-content {
    background: linear-gradient(135deg, var(--venice-water), var(--secondary-color));
    color: white;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 0.25rem;
    margin-left: 0.5rem;
}

.message.sent .message-time {
    text-align: right;
    color: rgba(255,255,255,0.7);
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    background-color: white;
}

.chat-input textarea {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    resize: none;
    font-family: inherit;
    transition: var(--transition);
}

.chat-input textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.1);
}

.chat-input textarea:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Contacts section */
.contacts-container {
    display: flex;
    gap: 2rem;
    min-height: 600px;
}

.contacts-sidebar {
    width: 350px;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.contacts-list {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: var(--transition);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.contact-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.contact-info {
    flex: 1;
}

.contact-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #4CAF50;
    margin-left: auto;
}

.contact-status.offline {
    background-color: #9e9e9e;
}

/* VIP section */
.vip-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vip-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.vip-header::before {
    content: "★";
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 8rem;
    color: var(--venice-gold);
    opacity: 0.2;
    animation: rotate 20s linear infinite;
}

.vip-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: slideInDown 1s ease;
}

.vip-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.vip-badge {
    background-color: var(--venice-gold);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.vip-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.vip-feature {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.vip-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.vip-feature i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.vip-feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.vip-pricing {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 3rem;
    text-align: center;
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    border: 2px solid var(--venice-gold);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: 'POPULAIRE';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--venice-gold);
    color: var(--primary-color);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: #666;
}

/* Forms */
.auth-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2.5rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
    border-top: 5px solid var(--venice-gold);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    font-weight: 500;
}

.auth-tab.active {
    border-bottom: 3px solid var(--accent-color);
    color: var(--accent-color);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.2);
}

.interest-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.interest-tag:hover {
    background-color: #e0e0e0;
}

.interest-tag.selected {
    background-color: var(--secondary-color);
    color: white;
}

/* SMS Verification */
.sms-verification {
    background-color: #e8f5e9;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    display: none;
    animation: slideInUp 0.3s ease;
}

.sms-verification.active {
    display: block;
}

.code-inputs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.code-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.code-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.1);
    outline: none;
}

/* Profile page */
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--venice-gold), var(--venice-water));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border: 4px solid white;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.profile-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
}

.profile-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.profile-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
    position: relative;
    animation: slideInUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: var(--transition);
}

.modal-close:hover {
    color: #f44336;
    transform: scale(1.1);
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.notification.active {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification.error {
    background: linear-gradient(135deg, #f44336, #da190b);
}

.notification.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

/* Demo banner */
.demo-banner {
    background: linear-gradient(135deg, var(--accent-color), #c2185b);
    color: white;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 101;
}

/* Éléments décoratifs */
.venice-decoration {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.1;
}

.gondola {
    bottom: 30px;
    right: 30px;
    font-size: 4rem;
    color: #8B4513;
    transform: rotate(15deg);
    animation: float 6s ease-in-out infinite;
}

.mask {
    top: 100px;
    left: 30px;
    font-size: 3rem;
    color: var(--venice-red);
    transform: rotate(-10deg);
    animation: rotate 20s linear infinite;
}

/* Call to action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Loader */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

.loader-small {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/* Footer */
.app-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 1.5rem 2rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--venice-gold);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive */
@media (max-width: 992px) {
    .contacts-container {
        flex-direction: column;
    }
    
    .contacts-sidebar {
        width: 100%;
        position: static;
    }
    
    .chat-container {
        flex-direction: column;
        height: auto;
    }
    
    .chat-sidebar {
        width: 100%;
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main-nav {
        justify-content: flex-start;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .vip-header h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .auth-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .code-inputs {
        gap: 0.25rem;
    }
    
    .code-input {
        width: 40px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nav-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .space-header {
        padding: 1rem;
    }
    
    .space-body {
        padding: 1rem;
    }
    
    .vip-header {
        padding: 2rem 1rem;
    }
    
    .vip-header h2 {
        font-size: 1.5rem;
    }
    
    .vip-badges {
        flex-wrap: wrap;
    }
}

/* Print styles */
@media print {
    .app-header,
    .main-nav,
    .app-footer,
    .demo-banner,
    .btn,
    .modal {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
    
    body {
        background: white;
    }
}