/* ========== ADMIN PANEL STYLES ========== */
.admin-panel {
    flex: 1;
    padding: 40px 0;
}

/* Access Denied */
.access-denied {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.denied-content {
    max-width: 500px;
    padding: 40px;
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(16px);
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    animation: fadeInUp 0.5s ease;
}

.denied-content i {
    font-size: 5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.denied-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.denied-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Admin Header */
.admin-header {
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

/* Search Section */
.search-section {
    background: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--glass-border);
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 8px 16px;
    margin-bottom: 15px;
}

.search-bar i {
    color: var(--text-dim);
    margin-right: 10px;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    outline: none;
    padding: 12px 0;
}

.clear-search {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0 10px;
    transition: var(--transition-smooth);
}

.clear-search:hover {
    color: #ff9999;
    transform: rotate(90deg);
}

/* Users List */
.users-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.user-card {
    background: rgba(20, 20, 30, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-bounce);
}

.user-card:hover {
    transform: translateX(5px);
    border-color: rgba(139, 0, 0, 0.3);
}

.user-info {
    flex: 1;
    min-width: 250px;
}

.user-email {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.user-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.user-permissions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.permission-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.permission-toggle:hover {
    background: rgba(139, 0, 0, 0.2);
}

.permission-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-red);
}

.user-actions {
    display: flex;
    gap: 10px;
}

.view-ips-btn {
    padding: 10px 20px;
    background: rgba(168, 139, 255, 0.1);
    border: 1px solid rgba(168, 139, 255, 0.2);
    color: var(--accent-purple);
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.view-ips-btn:hover {
    background: rgba(168, 139, 255, 0.2);
    transform: translateY(-2px);
}

/* IP Modal */
.ip-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    padding: 20px;
}

.ip-modal.active {
    opacity: 1;
    visibility: visible;
}

.ip-modal-content {
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: #1a1a2a;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    padding: 30px;
}

.ip-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ip-modal-header h3 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ip-modal-close {
    background: var(--primary-red);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.ip-modal-close:hover {
    transform: rotate(90deg);
    background: #ff4d4d;
}

.ip-table {
    width: 100%;
    border-collapse: collapse;
}

.ip-table th {
    text-align: left;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--accent-purple);
    font-weight: 600;
    position: sticky;
    top: 0;
}

.ip-table td {
    padding: 12px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
    word-break: break-word;
}

.ip-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ========== AETRIAGE STYLES ========== */
.hero {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Tabs */
.feature-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 60px;
    padding: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.feature-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.feature-tab.active {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 0 15px var(--primary-red-glow);
}

.premium-badge {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #1a1a2a;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    margin-left: 6px;
}

.free-badge {
    background: rgba(76, 175, 80, 0.2);
    color: #8cff8c;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    margin-left: 6px;
}

.info-icon {
    font-size: 0.7rem;
    color: var(--text-dim);
    cursor: help;
    transition: var(--transition-smooth);
}

.info-icon:hover {
    color: var(--accent-purple);
}

/* Tooltip */
.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2a;
    color: #eaeef2;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: normal;
    white-space: nowrap;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    pointer-events: none;
    margin-bottom: 8px;
    border: 1px solid var(--primary-red);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--primary-red) transparent transparent transparent;
}

.info-icon:hover + .tooltip,
.tooltip:hover {
    opacity: 1;
    visibility: visible;
}

/* Feature Content */
.feature-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.feature-content.active {
    display: block;
}

/* Cards */
.card {
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 0, 0, 0.3);
}

.card h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

textarea, input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

textarea:focus, input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red-glow);
}

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

/* Result Box */
.result-box {
    background: rgba(0,0,0,0.3);
    border-radius: 24px;
    padding: 20px;
    margin-top: 20px;
    display: none;
    animation: fadeInUp 0.3s ease;
}

/* Formatted Response Styles */
.formatted-response {
    line-height: 1.7;
}

.formatted-response .section-header {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 10px;
}

.formatted-response .section-header:first-child {
    margin-top: 0;
}

.formatted-response .list-item {
    padding: 5px 0 5px 25px;
    position: relative;
}

.formatted-response .list-number {
    font-weight: 600;
    color: #ffd700;
    margin-right: 10px;
}

.formatted-response .bullet-item {
    padding: 5px 0 5px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.formatted-response .bullet-item i {
    font-size: 0.5rem;
    margin-top: 7px;
    color: var(--accent-purple);
}

.formatted-response hr.section-divider {
    margin: 15px 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.formatted-response strong {
    color: #ffd700;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

/* Premium Overlay */
.premium-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(16px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.premium-overlay.active {
    opacity: 1;
    visibility: visible;
}

.premium-modal {
    background: linear-gradient(135deg, #1a1a2a, #0a0a1a);
    border: 2px solid #ffd700;
    border-radius: 40px;
    padding: 40px;
    max-width: 400px;
    text-align: center;
    transform: scale(0.9);
    transition: 0.3s;
}

.premium-overlay.active .premium-modal {
    transform: scale(1);
}

.premium-modal h2 {
    color: #ffd700;
    margin-bottom: 15px;
}

.premium-modal p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.premium-modal .upgrade-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #1a1a2a;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-bounce);
}

.premium-modal .upgrade-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,215,0,0.4);
}

/* ========== LOGIN PAGE STYLES ========== */
.login-container {
    max-width: 520px;
    width: 100%;
    background: rgba(12, 12, 18, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 48px;
    padding: 40px 36px;
    animation: fadeInUp 0.5s ease;
    margin: 40px auto;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(145deg, #ffffff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.captcha-required-notice {
    background: rgba(139, 0, 0, 0.15);
    border-left: 3px solid var(--primary-red);
    padding: 10px 15px;
    font-size: 0.8rem;
    color: #ffb3b3;
    margin-top: 15px;
    border-radius: 8px;
    text-align: left;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #c0c8d2;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 14px 20px;
    font-size: 1rem;
    color: white;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(20, 20, 30, 0.5);
}

.error-message, .success-message {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    border-radius: 30px;
    padding: 12px;
    margin-bottom: 20px;
    display: none;
    color: #ff9999;
    font-size: 0.85rem;
    text-align: center;
}

.success-message {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4caf50;
    color: #8cff8c;
}

.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 70px);
    height: 1px;
    background: var(--glass-border);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.social-btn {
    width: 100%;
    background: rgba(20, 20, 28, 0.8);
    border: 1px solid var(--glass-border);
    color: #ddd;
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 500;
    margin-bottom: 12px;
}

.social-btn:hover {
    background: rgba(35, 35, 48, 0.9);
    color: white;
    transform: translateY(-2px);
}

.signup-link {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 20px;
}

.signup-link a {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* TOS Modal */
.tos-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(16px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
    padding: 20px;
}

.tos-modal.active {
    opacity: 1;
    visibility: visible;
}

.tos-modal-content {
    max-width: 1100px;
    width: 100%;
    max-height: 95vh;
    background: #0f0f18;
    border: 2px solid rgba(139, 0, 0, 0.5);
    border-radius: 48px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: 0.25s;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.tos-modal.active .tos-modal-content {
    transform: scale(1);
}

.tos-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(139, 0, 0, 0.2);
    border-bottom: 2px solid rgba(139, 0, 0, 0.4);
    flex-shrink: 0;
}

.tos-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffc2c2;
}

.tos-modal-body {
    padding: 25px 35px;
    overflow-y: auto;
    flex: 1;
    font-size: 0.9rem;
    scrollbar-width: thin;
    line-height: 1.6;
}

.tos-section {
    margin-bottom: 25px;
    border-left: 3px solid rgba(139,0,0,0.5);
    padding-left: 20px;
}

.tos-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffaeae;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-box {
    background: rgba(139, 0, 0, 0.15);
    border: 2px solid var(--primary-red);
    padding: 20px;
    border-radius: 20px;
    margin: 20px 0;
}

.highlight {
    color: #ffd966;
    font-weight: 700;
}

.tos-modal-footer {
    display: flex;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 2px solid rgba(139, 0, 0, 0.4);
    flex-shrink: 0;
}

.tos-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 44px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tos-btn.agree {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
}

.tos-btn.agree:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.tos-btn.cancel {
    background: rgba(139, 0, 0, 0.4);
    color: #ffb3b3;
    border: 1px solid var(--primary-red);
}

.tos-btn.cancel:hover {
    background: rgba(139, 0, 0, 0.7);
    color: white;
    transform: translateY(-2px);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 200000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.loading-overlay.active {
    display: flex;
}

.page-header {
    margin: 40px 0 20px;
    animation: fadeInUp 0.5s ease;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.category-filter::-webkit-scrollbar {
    height: 3px;
}

.category-btn {
    background: #1a1a25;
    border: 1px solid #2a2a35;
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.category-btn:hover {
    background: #252530;
    color: #fff;
}

.category-btn.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* Plugins Grid */
.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.plugin-card, .software-card {
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition-bounce);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plugin-card, .software-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
.plugin-card:nth-child(1) { animation-delay: 0.05s; }
.plugin-card:nth-child(2) { animation-delay: 0.10s; }
.plugin-card:nth-child(3) { animation-delay: 0.15s; }
.plugin-card:nth-child(4) { animation-delay: 0.20s; }
.plugin-card:nth-child(5) { animation-delay: 0.25s; }
.plugin-card:nth-child(6) { animation-delay: 0.30s; }
.plugin-card:nth-child(7) { animation-delay: 0.35s; }
.plugin-card:nth-child(8) { animation-delay: 0.40s; }
.plugin-card:nth-child(9) { animation-delay: 0.45s; }
.plugin-card:nth-child(10) { animation-delay: 0.50s; }
.plugin-card:nth-child(11) { animation-delay: 0.55s; }
.plugin-card:nth-child(12) { animation-delay: 0.60s; }

.plugin-card:hover, .software-card:hover {
    transform: translateY(-10px) rotateX(3deg) rotateY(2deg);
    box-shadow: 0 30px 40px -15px rgba(139, 0, 0, 0.4);
    border-color: rgba(139, 0, 0, 0.5);
}


.plugin-image, .software-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.5s ease;
}

.plugin-card:hover .plugin-image,
.software-card:hover .software-image {
    transform: scale(1.05);
}

.plugin-content, .software-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plugin-header, .software-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.plugin-title, .software-title {
    font-size: 1.1rem;
    font-weight: 700;
    flex: 1;
}

.plugin-version, .software-version {
    background: rgba(168, 139, 255, 0.1);
    color: var(--accent-purple);
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.plugin-developer, .software-developer {
    color: var(--accent-purple);
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.plugin-description, .software-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plugin-meta, .software-meta {
    display: flex;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
}

.plugin-category, .software-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
}

.plugin-download-btn, .software-download-btn {
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    width: 100%;
}

.plugin-download-btn:hover, .software-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-red-glow);
}

/* OS Badges */
.os-support {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.os-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
}

.os-badge i {
    color: var(--accent-purple);
}

/* Plugin Modal */
.plugin-modal, .software-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    padding: 20px;
}

.plugin-modal.active, .software-modal.active {
    opacity: 1;
    visibility: visible;
}

.plugin-modal-content, .software-modal-content {
    max-width: 550px;
    width: 90%;
    background: #1a1a2a;
    border-radius: 36px;
    overflow: hidden;
    border: 2px solid rgba(139, 0, 0, 0.3);
    transform: scale(0.9);
    transition: 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.plugin-modal.active .plugin-modal-content,
.software-modal.active .software-modal-content {
    transform: scale(1);
}

.plugin-modal-header, .software-modal-header {
    position: relative;
}

.plugin-modal-image, .software-modal-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.plugin-modal-close, .software-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-red);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.plugin-modal-close:hover, .software-modal-close:hover {
    background: #ff4d4d;
    transform: rotate(90deg);
}

.plugin-modal-body, .software-modal-body {
    padding: 28px;
}

.plugin-modal-title, .software-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.plugin-modal-description, .software-modal-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.plugin-modal-developer, .software-modal-developer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 139, 255, 0.05);
    padding: 12px 16px;
    border-radius: 40px;
    margin-bottom: 20px;
}

.plugin-modal-details, .software-modal-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 24px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    color: var(--text-dim);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-download-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.modal-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-red-glow);
}

/* ========== PROFILE PAGE STYLES ========== */
.profile-hero {
    margin: 30px 0 20px;
    position: relative;
    background: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(16px);
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a2a, #0f0f17);
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(10,10,15,0.9), transparent);
}

.avatar-wrapper {
    position: relative;
    margin-top: -60px;
    margin-left: 30px;
    display: inline-block;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-red);
    background: #1a1a2a;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.profile-avatar:hover {
    transform: scale(1.02);
    border-color: #ff4d4d;
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #2a2a40, #1a1a2e);
    color: var(--accent-purple);
}

.edit-avatar-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: white;
}

.edit-avatar-btn:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

.profile-info-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 30px 20px 160px;
}

.profile-display-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.profile-username {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.profile-bio {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 500px;
}

.profile-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.edit-profile-btn, .follow-btn {
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.85rem;
    border: none;
}

.edit-profile-btn {
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    color: white;
}

.follow-btn {
    background: rgba(168, 139, 255, 0.1);
    border: 1px solid rgba(168, 139, 255, 0.2);
    color: var(--accent-purple);
}

.follow-btn:hover, .edit-profile-btn:hover {
    transform: translateY(-2px);
}

.follow-btn.following {
    background: rgba(139, 0, 0, 0.3);
    border-color: var(--primary-red);
    color: white;
}

.stats-bar {
    display: flex;
    gap: 30px;
    padding: 15px 30px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-purple);
}

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

.profile-tabs {
    display: flex;
    gap: 8px;
    margin: 30px 0 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
    overflow-x: auto;
}

.profile-tab {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.profile-tab:hover {
    color: #fff;
}

.profile-tab.active {
    background: rgba(168, 139, 255, 0.1);
    color: var(--accent-purple);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 30, 0.5);
    padding: 14px;
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.activity-item:hover {
    background: rgba(20, 20, 30, 0.7);
    transform: translateX(5px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(139,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.activity-meta {
    color: var(--text-dim);
    font-size: 0.7rem;
}

/* Search Section for Profile */
.search-section {
    padding: 20px 0;
    background: rgba(0,0,0,0.2);
    border-radius: 28px;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .search-box {
        flex-direction: row;
    }
}

.search-input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(20,20,30,0.5);
    border: 1px solid #252530;
    border-radius: 40px;
    color: white;
    font-size: 0.9rem;
}

.search-btn {
    padding: 10px 24px;
    background: var(--primary-red);
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-red-glow);
}

.no-content {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.no-content i {
    font-size: 4rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

/* ========== REQUEST & REQUESTS BOARD STYLES ========== */
.request-panel, .board-panel {
    padding: 40px 0;
    flex: 1;
}

.request-header, .board-header {
    margin-bottom: 30px;
    text-align: center;
}

.request-header h1, .board-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.request-form {
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 36px;
    padding: 40px;
}

.help-text {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin-top: 8px;
    display: block;
}

.view-requests {
    margin-top: 30px;
    text-align: center;
}

.view-requests a {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(168, 139, 255, 0.1);
    border-radius: 40px;
    transition: var(--transition-smooth);
}

.view-requests a:hover {
    background: rgba(168, 139, 255, 0.2);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.filter-btn {
    background: #1a1a25;
    border: 1px solid #2a2a35;
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-smooth);
    white-space: nowrap;
    font-size: 0.9rem;
}

.filter-btn.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.filter-btn:hover {
    background: #252530;
    color: #fff;
}

/* Requests List */
.requests-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.request-card {
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 24px;
    transition: var(--transition-smooth);
}

.request-card:hover {
    border-color: rgba(139, 0, 0, 0.3);
    transform: translateY(-3px);
}

.request-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.request-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(168, 139, 255, 0.1);
    border-radius: 30px;
}

.request-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vote-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vote-count {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-purple);
}

.vote-btn {
    background: transparent;
    border: 2px solid #2a2a3a;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

.vote-btn:hover:not(.voted):not(:disabled) {
    border-color: #4caf50;
    color: #4caf50;
}

.vote-btn.voted {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

.vote-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.additional-info {
    background: #1a1a25;
    border-radius: 20px;
    padding: 15px;
    margin-top: 15px;
    color: var(--text-muted);
}

/* ========== RESOURCE PAGE STYLES ========== */
.asset-showcase {
    margin: 30px 0;
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(16px);
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 0;
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

.visual-side {
    position: relative;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.asset-visual {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-wrapper:hover .asset-visual {
    transform: scale(1.05);
}

.expand-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
    cursor: pointer;
}

.visual-wrapper:hover .expand-icon {
    opacity: 1;
}

.editor-credit {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.details-side {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.asset-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.premium-badge-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.release-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-bottom: 20px;
}

/* ========== RESOURCE PAGE - UPLOADER AVATAR FIX ========== */

.uploader-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(168, 139, 255, 0.05);
    padding: 12px 16px;
    border-radius: 28px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.uploader-info:hover {
    background: rgba(168, 139, 255, 0.08);
    transform: translateX(3px);
}

.uploader-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(168, 139, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.uploader-icon i {
    font-size: 1.2rem;
    color: var(--accent-purple);
}

.uploader-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uploader-details {
    flex: 1;
}

.uploader-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: #fff;
}

.uploader-details p {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin: 0;
}

.uploader-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.7rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.uploader-link:hover {
    color: #c4a5ff;
    text-decoration: underline;
}

.action-group {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.get-asset-btn {
    flex: 2;
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.get-asset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-red-glow);
}

.share-action {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 12px;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.share-action:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.main-content {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 28px;
    border: 1px solid var(--glass-border);
}

.section-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 8px;
}

.asset-description {
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
    font-size: 0.9rem;
}

.feature-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 24px 0;
}

@media (max-width: 480px) {
    .feature-showcase {
        grid-template-columns: 1fr;
    }
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 139, 255, 0.04);
    padding: 8px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.feature-tag:hover {
    background: rgba(168, 139, 255, 0.08);
    transform: translateX(5px);
}

.feature-tag i {
    color: var(--primary-red);
    font-size: 0.8rem;
}

.trust-badge {
    background: rgba(139, 0, 0, 0.06);
    border-radius: 20px;
    padding: 16px;
    margin-top: 20px;
    border-left: 3px solid var(--primary-red);
}

.stats-panel {
    animation: slideInRight 0.5s ease;
}

.stat-block {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.stat-divider {
    width: 45px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), transparent);
    margin: 14px auto;
}

.recommendations {
    margin: 40px 0;
}

.recommendations-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-purple);
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.rec-item {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.rec-item:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 0, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.rec-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.rec-details {
    padding: 12px;
}

.rec-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.rec-meta {
    display: flex;
    gap: 12px;
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 100001;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.fullscreen-modal.active {
    display: flex;
}

.fullscreen-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-dialog {
    max-width: 450px;
    width: 90%;
    background: #1a1a2a;
    border-radius: 32px;
    padding: 24px;
    border: 1px solid var(--glass-border);
    animation: zoomIn 0.3s ease;
}

.share-dialog h3 {
    color: white;
    margin-bottom: 16px;
}

.share-dialog input {
    width: 100%;
    padding: 12px;
    background: #0a0a1a;
    border: 1px solid #333;
    border-radius: 30px;
    color: white;
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px;
}

.copy-btn, .discord-share, .twitter-share {
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: var(--primary-red);
    color: white;
    border: none;
}

.copy-btn:hover, .discord-share:hover, .twitter-share:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* ========== INVITE PAGE STYLES ========== */
.invite-card {
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 48px;
    padding: 40px;
    animation: fadeInUp 0.5s ease;
    margin: 40px 0;
}

.invite-card.error-card {
    border-color: #f44336;
    text-align: center;
}

.invite-card.error-card h1 {
    background: none;
    color: #ff9999;
    -webkit-text-fill-color: #ff9999;
}

/* ========== PERSONALIZATION PAGE STYLES ========== */
.profile-card {
    margin: 30px 0;
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(16px);
    border-radius: 36px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
}

.banner-section {
    position: relative;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a1a2a, #0f0f17);
    overflow: hidden;
}

.banner-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-banner-btn {
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2;
    border: none;
    color: white;
}

.edit-banner-btn:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

.avatar-section {
    position: relative;
    margin-top: -60px;
    margin-left: 30px;
    display: inline-block;
}

.avatar-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid var(--primary-red);
    background: #1a1a2a;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.avatar-preview:hover {
    transform: scale(1.02);
    border-color: #ff4d4d;
}

.form-section {
    padding: 24px 30px;
    border-bottom: 1px solid var(--glass-border);
}

.form-section h3 {
    font-size: 1rem;
    margin-bottom: 18px;
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 24px;
    padding: 5px 16px;
    border: 1px solid var(--glass-border);
}

.social-input-group span {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.social-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
}

.badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.badge-option {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.badge-option:hover {
    background: rgba(139,0,0,0.2);
    border-color: var(--primary-red);
}

.badge-option.selected {
    background: rgba(139,0,0,0.4);
    border-color: var(--primary-red);
    color: white;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
    display: none;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), #ff4d4d);
    transition: width 0.3s;
}

.save-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 10px;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-red-glow);
}

.save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Notification Toast */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    z-index: 10001;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.success {
    background: linear-gradient(135deg, #00b09b, #96c93d);
}

.notification.error {
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .profile-info-header {
        padding: 15px 20px 15px 120px;
        flex-direction: column;
        gap: 15px;
    }
    
    .profile-display-name {
        font-size: 1.3rem;
    }
    
    .profile-avatar {
        width: 90px;
        height: 90px;
    }
    
    .avatar-wrapper {
        margin-top: -45px;
        margin-left: 20px;
    }
    
    .stats-bar {
        padding: 12px 20px;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .asset-title {
        font-size: 1.3rem;
    }
    
    .request-title {
        font-size: 1.1rem;
    }
    
    .tos-modal-body {
        padding: 20px;
    }
    
    .tos-section h3 {
        font-size: 1rem;
    }
    
    .tos-modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 32px 24px;
    }
    
    .login-header h1 {
        font-size: 1.8rem;
    }
    
    .premium-modal {
        padding: 30px 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .feature-tab {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .plugins-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .request-header h1, .board-header h1 {
        font-size: 1.8rem;
    }
    
    .invite-card {
        padding: 30px 20px;
    }
}
/* ========== PROFILE PAGE STYLES - COMPLETE ========== */
.profile-hero {
    margin: 30px 0 20px;
    position: relative;
    background: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(16px);
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a2a, #0f0f17);
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(10,10,15,0.9), transparent);
}

.avatar-wrapper {
    position: relative;
    margin-top: -60px;
    margin-left: 30px;
    display: inline-block;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-red);
    background: #1a1a2a;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.profile-avatar:hover {
    transform: scale(1.02);
    border-color: #ff4d4d;
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #2a2a40, #1a1a2e);
    color: var(--accent-purple);
}

.edit-avatar-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: white;
}

.edit-avatar-btn:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

.profile-info-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 30px 20px 160px;
}

.profile-display-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.profile-username {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.profile-bio {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 500px;
}

.stats-bar {
    display: flex;
    gap: 30px;
    padding: 15px 30px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-purple);
}

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

.profile-tabs {
    display: flex;
    gap: 8px;
    margin: 30px 0 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
    overflow-x: auto;
}

.profile-tab {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.profile-tab:hover {
    color: #fff;
}

.profile-tab.active {
    background: rgba(168, 139, 255, 0.1);
    color: var(--accent-purple);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 30, 0.5);
    padding: 14px;
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.activity-item:hover {
    background: rgba(20, 20, 30, 0.7);
    transform: translateX(5px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(139,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.activity-meta {
    color: var(--text-dim);
    font-size: 0.7rem;
}

/* ========== RESOURCE PAGE STYLES - COMPLETE ========== */
.asset-showcase {
    margin: 30px 0;
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(16px);
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 0;
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

.visual-side {
    position: relative;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.asset-visual {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-wrapper:hover .asset-visual {
    transform: scale(1.05);
}

.expand-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
    cursor: pointer;
}

.visual-wrapper:hover .expand-icon {
    opacity: 1;
}

.details-side {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.asset-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.uploader-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(168, 139, 255, 0.05);
    padding: 12px 16px;
    border-radius: 28px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.uploader-info:hover {
    background: rgba(168, 139, 255, 0.08);
    transform: translateX(3px);
}

.uploader-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(168, 139, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-purple);
    flex-shrink: 0;
    overflow: hidden;
}

.uploader-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: #fff;
}

.action-group {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.get-asset-btn {
    flex: 2;
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.get-asset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-red-glow);
}

.share-action {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 12px;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.share-action:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.main-content {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 28px;
    border: 1px solid var(--glass-border);
}

.section-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 8px;
}

.asset-description {
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
    font-size: 0.9rem;
}

.stats-panel {
    animation: slideInRight 0.5s ease;
}

.stat-block {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.stat-divider {
    width: 45px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), transparent);
    margin: 14px auto;
}

.recommendations {
    margin: 40px 0;
}

.recommendations-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-purple);
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.rec-item {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.rec-item:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 0, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.rec-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.rec-details {
    padding: 12px;
}

.rec-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.rec-meta {
    display: flex;
    gap: 12px;
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 100001;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.fullscreen-modal.active {
    display: flex;
}

.fullscreen-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-dialog {
    max-width: 450px;
    width: 90%;
    background: #1a1a2a;
    border-radius: 32px;
    padding: 24px;
    border: 1px solid var(--glass-border);
    animation: zoomIn 0.3s ease;
}

.share-dialog h3 {
    color: white;
    margin-bottom: 16px;
}

.share-dialog input {
    width: 100%;
    padding: 12px;
    background: #0a0a1a;
    border: 1px solid #333;
    border-radius: 30px;
    color: white;
    margin-bottom: 16px;
}

.copy-btn, .discord-share, .twitter-share {
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: var(--primary-red);
    color: white;
    border: none;
}

.copy-btn:hover, .discord-share:hover, .twitter-share:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.loading-state i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

/* Comments Section */
.comments-wrapper {
    margin-top: 2rem;
}

.comments-container {
    background: rgba(15, 15, 25, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    padding: 1.75rem;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comments-title i {
    font-size: 1.5rem;
    color: var(--accent-purple);
}

.comments-title h3 {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.comment-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.comment-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0.875rem;
    font-size: 0.875rem;
    color: #ffffff;
    resize: none;
    font-family: 'Inter', sans-serif;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.comment-item {
    transition: var(--transition-smooth);
    padding: 1rem;
    border-radius: 20px;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(4px);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(168, 139, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comment-author {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
}

.comment-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.like-btn, .reply-btn {
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.375rem 0.75rem;
    border-radius: 30px;
}

.like-btn:hover, .reply-btn:hover {
    color: var(--accent-purple);
    background: rgba(168, 139, 255, 0.1);
}

.like-btn.liked {
    color: #ff4d4d;
}

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

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

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .profile-info-header {
        padding: 15px 20px 15px 120px;
        flex-direction: column;
        gap: 15px;
    }
    .profile-display-name {
        font-size: 1.3rem;
    }
    .profile-avatar {
        width: 90px;
        height: 90px;
    }
    .avatar-wrapper {
        margin-top: -45px;
        margin-left: 20px;
    }
    .asset-title {
        font-size: 1.3rem;
    }
    .details-side {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .profile-info-header {
        padding: 15px 16px 15px 110px;
    }
    .stats-bar {
        padding: 12px 20px;
        gap: 20px;
        flex-wrap: wrap;
    }
    .action-group {
        flex-direction: column;
    }
}
/* ========== COMMENTS SECTION STYLES - COMPLETE ========== */

.comments-wrapper {
    margin-top: 2rem;
}

.comments-container {
    background: rgba(15, 15, 25, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comments-container:hover {
    border-color: rgba(139, 0, 0, 0.3);
}

/* Header Section */
.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comments-title i {
    font-size: 1.5rem;
    color: var(--accent-purple);
    transition: transform 0.3s ease;
}

.comments-title:hover i {
    transform: rotate(5deg);
}

.comments-title h3 {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.comments-count {
    background: rgba(168, 139, 255, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-purple);
    transition: all 0.3s ease;
}

.comments-count:hover {
    background: rgba(168, 139, 255, 0.25);
    transform: scale(1.05);
}

/* Sort Dropdown */
.sort-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 8px 32px 8px 18px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.sort-select:hover {
    background-color: rgba(139, 0, 0, 0.2);
    border-color: rgba(139, 0, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.3);
}

/* Comment Form */
.comment-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-form:hover {
    border-color: rgba(139, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.form-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.form-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.5);
}

.form-avatar i {
    font-size: 1.2rem;
    color: white;
}

/* Textarea */
.comment-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.875rem;
    font-size: 0.875rem;
    color: #ffffff;
    resize: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.comment-textarea:hover {
    border-color: rgba(139, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.comment-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    transition: opacity 0.3s ease;
}

.comment-textarea:focus::placeholder {
    opacity: 0.5;
}

/* Star Rating */
.rating-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.rating-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star-rating i {
    font-size: 1.1rem;
    color: #ffc107;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.star-rating i:hover {
    transform: scale(1.3);
    filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.5));
}

.star-rating i:active {
    transform: scale(0.95);
}

.rating-value {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

/* Post Comment Button */
.post-comment-btn {
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    color: #000000 !important;
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.post-comment-btn::before {
    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;
}

.post-comment-btn:hover::before {
    width: 300px;
    height: 300px;
}

.post-comment-btn i {
    color: #000000 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.post-comment-btn span {
    position: relative;
    z-index: 1;
}

.post-comment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.5);
    background: linear-gradient(135deg, #a00000, #ff6666);
}

.post-comment-btn:hover i {
    transform: translateX(5px);
}

.post-comment-btn:active {
    transform: translateY(1px);
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom Scrollbar for Comments List */
.comments-list::-webkit-scrollbar {
    width: 4px;
}

.comments-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: #ff4d4d;
}

/* Individual Comment Item */
.comment-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
    margin: -0.5rem;
    border-radius: 20px;
    background: transparent;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(4px);
}

/* Top-level comment border */
.comment-top-level {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.25rem;
}

.comment-top-level:last-child {
    border-bottom: none;
}

/* Reply indentation */
.comment-reply {
    margin-left: 3rem;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(139, 0, 0, 0.3);
    transition: border-color 0.3s ease;
}

.comment-reply:hover {
    border-left-color: rgba(139, 0, 0, 0.6);
}

@media (max-width: 640px) {
    .comment-reply {
        margin-left: 1.5rem;
        padding-left: 0.75rem;
    }
}

/* Comment Avatar */
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(168, 139, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-avatar:hover {
    transform: scale(1.1);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(168, 139, 255, 0.3);
}

.comment-avatar i {
    font-size: 1rem;
    color: var(--accent-purple);
    transition: transform 0.3s ease;
}

.comment-avatar:hover i {
    transform: scale(1.1);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Comment Content */
.comment-content {
    flex: 1;
}

/* Comment Header */
.comment-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s ease;
}

.comment-author:hover {
    color: var(--accent-purple);
}

.comment-date {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.comment-date:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Comment Stars (small) */
.comment-stars {
    display: inline-flex;
    gap: 0.125rem;
    margin-left: 0.5rem;
}

.comment-stars i {
    font-size: 0.65rem;
    color: #ffc107;
    transition: transform 0.2s ease;
}

.comment-stars i:hover {
    transform: scale(1.2);
}

.comment-stars i.empty {
    color: rgba(255, 193, 7, 0.3);
}

/* Comment Text */
.comment-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.comment-item:hover .comment-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Comment Actions */
.comment-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Like Button */
.like-btn {
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.375rem 0.75rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.like-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 77, 77, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.like-btn:hover::before {
    width: 100px;
    height: 100px;
}

.like-btn i {
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.like-btn span {
    position: relative;
    z-index: 1;
}

.like-btn:hover {
    color: #ff6b6b;
    background: rgba(255, 77, 77, 0.1);
    transform: translateX(3px);
}

.like-btn:hover i {
    transform: scale(1.2);
}

.like-btn:active {
    transform: scale(0.95);
}

.like-btn.liked {
    color: #ff4d4d;
}

.like-btn.liked i {
    font-weight: 900;
}

/* Reply Button */
.reply-btn {
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.375rem 0.75rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.reply-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(168, 139, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.reply-btn:hover::before {
    width: 100px;
    height: 100px;
}

.reply-btn i {
    font-size: 0.7rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.reply-btn span {
    position: relative;
    z-index: 1;
}

.reply-btn:hover {
    color: var(--accent-purple);
    background: rgba(168, 139, 255, 0.1);
    transform: translateX(3px);
}

.reply-btn:hover i {
    transform: scale(1.1) rotate(-15deg);
}

.reply-btn:active {
    transform: scale(0.95);
}

/* Reply Form */
.reply-form {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reply-form:hover {
    border-color: rgba(139, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.reply-form.hidden {
    display: none;
}

/* Reply Textarea */
.reply-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.625rem;
    font-size: 0.75rem;
    color: #ffffff;
    resize: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reply-textarea:hover {
    border-color: rgba(139, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.reply-textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

/* Reply Actions */
.reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

/* Submit Reply Button */
.submit-reply-btn {
    background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
    color: #000000;
    padding: 0.375rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.submit-reply-btn i {
    color: #000000;
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.submit-reply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, #a00000, #ff6666);
}

.submit-reply-btn:hover i {
    transform: translateX(3px);
}

.submit-reply-btn:active {
    transform: translateY(0);
}

/* Cancel Reply Button */
.cancel-reply-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.375rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.cancel-reply-btn i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.cancel-reply-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
    color: rgba(255, 255, 255, 0.9);
}

.cancel-reply-btn:hover i {
    transform: translateX(-2px);
}

/* Replies Container */
.replies-container {
    margin-top: 1rem;
    padding-left: 0.5rem;
}

/* View All Button */
.view-all-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 0.625rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(139, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.view-all-btn:hover::before {
    width: 200px;
    height: 200px;
}

.view-all-btn:hover {
    border-color: var(--primary-red);
    color: #ffffff;
    transform: translateY(-2px);
    background: rgba(139, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.view-all-btn i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.view-all-btn:hover i {
    transform: translateY(2px);
}

.view-all-btn:active {
    transform: translateY(0);
}

/* Empty State */
.empty-comments {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-comments i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.empty-comments:hover i {
    color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.empty-comments p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Toast Notification */
.comment-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 10001;
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.comment-toast.success {
    background: rgba(76, 175, 80, 0.95);
    color: white;
}

.comment-toast.error {
    background: rgba(244, 67, 54, 0.95);
    color: white;
}

.comment-toast:hover {
    transform: translateY(-2px);
}

/* Comments Loading State */
.comments-loading {
    text-align: center;
    padding: 2rem;
}

.comments-loading i {
    font-size: 2rem;
    color: var(--accent-purple);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Comments */
@media (max-width: 768px) {
    .comments-container {
        padding: 1rem;
    }
    
    .comments-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-reply {
        margin-left: 1.5rem;
    }
    
    .comment-avatar {
        width: 32px;
        height: 32px;
    }
    
    .comment-author {
        font-size: 0.8rem;
    }
    
    .comment-text {
        font-size: 0.8rem;
    }
    
    .comment-actions {
        gap: 0.75rem;
    }
    
    .like-btn, .reply-btn {
        padding: 0.25rem 0.5rem;
    }
}
