:root {
    --primary: #0077cc; /* Azul mais vivo e normal (não bebê) */
    --primary-dark: #005fa3;
    --bg-dark: #0a1a2e;
    --bg-darker: #050f1a;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.8);
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    --star: #ffcc00;
    --ad-bg: rgba(10, 25, 47, 0.7);
    --ad-border: rgba(0, 119, 204, 0.3);
    --card-bg: rgba(16, 42, 67, 0.5);
    --card-hover: rgba(0, 119, 204, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

.ocean-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #050f1a 0%, #0a1a2e 50%, #1a3a5a 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.globe-container {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-globe {
    font-size: 2.5rem;
    color: var(--primary);
    animation: spinGlobe 10s linear infinite;
    text-shadow: 0 0 15px rgba(0, 119, 204, 0.6);
}

@keyframes spinGlobe {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.logo {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 119, 204, 0.7);
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 20px rgba(0, 119, 204, 0.9);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.dark-mode-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.dark-mode-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 119, 204, 0.2);
    border: 1px solid var(--primary);
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.toggle-label i {
    color: var(--primary);
    font-size: 0.9rem;
}

.toggle-ball {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: var(--primary);
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 119, 204, 0.5);
}

input:checked + .toggle-label .toggle-ball {
    transform: translateX(30px);
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 119, 204, 0.2);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 119, 204, 0.3);
}

.search-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.search-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.8rem;
    font-size: 1.1rem;
    margin-left: 1rem;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    outline: none;
}

.upload-btn {
    background: var(--primary);
    color: var(--bg-darker);
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 119, 204, 0.3);
    letter-spacing: 0.5px;
}

.upload-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 119, 204, 0.4);
}

.donate-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
    letter-spacing: 0.5px;
}

.donate-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
}

/* Quick Options */
.quick-options {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.8rem;
    align-items: center;
}

.quick-options::-webkit-scrollbar {
    height: 6px;
}

.quick-options::-webkit-scrollbar-thumb {
    background: rgba(0, 119, 204, 0.3);
    border-radius: 3px;
}

.option-btn {
    background: rgba(0, 119, 204, 0.1);
    border: none;
    color: var(--text-light);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 119, 204, 0.2);
}

.option-btn.active {
    background: var(--primary);
    color: var(--bg-darker);
    font-weight: 600;
    border-color: var(--primary);
}

.option-btn:hover:not(.active) {
    background: rgba(0, 119, 204, 0.2);
}

.privacy-filter, .sort-filter {
    background: rgba(0, 119, 204, 0.1);
    border: 1px solid var(--primary);
    color: var(--text-light);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 0.8rem;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    height: 40px;
    min-width: 180px;
    width: auto;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    flex-shrink: 0;
}

.privacy-filter:hover, .sort-filter:hover {
    background: rgba(0, 119, 204, 0.2);
}

.privacy-filter option, .sort-filter option {
    background: var(--bg-darker);
    color: var(--text-light);
}

/* File List */
.file-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.file-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
    border: 1px solid rgba(0, 119, 204, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.file-item:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 119, 204, 0.3);
}

.file-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.file-icon-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.file-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-right: 1rem;
}

.file-type {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: auto;
}

.file-type.public {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid var(--success);
    color: var(--success);
}

.file-type.private {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.file-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.file-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.file-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.file-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-stats i {
    font-size: 0.9rem;
}

.file-rating {
    color: var(--star);
}

.file-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.action-btn:hover {
    background: var(--primary);
    color: var(--bg-darker);
    transform: translateY(-2px);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.share-btn:hover {
    background: #25D366;
    color: white;
    transform: translateY(-2px);
}

.rating-stars {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.8rem;
}

.rating-stars i {
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.rating-stars i:hover, .rating-stars i.active {
    color: var(--star);
    transform: scale(1.2);
}

.rating-stars i.selected {
    color: var(--star);
}

/* File type specific colors */
.fa-file-pdf { color: #e74c3c; }
.fa-file-word { color: #2b579a; }
.fa-file-excel { color: #217346; }
.fa-file-powerpoint { color: #d24726; }
.fa-file-archive { color: #f39c12; }
.fa-file-alt { color: #3498db; }
.fa-file-code { color: #9b59b6; }
.fa-book { color: #8e44ad; }

/* Ad Banner Styles */
.ad-banner {
    background-color: var(--ad-bg);
    border: 1px solid var(--ad-border);
    border-radius: 10px;
    padding: 15px;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ad-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 119, 204, 0.1), transparent);
    animation: shine 2.5s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.ad-banner.top-banner {
    margin-top: 0;
}

.ad-content {
    position: relative;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.ad-label {
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.ad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 42, 82, 0.3);
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 15px;
    border-radius: 6px;
}

.ad-placeholder[data-ad-size="728x90"] {
    min-height: 90px;
}

.ad-placeholder[data-ad-size="468x60"] {
    min-height: 60px;
}

.ad-placeholder[data-ad-size="300x250"] {
    min-height: 250px;
    width: 300px;
    margin: 0 auto;
}

/* Modal Styles */
.upload-modal, .donation-modal, .password-modal, .download-ad-modal, .share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: var(--bg-darker);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    margin: auto;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-light);
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.modal-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.upload-options {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.upload-option {
    flex: 1;
    min-width: 120px;
    background: rgba(0, 119, 204, 0.1);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 1.8rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.upload-option:hover {
    background: rgba(0, 119, 204, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.2);
}

.upload-option i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.private-options {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 119, 204, 0.3);
    background: rgba(16, 42, 67, 0.5);
    border-radius: 8px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.share-option {
    background: rgba(0, 119, 204, 0.1);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.share-option:hover {
    background: rgba(0, 119, 204, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-option i {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.share-option.whatsapp {
    color: #25D366;
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.share-option.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
}

.share-option.telegram {
    color: #0088cc;
    border-color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}

.share-option.telegram:hover {
    background: rgba(0, 136, 204, 0.2);
}

.share-option.email {
    color: #D44638;
    border-color: #D44638;
    background: rgba(212, 70, 56, 0.1);
}

.share-option.email:hover {
    background: rgba(212, 70, 56, 0.2);
}

.share-option.copy-link {
    color: var(--primary);
    border-color: var(--primary);
}

.crypto-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.crypto-option {
    background: rgba(0, 119, 204, 0.1);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 1.8rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.crypto-option:hover {
    background: rgba(0, 119, 204, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.2);
}

.crypto-option i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.crypto-details {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 119, 204, 0.3);
    background: rgba(16, 42, 67, 0.5);
    border-radius: 8px;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--text-light);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(16, 42, 67, 0.5);
    border: 1px solid rgba(0, 119, 204, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 119, 204, 0.2);
}

.form-group small {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

.confirm-private-btn,
.confirm-password-btn {
    background: var(--primary);
    color: var(--bg-darker);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    width: 100%;
    transition: all 0.3s;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.confirm-private-btn:hover,
.confirm-password-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.3);
}

#fileInput {
    display: none;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    gap: 1rem;
}

.cancel-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--text-light);
    cursor: pointer;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.cancel-btn:hover {
    background: rgba(0, 119, 204, 0.1);
    transform: translateY(-2px);
}

.copy-wallet {
    margin-top: 1rem;
    background: var(--primary);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-weight: 600;
    color: var(--bg-darker);
    font-size: 1rem;
}

.copy-wallet:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.3);
}

.qr-code-container {
    margin: 0 auto 1.5rem;
    width: 180px;
    height: 180px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.upload-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.progress-container {
    background: var(--bg-darker);
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    border: 1px solid var(--primary);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.progress-container p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(0, 119, 204, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress {
    height: 100%;
    background: var(--primary);
    transition: width 0.3s;
    border-radius: 6px;
}

.progress-text {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}

/* Pagination Styles */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-btn {
    background: rgba(0, 119, 204, 0.1);
    border: 1px solid var(--primary);
    color: var(--text-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(0, 119, 204, 0.3);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.page-indicator {
    font-size: 1rem;
    color: var(--text-muted);
    min-width: 100px;
    text-align: center;
}

/* Download Ad Modal Styles */
.download-timer {
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.download-timer span {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.download-now-btn {
    background: var(--primary);
    color: var(--bg-darker);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
    letter-spacing: 0.5px;
    width: 100%;
}

.download-now-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.3);
}

/* File size notice */
.file-size-notice {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1rem 0;
    text-align: center;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: var(--bg-darker);
    color: var(--text-light);
}

body.dark-mode .ocean-bg {
    background: linear-gradient(135deg, #000814 0%, #001a33 50%, #003366 100%);
}

body.dark-mode .file-item,
body.dark-mode .search-box,
body.dark-mode .modal-content {
    background: rgba(5, 15, 26, 0.7);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        padding: 1.5rem;
    }
    
    .file-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.2rem;
    }
    
    .main-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .search-box {
        flex-wrap: wrap;
        padding: 0.8rem;
    }
    
    .upload-btn, .donate-btn {
        margin-top: 0.8rem;
        width: 100%;
        margin-left: 0;
    }
    
    .quick-options {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .option-btn, .privacy-filter, .sort-filter {
        margin: 0;
        flex: 1 1 auto;
        min-width: 160px;
    }
    
    .file-item {
        padding: 1.2rem;
    }

    .crypto-options {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .upload-options, .crypto-options {
        flex-direction: column;
    }
    
    .upload-option, .crypto-option {
        width: 100%;
    }

    .share-options {
        grid-template-columns: 1fr;
    }

    .ad-banner {
        padding: 10px;
    }

    .ad-placeholder[data-ad-size="728x90"] {
        min-height: 70px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.2rem;
    }
    
    .rotating-globe {
        font-size: 2rem;
    }
    
    .search-box input {
        font-size: 1rem;
    }
    
    .file-icon {
        font-size: 1.8rem;
    }
    
    .file-info h3 {
        font-size: 1rem;
    }
    
    .file-info p {
        font-size: 0.8rem;
    }
    
    .action-btn, .share-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .pagination-btn {
        width: 40px;
        height: 40px;
    }
    
    .page-indicator {
        font-size: 0.9rem;
    }

    .privacy-filter, .sort-filter {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        min-width: 140px;
        padding-right: 2rem;
    }

    .share-option {
        padding: 1.2rem;
    }
    
    .modal-content {
        padding: 1.2rem;
    }
    
    .upload-option, .crypto-option {
        padding: 1.5rem 1rem;
    }
}