/* =============================================
   PROFILE PAGE STYLES
   ============================================= */

/* Theme Variables */
:root {
    --black: #000000;
    --noir: #0a0608;
    --charcoal: #14101a;
    --slate: #1c1624;
    --steel: #2d2438;
    --silver: #9a8fa8;
    --pearl: #f0eaf5;
    --white: #ffffff;
    --ruby: #e31b54;
    --crimson: #c41040;
    --gold: #f5a623;
    --amber: #ffb347;
    --burgundy: #6b1c3a;
    --royal-purple: #4a1259;
    --deep-violet: #2d1b4e;
    --accent: var(--ruby);
    --neon-cyan: var(--gold);
    --neon-magenta: var(--ruby);
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255,255,255,0.02);
    --bg-card-hover: rgba(255,255,255,0.05);
    --primary: var(--ruby);
    --primary-glow: rgba(227, 27, 84, 0.4);
    --secondary: var(--gold);
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.6);
    --text-dim: rgba(255,255,255,0.35);
    --border: rgba(255,255,255,0.06);
    --error: #ef4444;
    --success: #10b981;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Theme Colors */
[data-theme="ocean"] { --ruby: #0ea5e9; --crimson: #0284c7; --gold: #38bdf8; --amber: #7dd3fc; --primary: #0ea5e9; --primary-glow: rgba(14, 165, 233, 0.4); }
[data-theme="emerald"] { --ruby: #10b981; --crimson: #059669; --gold: #34d399; --amber: #6ee7b7; --primary: #10b981; --primary-glow: rgba(16, 185, 129, 0.4); }
[data-theme="purple"] { --ruby: #a855f7; --crimson: #9333ea; --gold: #c084fc; --amber: #d8b4fe; --primary: #a855f7; --primary-glow: rgba(168, 85, 247, 0.4); }
[data-theme="sunset"] { --ruby: #f97316; --crimson: #ea580c; --gold: #fb923c; --amber: #fdba74; --primary: #f97316; --primary-glow: rgba(249, 115, 22, 0.4); }
[data-theme="rose"] { --ruby: #ec4899; --crimson: #db2777; --gold: #f472b6; --amber: #f9a8d4; --primary: #ec4899; --primary-glow: rgba(236, 72, 153, 0.4); }
[data-theme="red"] { --ruby: #ef4444; --crimson: #dc2626; --gold: #f87171; --amber: #fca5a5; --primary: #ef4444; --primary-glow: rgba(239, 68, 68, 0.4); }
[data-theme="darkred"] { --ruby: #b91c1c; --crimson: #991b1b; --gold: #dc2626; --amber: #ef4444; --primary: #b91c1c; --primary-glow: rgba(185, 28, 28, 0.4); }
[data-theme="yellow"] { --ruby: #eab308; --crimson: #ca8a04; --gold: #facc15; --amber: #fde047; --primary: #eab308; --primary-glow: rgba(234, 179, 8, 0.4); }
[data-theme="darkyellow"] { --ruby: #a16207; --crimson: #854d0e; --gold: #ca8a04; --amber: #eab308; --primary: #a16207; --primary-glow: rgba(161, 98, 7, 0.4); }

/* Override main padding for this page */
.main {
    padding-top: 0 !important;
}

/* Main Layout */
.main-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Profile Cover - Full Cover Under Menu (Same as movies.aspx) */
.profile-cover {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.2));
    margin-top: 0;
    padding-top: 100px;
}

.profile-cover img.cover-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transform: scale(1.05);
    animation: coverZoom 30s ease-in-out infinite alternate;
}

@keyframes coverZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.profile-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, rgba(10,6,8,0.7) 0%, transparent 40%),
        linear-gradient(0deg, var(--noir) 0%, rgba(10,6,8,0.8) 40%, transparent 70%);
    z-index: 1;
}

/* Cover Content */
.cover-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 40px;
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.cover-avatar {
    position: relative;
    flex-shrink: 0;
}

.cover-avatar img {
    width: 160px;
    height: 160px;
    border-radius: 24px;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.cover-avatar .avatar-edit-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    border: 3px solid var(--noir);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.cover-avatar .avatar-edit-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(227, 27, 84, 0.5);
}

.cover-avatar .avatar-edit-btn input[type="file"] {
    display: none;
}

.cover-info {
    flex: 1;
    min-width: 0;
}

.cover-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cover-email {
    color: var(--silver);
    font-size: 1rem;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
}

/* Name and email on same line on PC */
.cover-name + .cover-email {
    display: inline-flex;
    vertical-align: middle;
}

.cover-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.cover-meta span {
    color: var(--silver);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cover-meta i {
    color: var(--gold);
}

.cover-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cover-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    color: var(--silver);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cover-social a:hover {
    transform: translateY(-3px);
    color: var(--white);
}

.cover-social a.facebook:hover { background: #1877f2; border-color: #1877f2; }
.cover-social a.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.cover-social a.snapchat:hover { background: #fffc00; color: #000; border-color: #fffc00; }
.cover-social a.tiktok:hover { background: #000; border-color: #00f2ea; box-shadow: 0 0 15px #ff0050, 0 0 15px #00f2ea; }
.cover-social a.youtube:hover { background: #ff0000; border-color: #ff0000; }

.cover-stats {
    display: flex;
    gap: 25px;
    margin-left: auto;
    flex-shrink: 0;
}

.cover-stat {
    text-align: center;
    cursor: pointer;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    transition: all 0.3s;
    min-width: 90px;
}

.cover-stat:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.cover-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}

.cover-stat-label {
    font-size: 0.8rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cover-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.cover-edit-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    z-index: 10;
}

.cover-edit-btn:hover {
    background: rgba(139, 92, 246, 0.6);
}

/* Member Rank Badges */
.name-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    vertical-align: middle;
    margin-right: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 4px 25px rgba(227, 27, 84, 0.4); }
}

.name-rank-badge.rank-diamond { background: linear-gradient(135deg, #b9f2ff, #00d4ff, #0099cc); color: #003344; }
.name-rank-badge.rank-platinum { background: linear-gradient(135deg, #e5e4e2, #a8a8a8, #e5e4e2); color: #333; }
.name-rank-badge.rank-gold { background: linear-gradient(135deg, #ffd700, #ffb347, #ffd700); color: #5c4600; }
.name-rank-badge.rank-member { background: linear-gradient(135deg, var(--ruby), var(--crimson)); color: #fff; }
.name-rank-badge.rank-new { background: linear-gradient(135deg, #6b7280, #4b5563); color: #fff; }

/* Follow Button */
.follow-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.follow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.follow-btn:hover::before { left: 100%; }

.follow-btn.follow {
    background: linear-gradient(135deg, var(--ruby) 0%, var(--crimson) 50%, var(--ruby) 100%);
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 4px 15px rgba(227, 27, 84, 0.4);
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.follow-btn.follow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(227, 27, 84, 0.5);
}

.follow-btn.following {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.follow-btn.following:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

/* Share Button */
.share-profile-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.share-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* Admin Dashboard Button */
.admin-dashboard-btn {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.admin-dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.admin-dashboard-btn i {
    font-size: 1rem;
}

/* Content Section */
.content-section {
    padding: 40px 0 80px;
}

/* Tabs */
.tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    padding: 6px;
    background: var(--bg-card);
    border-radius: 16px;
    width: fit-content;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover { color: var(--text); }

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 5px 20px var(--primary-glow);
}

.tab-btn i { font-size: 1.1rem; }

/* Tab Content */
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i { color: var(--primary); }

/* Movies Grid */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.movie-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    display: block;
}

.movie-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px var(--primary-glow);
}

.movie-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.1);
}

.movie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.movie-card:hover .movie-overlay { opacity: 1; }

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.3s;
}

.movie-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1);
}

.movie-info {
    padding: 12px;
}

.movie-title {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px dashed var(--border);
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
}

.empty-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-text {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
}

.btn-danger:hover {
    background: var(--error);
    color: #fff;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 25px;
}

.settings-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.settings-card-title i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group:last-child { margin-bottom: 0; }

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-input-icon {
    position: relative;
}

.form-input-icon i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 1.1rem;
}

.form-input-icon .form-input {
    padding-right: 45px;
}

/* Gender Toggle */
.gender-toggle {
    display: flex;
    gap: 10px;
}

.gender-option {
    flex: 1;
    position: relative;
}

.gender-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.gender-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.gender-option label i {
    font-size: 1.8rem;
    color: var(--text-dim);
    transition: all 0.3s;
}

.gender-option label span {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 500;
}

.gender-option input[type="radio"]:checked + label {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.gender-option input[type="radio"]:checked + label i {
    color: var(--primary);
}

.gender-option input[type="radio"]:checked + label span {
    color: var(--text);
}

/* Privacy Toggle */
.privacy-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
}

.privacy-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 500;
}

.privacy-toggle-label i {
    color: var(--primary);
    font-size: 1.1rem;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Settings Social Grid */
.settings-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.review-movie-link {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    margin-bottom: 12px;
}

.review-movie-poster {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.review-movie-info {
    flex: 1;
}

.review-movie-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gold);
    font-weight: 600;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.btn-delete-review {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-delete-review:hover {
    background: var(--error);
    color: white;
    transform: scale(1.05);
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.share-modal.active {
    display: flex;
}

.share-modal-content {
    background: var(--charcoal);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.share-modal-close:hover {
    color: var(--text);
}

.share-link-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.share-link-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--text);
    font-size: 0.9rem;
    direction: ltr;
}

.share-copy-btn {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.share-copy-btn:hover {
    background: var(--secondary);
}

.share-social-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.share-social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.share-social-btn:hover {
    transform: scale(1.1);
}

.share-social-btn.telegram { background: #0088cc; }
.share-social-btn.whatsapp { background: #25d366; }
.share-social-btn.twitter { background: #1da1f2; }
.share-social-btn.facebook { background: #1877f2; }

/* Follow Modal */
.follow-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.follow-modal.active {
    display: flex;
    opacity: 1;
}

.follow-modal-content {
    background: linear-gradient(145deg, rgba(20, 16, 26, 0.95), rgba(28, 22, 36, 0.98));
    border-radius: 28px;
    width: 92%;
    max-width: 480px;
    max-height: 75vh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from { transform: translateY(-30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.follow-modal-header {
    padding: 24px 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.follow-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--pearl);
    display: flex;
    align-items: center;
    gap: 12px;
}

.follow-modal-title i {
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.follow-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--silver);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.follow-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
    transform: rotate(90deg);
}

.follow-modal-body {
    padding: 16px 20px;
    max-height: 55vh;
    overflow-y: auto;
}

.follow-modal-body::-webkit-scrollbar {
    width: 6px;
}

.follow-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.follow-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--ruby), var(--crimson));
    border-radius: 10px;
}

.follow-user-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.follow-user-item:hover {
    background: linear-gradient(135deg, rgba(227, 27, 84, 0.1), rgba(245, 166, 35, 0.05));
    border-color: rgba(227, 27, 84, 0.2);
    transform: translateX(-5px);
}

.follow-user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid transparent;
    background: linear-gradient(var(--charcoal), var(--charcoal)) padding-box,
                linear-gradient(135deg, var(--ruby), var(--gold)) border-box;
    transition: all 0.3s ease;
}

.follow-user-item:hover .follow-user-avatar {
    transform: scale(1.08);
}

.follow-user-info {
    flex: 1;
    min-width: 0;
}

.follow-user-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pearl);
}

.follow-user-name a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.follow-user-name a:hover {
    color: var(--ruby);
}

.follow-empty {
    text-align: center;
    padding: 60px 30px;
    color: var(--silver);
}

.follow-empty i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
    display: block;
}

.follow-empty p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.7;
}

/* Birthday Celebration Styles */
.birthday-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.birthday-modal {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: modalPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    0% { transform: scale(0.5) translateY(50px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.birthday-modal::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #8b5cf6, #ff6b6b);
    background-size: 400% 400%;
    border-radius: 26px;
    z-index: -1;
    animation: borderGlow 4s ease infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.birthday-cake-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    animation: cakeBounce 2s ease-in-out infinite;
}

@keyframes cakeBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.birthday-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #feca57, #ff6b6b, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.birthday-name {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
}

.birthday-message {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.birthday-emojis {
    font-size: 2rem;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.birthday-emojis span {
    animation: emojiFloat 1.5s ease-in-out infinite;
}

.birthday-emojis span:nth-child(1) { animation-delay: 0s; }
.birthday-emojis span:nth-child(2) { animation-delay: 0.2s; }
.birthday-emojis span:nth-child(3) { animation-delay: 0.4s; }
.birthday-emojis span:nth-child(4) { animation-delay: 0.6s; }
.birthday-emojis span:nth-child(5) { animation-delay: 0.8s; }

@keyframes emojiFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.birthday-close-btn {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border: none;
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.birthday-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5);
}

/* Confetti Container */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 12px;
    height: 12px;
    top: -20px;
    border-radius: 2px;
    animation: confettiFall 4s linear infinite;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg) scale(0.3); opacity: 0; }
}

/* Birthday Party Cover */
.birthday-party-cover {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 5;
}

.birthday-party-cover .balloon {
    position: absolute;
    font-size: 2rem;
    animation: floatBalloon 4s ease-in-out infinite;
}

@keyframes floatBalloon {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .profile-cover { min-height: 400px; padding-top: 90px; }
}

@media (max-width: 900px) {
    .cover-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }
    .cover-name { display: flex; justify-content: center; font-size: 1.8rem; }
    .cover-email { display: flex; justify-content: center; margin-right: 0; }
    .cover-meta { justify-content: center; }
    .cover-social { justify-content: center; }
    .cover-stats { margin: 20px 0 0 0; flex-wrap: wrap; justify-content: center; }
    .cover-actions { justify-content: center; }
    .settings-grid { grid-template-columns: 1fr; }
    .tabs-nav { width: 100%; overflow-x: auto; }
}

@media (max-width: 768px) {
    .profile-cover { min-height: 350px; padding-top: 80px; }
    .cover-avatar img { width: 120px; height: 120px; }
    .movies-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
    
    /* Cover edit button - icon only, top right */
    .cover-edit-btn {
        position: absolute;
        top: 80px;
        right: 15px;
        bottom: auto;
        left: auto;
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
        z-index: 100;
        font-size: 0;
    }
    
    .cover-edit-btn i {
        font-size: 1rem;
    }
    
    /* Tabs center align */
    .tabs-nav {
        justify-content: center;
    }
    
    .tab-btn {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .profile-cover { min-height: 320px; padding-top: 70px; }
    .cover-stats { flex-direction: row; gap: 15px; }
    .cover-stat { padding: 12px 10px; min-width: 70px; }
    .cover-stat-value { font-size: 1.4rem; }
    .movies-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .settings-social-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .profile-cover { min-height: 300px; }
    .cover-name { font-size: 1.5rem; }
    .cover-avatar img { width: 100px; height: 100px; }
    .tab-btn { padding: 10px 16px; font-size: 0.85rem; }
}
