* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
    padding-top: 280px;
    position: relative;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode .header-logo {
    background: #16213e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .main-tabs {
    background: #16213e;
}

body.dark-mode .tab-btn {
    background: #0f3460;
    color: #e0e0e0;
}

body.dark-mode .tab-btn:hover {
    background: #1a4a7a;
}

body.dark-mode .card,
body.dark-mode .auth-box {
    background: #16213e;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body.dark-mode .form-group label,
body.dark-mode h3,
body.dark-mode .feed-card-title,
body.dark-mode .myqr-card-title {
    color: #e0e0e0;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select,
body.dark-mode .share-link input {
    background: #0f3460;
    border-color: #1a4a7a;
    color: #e0e0e0;
}

body.dark-mode .instructions {
    background: #16213e;
}

body.dark-mode .instructions h3 {
    color: #a8c0ff;
}

body.dark-mode .instructions li {
    color: #b0b0b0;
}

body.dark-mode .upload-area {
    background: #0f3460;
    border-color: #667eea;
}

body.dark-mode .upload-text {
    color: #b0b0b0;
}

body.dark-mode .filter-btn {
    background: #16213e;
    color: #b0b0b0;
}

body.dark-mode .filter-btn:hover {
    background: #1a4a7a;
}

body.dark-mode .feed-card,
body.dark-mode .myqr-card,
body.dark-mode .explore-qr-card,
body.dark-mode .explore-user-card {
    background: #16213e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .feed-card-title,
body.dark-mode .feed-card-description,
body.dark-mode .feed-card-username,
body.dark-mode .myqr-card-title,
body.dark-mode .myqr-card-description,
body.dark-mode .myqr-card-meta,
body.dark-mode .myqr-card-stats,
body.dark-mode .explore-qr-info h4,
body.dark-mode .explore-qr-info span {
    color: #b0b0b0;
}

body.dark-mode .feed-card-stats,
body.dark-mode .myqr-card-stats {
    border-top-color: #0f3460;
}

body.dark-mode .vote-btn,
body.dark-mode .feed-card-btn {
    color: #b0b0b0;
}

body.dark-mode .btn-secondary {
    background: #0f3460;
    color: #e0e0e0;
}

body.dark-mode .btn-secondary:hover {
    background: #1a4a7a;
}

body.dark-mode .myqr-card-image {
    background: #0f3460;
}

body.dark-mode .myqr-card-actions {
    background: #0f3460;
    border-top-color: #1a4a7a;
}

body.dark-mode .myqr-action-btn {
    background: #16213e;
}

body.dark-mode .modal-content {
    background: #16213e;
}

body.dark-mode .modal-close {
    color: #b0b0b0;
}

body.dark-mode .comment-item {
    border-bottom-color: #0f3460;
}

body.dark-mode .comment-form textarea {
    background: #0f3460;
    border-color: #1a4a7a;
    color: #e0e0e0;
}

body.dark-mode .user-panel {
    background: #16213e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .user-name {
    color: #e0e0e0;
}

body.dark-mode .explore-user-card {
    background: #16213e;
}

body.dark-mode .explore-user-info h4 {
    color: #e0e0e0;
}

body.dark-mode .qr-preview {
    background: #0f3460;
}

body.dark-mode .qr-preview h4 {
    color: #e0e0e0;
}

/* Header */
.header-logo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 15px;
    text-align: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: filter 0.3s ease;
}

/* Dark mode - logo invert */
body.dark-mode .header-logo img {
    filter: invert(1) brightness(1.2);
}

/* Dark mode toggle button */
.dark-mode-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 102;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.dark-mode-icon {
    font-size: 1.3rem;
}

.header-logo.minimized {
    padding: 8px;
}

.header-logo.minimized img {
    max-width: 150px;
}

/* User Panel */
.user-panel {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 101;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    justify-content: center;
}

.user-panel .btn {
    padding: 10px 15px;
    font-size: 0.85rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-weight: 600;
    color: #333;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Card */
.card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.main-tabs {
    background: white;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.main-tabs .tab-btn {
    flex: 1;
    min-width: 100px;
}

.sub-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sub-tabs .tab-btn {
    flex: 1;
    min-width: 80px;
    padding: 10px 15px;
    font-size: 0.9rem;
}

.tab-btn {
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: #f0f0f0;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Instructions */
.instructions {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.instructions h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.instructions ul {
    list-style: none;
    padding: 0;
}

.instructions li {
    padding: 8px 0;
    color: #666;
}

.instructions li::before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    margin-right: 10px;
}

.supported-formats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.format-badge {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Upload Area */
.upload-area {
    border: 3px dashed #667eea;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    background: #f8f9ff;
    transition: all 0.3s;
}

.upload-area:hover {
    background: #f0f4ff;
    transform: scale(02);
}

.upload-area.dragover {
    background: #e8ecff;
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.upload-text {
    color: #666;
    font-size: 1.1rem;
}

.upload-text span {
    color: #667eea;
    font-weight: 600;
}

.file-input {
    display: none;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-google {
    background: white;
    color: #333;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-google:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.btn-google img {
    width: 20px;
    height: 20px;
}

.btn-danger {
    background: #ff6b6b;
    color: white;
}

.btn-danger:hover {
    background: #ff5252;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-open {
    background: white;
    color: #11998e;
}

.preview-area {
    margin-top: 20px;
    text-align: center;
    min-height: 50px;
}

.preview-area img,
.preview-area canvas {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

#reader {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    display: none;
}

/* Result Card */
.result-card {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
    color: white;
}

.result-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.result-value {
    font-size: 1.3rem;
    word-break: break-all;
    font-weight: 600;
}

.result-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.result-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Loading */
.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.loading.active {
    display: block;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Message */
.error-message {
    background: #ff6b6b;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    display: none;
}

.error-message.active {
    display: block;
}

.success-message {
    background: #11998e;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    display: none;
}

.success-message.active {
    display: block;
}

/* ==================== */
/* NEW STYLES - QR SOCIAL */
/* ==================== */

/* Feed */
.feed-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: white;
    color: #666;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #f0f0f0;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.feed-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feed-card:hover {
    transform: translateY(-5px);
}

.feed-card-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #f8f9fa;
    padding: 10px;
}

.feed-card-content {
    padding: 15px;
}

.feed-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.feed-card-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.feed-card-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-card-username {
    font-size: 0.85rem;
    color: #666;
}

.feed-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.feed-card-votes {
    display: flex;
    gap: 15px;
}

.vote-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    transition: all 0.2s;
}

.vote-btn:hover {
    transform: scale(1.1);
}

.vote-btn.liked {
    color: #11998e;
}

.vote-btn.disliked {
    color: #ff6b6b;
}

.feed-card-actions {
    display: flex;
    gap: 10px;
}

.feed-card-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    color: #666;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.2s;
}

.feed-card-btn:hover {
    background: #f0f0f0;
}

.feed-card-btn.report:hover {
    color: #ff6b6b;
}

.load-more-container {
    text-align: center;
    margin: 20px 0;
}

.empty-feed {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* My QR Codes */
.myqrs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.myqrs-header h3 {
    color: #333;
    font-size: 1.5rem;
}

.myqrs-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.myqrs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.myqr-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.myqr-card:hover {
    transform: translateY(-5px);
}

.myqr-card-image {
    background: #f8f9fa;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.myqr-card-image img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 10px;
}

.myqr-card-content {
    padding: 15px;
}

.myqr-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.myqr-card-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.myqr-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.myqr-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.myqr-badge.public {
    background: #e8f5e9;
    color: #2e7d32;
}

.myqr-badge.private {
    background: #fce4ec;
    color: #c2185b;
}

.myqr-date {
    font-size: 0.8rem;
    color: #999;
}

.myqr-card-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.myqr-card-actions {
    display: flex;
    justify-content: space-around;
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.myqr-action-btn {
    background: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.myqr-action-btn:hover {
    background: #e9ecef;
    transform: scale(1.1);
}

.myqr-action-btn.delete:hover {
    background: #ffebee;
}

/* Follow Button */
.follow-btn {
    margin-left: auto;
    padding: 5px 12px;
    border: none;
    border-radius: 20px;
    background: #667eea;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.follow-btn:hover {
    background: #5a6fd6;
}

.follow-btn.following {
    background: #11998e;
}

/* Comments Modal */
.comments-modal {
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.comments-list {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    padding: 15px 0;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 0.8rem;
    color: #999;
}

.comment-delete {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    margin-top: 5px;
}

.no-comments {
    text-align: center;
    color: #999;
    padding: 30px;
}

.comment-form {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.comment-form textarea {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    resize: none;
    font-size: 0.9rem;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Favorite Button */
.favorite-btn.favorited {
    color: #f39c12;
}

/* Explore Section */
.explore-section h3 {
    margin-bottom: 20px;
    color: #333;
}

.explore-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.explore-qr-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.explore-qr-card:hover {
    transform: translateY(-3px);
}

.explore-qr-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #f8f9fa;
}

.explore-qr-info {
    padding: 10px;
}

.explore-qr-info h4 {
    font-size: 0.9rem;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.explore-qr-info span {
    font-size: 0.75rem;
    color: #999;
}

.explore-user-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: span 2;
}

.explore-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.explore-user-info {
    flex: 1;
}

.explore-user-info h4 {
    margin-bottom: 3px;
}

.explore-user-info span {
    font-size: 0.8rem;
    color: #666;
}

.explore-hashtag-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
    color: white;
}

.explore-hashtag-card:hover {
    transform: translateY(-3px);
}

.hashtag-name {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

.hashtag-count {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Generate QR */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.qr-preview {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 15px;
}

.qr-preview h4 {
    margin-bottom: 15px;
    color: #333;
}

.qr-preview img {
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.qr-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.share-link {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.share-link input {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
}

/* Auth */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
}

.auth-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.auth-box h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #eee;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-switch a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

.modal-content h3 {
    margin-bottom: 20px;
    color: #333;
}

/* Arca Info */
.arca-info {
    margin-top: 15px;
}

/* Flying QR Animation */
@keyframes flyQR {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(var(--translate)) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .card {
        padding: 20px;
    }

    .tabs {
        flex-direction: column;
    }

    .feed-grid {
        grid-template-columns: 1fr;
    }

    .user-panel {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: center;
    }
}