* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background particles effect */
#particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 159, 0, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(142, 68, 173, 0.06) 0%, transparent 50%);
    animation: particlesFloat 20s ease-in-out infinite;
}

@keyframes particlesFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* Header */
.header {
    padding: 2rem 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    background: linear-gradient(135deg, #fff 0%, #ff9f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent {
    color: #ff9f00;
}

.subtitle {
    font-size: 0.9rem;
    color: #888;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sponsor-section {
    text-align: right;
}

.sponsor-text {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.sponsor-logo strong {
    font-size: 1.5rem;
    color: #ff9f00;
    display: block;
    font-weight: 700;
}

.sponsor-desc {
    font-size: 0.7rem;
    color: #888;
    display: block;
    max-width: 200px;
}

.sponsor-url {
    font-size: 0.8rem;
    color: #ff9f00;
    display: block;
    margin-top: 0.25rem;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #7877c6 50%, #ff9f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff9f00;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #999;
    max-width: 500px;
    margin: 0 auto;
}

/* Featured Section */
.featured-section {
    padding: 4rem 0;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.book-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7877c6, #ff9f00, #8e44ad);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 159, 0, 0.1);
    border-color: rgba(255, 159, 0, 0.3);
}

.book-card:hover::before {
    opacity: 1;
}

.book-cover {
    position: relative;
    width: 120px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ff9f00;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.book-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff9f00;
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.book-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.3;
}

.book-author {
    color: #ff9f00;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.book-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.book-category, .book-pages {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #ccc;
}

.book-description {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

/* Complete Library Section */
.complete-library-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 30px;
    margin: 2rem 0;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.library-book {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.library-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7877c6, #ff9f00);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.library-book:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 159, 0, 0.08);
    border-color: rgba(255, 159, 0, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.library-book:hover::before {
    opacity: 1;
}

.book-cover-text {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1), rgba(255, 159, 0, 0.1));
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.book-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.book-title-short {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.library-book .book-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #fff;
    line-height: 1.3;
}

.library-book .book-author {
    color: #ff9f00;
    font-weight: 500;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.library-book .book-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.library-book .book-category,
.library-book .book-pages {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #bbb;
}

.library-book .book-description {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Guides Section */
.guides-section {
    padding: 4rem 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.guide-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.guide-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(120, 119, 198, 0.3);
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7877c6, #ff9f00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: #fff;
}

.guide-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.guide-description {
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.guide-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.guide-level, .guide-time {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Membership Section */
.membership-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    margin: 2rem 0;
    text-align: center;
}

.membership-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.membership-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.membership-description {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 2rem;
}

.membership-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #ccc;
}

.feature-item i {
    color: #ff9f00;
    font-size: 1.1rem;
}

.membership-btn {
    background: linear-gradient(135deg, #7877c6, #ff9f00);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.membership-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 159, 0, 0.3);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff9f00;
}

.sponsor-link {
    color: #ff9f00 !important;
    font-weight: 500;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7877c6, #ff9f00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: #fff;
}

.modal-body p {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-benefits {
    text-align: left;
    margin-bottom: 2rem;
}

.modal-benefits h4 {
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-benefits ul {
    list-style: none;
    padding: 0;
}

.modal-benefits li {
    color: #aaa;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.modal-benefits li::before {
    content: '✓';
    color: #ff9f00;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #7877c6, #ff9f00);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 159, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 0 1rem;
    }
}