/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #121212;
    background-image: linear-gradient(to bottom, #121212, #1a1a1a);
}

/* Highlights para diferentes canales */
.highlight {
    color: #00a8ff;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.web-highlight {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.fanfic-highlight {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.light-highlight {
    color: #ffd93d;
    text-shadow: 0 0 10px rgba(255, 217, 61, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: #0d0d0d;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #2a2a2a;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #00a8ff;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00a8ff;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #00a8ff;
    color: white;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
}

.btn-primary:hover {
    background: #0095e0;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #e0e0e0;
    border: 2px solid #00a8ff;
}

.btn-secondary:hover {
    background: #00a8ff;
    color: white;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
}

/* Creator Page */
.creator-page {
    margin-top: 70px;
}

/* Creator Header */
.creator-header {
    position: relative;
    background: #0d0d0d;
    border-bottom: 1px solid #2a2a2a;
}

.cover-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

.creator-info-header {
    background: #0d0d0d;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.profile-section {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-top: -60px;
    flex-shrink: 0;
}

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

.creator-details {
    flex: 1;
}

.creator-details h1 {
    font-size: 2.5rem;
    color: #00a8ff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.creator-tagline {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.creator-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.creator-stats span {
    color: #666;
    font-size: 0.9rem;
}

.creator-stats i {
    margin-right: 8px;
    color: #ff424d;
}

.creator-actions {
    display: flex;
    gap: 15px;
}

.btn-follow {
    background: #4a9eff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-follow:hover {
    background: #3a8eef;
    transform: translateY(-2px);
}

.btn-share {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #ddd;
    padding: 12px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-share:hover {
    background: #e9ecef;
    border-color: #ff424d;
    color: #ff424d;
}

/* Main Content */
.creator-content {
    background: #0a0a0a;
    min-height: 100vh;
    padding: 40px 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.main-content {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 1px solid #333;
}

.content-section {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 1px solid #2a2a2a;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    color: #00a8ff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2a;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 16px;
    border: 2px solid #444;
    background: #2a2a2a;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #ffffff;
}

.tab-btn.active,
.tab-btn:hover {
    background: #4a9eff;
    color: white;
    border-color: #4a9eff;
}

/* Posts */
.posts-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-card {
    background: #242424;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    border: 1px solid #2a2a2a;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author h4 {
    color: #333;
    margin-bottom: 2px;
}

.post-author span {
    color: #666;
    font-size: 0.9rem;
}

.post-visibility {
    background: #e9ecef;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    color: #333;
    margin-bottom: 10px;
}

.post-content p {
    color: #666;
    margin-bottom: 15px;
}

.post-image {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-actions {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-top: 1px solid #eee;
}

.post-action {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.post-action:hover {
    color: #ff424d;
}

/* Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.collection-card {
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    background: #242424;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.2);
    border-color: #00a8ff;
}

.collection-image {
    height: 150px;
    overflow: hidden;
}

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

.collection-info {
    padding: 15px;
}

.collection-info h3 {
    color: #00a8ff;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.2);
}

.collection-info p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.collection-count {
    background: #00a8ff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

/* Chat Section */
.chat-section {
    text-align: center;
    padding: 40px 20px;
}

.chat-info i {
    font-size: 3rem;
    color: #00a8ff;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 168, 255, 0.5);
}

.chat-info h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.chat-info p {
    color: #a0a0a0;
    margin-bottom: 20px;
}

.btn-discord {
    background: #5865f2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

/* About Section */
.about-content p {
    color: #a0a0a0;
    margin-bottom: 15px;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
}

.about-content li {
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.about-content li::before {
    content: '•';
    color: #ff424d;
    position: absolute;
    left: 0;
}

/* Recommendations */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.recommendation-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ff424d;
}

.recommendation-card h4 {
    color: #333;
    margin-bottom: 8px;
}

.recommendation-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.recommendation-type {
    background: #ff424d;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    height: fit-content;
    position: sticky;
    top: 120px;
    border: 1px solid #333;
}

/* Membership Tiers */
.membership-tiers {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 1px solid #444;
}

.membership-tiers h3 {
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.tier-card {
    background: #242424;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2a2a2a;
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.2);
    border-color: #00a8ff;
}

.tier-card.featured {
    border: 2px solid #00a8ff;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
}

.tier-header {
    text-align: center;
    margin-bottom: 15px;
}

.tier-header h4 {
    color: #ffffff;
    margin-bottom: 8px;
}

.tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #00a8ff;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.period {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.tier-benefits ul {
    list-style: none;
    margin-bottom: 20px;
}

.tier-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.tier-benefits .fa-check {
    color: #28a745;
}

.tier-benefits .fa-times {
    color: #dc3545;
}

.btn-tier {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #1a1a1a;
    color: #e0e0e0;
    border: 2px solid #2a2a2a;
}

.btn-tier:hover {
    background: #00a8ff;
    color: white;
    border-color: #00a8ff;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
}

.btn-tier.featured {
    background: #00a8ff;
    color: white;
    border-color: #00a8ff;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
}

.btn-tier.featured:hover {
    background: #e63946;
}

/* Creator Goals */
.creator-goals {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.creator-goals h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.goal-item {
    margin-bottom: 20px;
}

.goal-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.goal-title {
    color: #333;
    font-weight: 600;
}

.goal-amount {
    color: #ff424d;
    font-weight: bold;
}

.progress-bar {
    background: #eee;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    background: linear-gradient(90deg, #ff424d, #ff6b6b);
    height: 100%;
    transition: width 0.3s ease;
}

.progress-text {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .creator-details h1 {
        font-size: 2rem;
    }
    
    .creator-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .collections-grid,
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        justify-content: center;
    }
}

/* Estilos para la página principal PatreumReplica */
.main-container {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.hero-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin-bottom: 60px;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00a8ff;
    font-size: 1.1rem;
}

.feature-item i {
    font-size: 1.5rem;
}

/* Channels Section */
.channels-section {
    margin-bottom: 80px;
}

.channels-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.channel-card {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.channel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #00a8ff;
}

.channel-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #333;
}

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

.channel-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.channel-content p {
    color: #cccccc;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.channel-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #999;
}

.channel-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.channel-btn {
    background: linear-gradient(45deg, #00a8ff, #0078d4);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.channel-btn:hover {
    background: linear-gradient(45deg, #0078d4, #005a9e);
    transform: scale(1.05);
}

/* Features Section */
.features-section {
    margin-bottom: 80px;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: #00a8ff;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Modal de Autenticación */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 2px solid #333;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #fff;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #00a8ff;
    font-size: 2rem;
}

.modal-content p {
    text-align: center;
    margin-bottom: 30px;
    color: #cccccc;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.auth-info {
    text-align: center;
    padding: 20px;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 168, 255, 0.3);
}

.auth-info p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #cccccc;
}

.auth-info i {
    color: #00a8ff;
    margin-right: 8px;
}

/* Top Bar actualizada */
.top-bar {
    background: #0d0d0d;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #2a2a2a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 30px;
        width: 95%;
    }
}
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .membership-tiers,
    .creator-goals {
        padding: 20px;
    }
}