/* Main Styles for Paradise Network */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: text;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* Disable right-click and text selection */
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Header Styles */
header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid;
}

.logo-text {
    font-family: 'Arial Rounded MT Bold', sans-serif;
    font-size: 1.5rem;
    background: linear-gradient(90deg, #1dd1a1, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.logo-text .butterfly {
    display: inline-block;
    margin-left: 5px;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-btn {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: transform 0.2s;
}

.theme-btn:hover {
    transform: scale(1.05);
}

/* Mobile Navigation */
.mobile-nav-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 20px;
    margin-left: 30px;
}

.nav-link {
    background: none;
    border: none;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link.active {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* Floating Add Button */
.add-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1dd1a1, #6a11cb);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.4);
    z-index: 90;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.6);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

.modal {
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid;
    padding-bottom: 15px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1dd1a1;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 10px 0;
}

.modal-body h3 {
    margin-bottom: 10px;
    color: #1dd1a1;
}

.modal-body ul {
    margin: 10px 0 20px 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #1dd1a1;
}

.author-input {
    min-height: auto;
    padding: 12px;
}

.form-hint {
    font-size: 0.85rem;
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #1dd1a1, #6a11cb);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Main Content */
main {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Quotes Section */
.page-title {
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #1dd1a1, #6a11cb);
    border-radius: 2px;
}

.quotes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.quote-card {
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid;
    position: relative;
    overflow: hidden;
}

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

.quote-text {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
    white-space: pre-line;
}

.quote-text:before {
    content: "❝";
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 2rem;
    color: #1dd1a1;
    opacity: 0.7;
}

.quote-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid;
}

.quote-author {
    font-weight: 600;
    color: #1dd1a1;
}

.quote-date {
    font-size: 0.9rem;
}

/* Like Button */
.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 20px;
}

.like-btn:hover {
    color: #ff4757;
    background-color: rgba(255, 71, 87, 0.1);
}

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

.like-btn.liked .heart-icon {
    animation: heartBeat 0.5s;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.like-count {
    font-weight: 600;
}

.delete-btn {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    margin-left: 10px;
}

.delete-btn:hover {
    background: rgba(255, 71, 87, 0.2);
}

/* Paradise Zone Styles */
.paradise-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.8;
}

.paradise-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 4px solid #1dd1a1;
    box-shadow: 0 0 25px rgba(26, 188, 156, 0.5);
}

.tagline {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 20px 0;
    background: linear-gradient(90deg, #1dd1a1, #6a11cb, #ff9f43);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.channels-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.channel-card {
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
    border: 1px solid;
    text-align: center;
}

.channel-card:hover {
    transform: translateY(-8px);
}

.channel-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.channel-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1dd1a1;
}

.channel-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
    min-height: 60px;
}

.join-btn {
    display: inline-block;
    background: linear-gradient(90deg, #1dd1a1, #6a11cb);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 188, 156, 0.3);
}

.network-section {
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid;
}

.network-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #1dd1a1;
    text-align: center;
}

.category {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ff9f43;
    display: flex;
    align-items: center;
    gap: 10px;
}

.channel-list {
    list-style: none;
    padding-left: 20px;
}

.channel-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.channel-link {
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.channel-link:hover {
    color: #1dd1a1;
}

.channel-badge {
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.h-badge {
    background-color: #ff4757;
}

.n-badge {
    background-color: #6a11cb;
}

.admin-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(26, 188, 156, 0.1);
    border-radius: 10px;
}

.admin-info p {
    margin-bottom: 10px;
}

.paradise-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 1.3rem;
    padding: 20px;
    border-top: 1px dashed;
}

.paradise-tagline {
    font-weight: bold;
    color: #1dd1a1;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    z-index: 1001;
    padding: 80px 30px 30px;
    transition: right 0.3s;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    border-left: 1px solid;
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-link {
    display: block;
    background: none;
    border: none;
    font-size: 1.3rem;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background-color 0.3s;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
    background-color: rgba(26, 188, 156, 0.2);
    color: #1dd1a1;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Footer */
footer {
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid;
    margin-top: 50px;
}

.copyright {
    font-size: 0.95rem;
    margin-top: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: #1dd1a1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-nav-btn {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .quotes-container {
        grid-template-columns: 1fr;
    }
    
    .channels-container {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 1.7rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .paradise-logo-large {
        width: 100px;
        height: 100px;
    }
    
    .add-btn {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
    
    .modal {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }
    
    main {
        padding: 20px 15px;
    }
    
    .quote-card {
        padding: 20px;
    }
    
    .channel-card {
        padding: 20px;
    }
    
    .network-section {
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}