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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Hero */
.hero-section {
    min-height: 50vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, 
        #000000 0%, 
        #0a0a0a 50%,
        #000000 100%
    );
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    margin-bottom: 0px;
}

.brand {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #10b981;
    text-decoration: none;
    transition: opacity 0.2s;
}

.brand:hover {
    opacity: 0.8;
}

.cta-button {
    background: transparent;
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-radius: 6px;
}

.cta-button:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    transform: translateY(-1px);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    height: 100px;
    margin: auto;
    margin-top: 30px;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.subtitle {
    background: linear-gradient(135deg, #c0c0c0 0%, #10b981 50%, #e8e8e8 100%);
    -webkit-background-clip: text;
    margin-top: 15px;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 12px 30px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    display: inline-block;
    position: relative;
    background-color: rgba(16, 185, 129, 0.03);
}

.subtitle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.3), rgba(16, 185, 129, 0.3), rgba(232, 232, 232, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.subtitle::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    filter: blur(8px);
    z-index: -1;
    opacity: 0.6;
}

.main-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-top: 0px;
    margin-bottom: 1px;
}

.quote {
    font-size: 18px;
    color: #888;
    font-style: italic;
    font-weight: 400;
    margin-top: 1px;
    margin-bottom: 20px;
}

/* Resources */
.resources-section {
    padding: 0px 20px 60px 20px;
    border-top: 1px solid rgba(26, 26, 26, 0.5);
    background: #000000;
}

.resources-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 30px;
}

.resources-text {
    background: linear-gradient(135deg, #c0c0c0 0%, #10b981 50%, #e8e8e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 50px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    position: relative;
    background-color: rgba(16, 185, 129, 0.03);
}

.resources-text::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.3), rgba(16, 185, 129, 0.3), rgba(232, 232, 232, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.resources-text::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    filter: blur(8px);
    z-index: -1;
    opacity: 0.6;
}

.controls {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(26, 26, 26, 0.6);
    color: #888;
    border: 1px solid rgba(34, 34, 34, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border-radius: 4px;
}

.filter-btn:hover {
    border-color: #10b981;
    color: #10b981;
}

.filter-btn.active {
    background: #10b981;
    color: #000;
    border-color: #10b981;
}

.search-input {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(34, 34, 34, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    min-width: 280px;
    transition: all 0.2s;
    border-radius: 4px;
}

.search-input::placeholder {
    color: #555;
}

.search-input:focus {
    outline: none;
    border-color: #10b981;
    background: rgba(15, 15, 15, 0.8);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(34, 34, 34, 0.8);
    backdrop-filter: blur(10px);
    padding: 24px;
    transition: all 0.2s;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.card:hover {
    border-color: #10b981;
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    align-items: center;
}

.badge {
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.badge.beginner { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.badge.intermediate { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.badge.advanced { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.date {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* VIP Indicator */
.vip-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 50%, #a0a0a0 100%);
    box-shadow: 
        0 0 8px rgba(192, 192, 192, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    cursor: help;
    animation: vipGlow 2s ease-in-out infinite;
}

.vip-indicator::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

@keyframes vipGlow {
    0%, 100% {
        box-shadow: 
            0 0 8px rgba(192, 192, 192, 0.5),
            inset 0 1px 2px rgba(255, 255, 255, 0.5),
            inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 
            0 0 16px rgba(192, 192, 192, 0.8),
            inset 0 1px 2px rgba(255, 255, 255, 0.7),
            inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    }
}

.vip-indicator:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

.card-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
}

.card-excerpt {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
    line-height: 1.6;
}

.card-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    display: inline-block;
    pointer-events: none;
}

.card:hover .card-link {
    color: #059669;
}

.card-link.signup-link {
    color: #ef4444;
}

.card:hover .card-link.signup-link {
    color: #dc2626;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding: 0;
}

.pag-btn {
    background: rgba(26, 26, 26, 0.6);
    color: #fff;
    border: 1px solid rgba(51, 51, 51, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 44px;
    border-radius: 4px;
}

.pag-btn:hover:not(:disabled) {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.pag-btn.active {
    background: #10b981;
    color: #000;
    border-color: #10b981;
}

.pag-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Auth Wrapper */
.auth-wrapper {
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 20px 20px;
    background: #000000;
}

.auth-section {
    width: 100%;
}

.auth-container {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 50px 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.auth-content {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.auth-description {
    font-size: 15px;
    color: #b8b8b8;
    line-height: 1.6;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(34, 34, 34, 0.8);
    border-radius: 6px;
    padding: 4px;
    gap: 4px;
    margin: 0 auto 32px auto;
    width: fit-content;
}

.auth-tab {
    background: transparent;
    color: #888;
    border: none;
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.auth-tab:hover {
    color: #10b981;
}

.auth-tab.active {
    background: #10b981;
    color: #000;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-subscribe {
    display: flex;
    gap: 12px;
    max-width: 550px;
    margin: 0 auto;
}

.auth-input-email {
    flex: 1;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
    border-radius: 4px;
}

.auth-input-email::placeholder {
    color: #666;
}

.auth-input-email:focus {
    outline: none;
    border-color: #10b981;
    background: rgba(10, 10, 10, 0.9);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.auth-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #000;
    border: none;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.auth-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(26, 26, 26, 0.5);
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand {
    font-size: 14px;
    font-weight: 800;
    color: #10b981;
    letter-spacing: 1.5px;
}

.footer-email {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-email:hover {
    color: #10b981;
}

.footer-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-nav a {
    color: #555;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    padding: 8px 16px;
    border-radius: 4px;
}

.footer-nav a:hover {
    color: #10b981;
}

/* YouTube Link Styling */
.footer-nav a[href*="youtube"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    letter-spacing: 1px;
    transition: all 0.3s;
}

.footer-nav a[href*="youtube"]:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

/* Messages & Alerts */
.messages-container {
    position: fixed;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    max-width: 500px;
    width: 90%;
}

.alert {
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid #10b981;
    padding: 24px 28px;
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: popIn 0.3s ease-out;
    transition: opacity 0.3s ease;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.alert-success {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.alert-success::before {
    content: '✓';
    display: inline-block;
    margin-right: 12px;
    font-size: 24px;
    color: #10b981;
}

.alert-error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

.alert-error::before {
    content: '✕';
    display: inline-block;
    margin-right: 12px;
    font-size: 24px;
    color: #ef4444;
}

.alert-warning {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
}

.alert-warning::before {
    content: '⚠';
    display: inline-block;
    margin-right: 12px;
    font-size: 24px;
    color: #f59e0b;
}

.alert-info {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.15);
}

.alert-info::before {
    content: 'ℹ';
    display: inline-block;
    margin-right: 12px;
    font-size: 24px;
    color: #3b82f6;
}

.close-alert {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    padding: 0;
    margin-left: 20px;
    line-height: 1;
    opacity: 0.7;
    transition: all 0.2s;
}

.close-alert:hover {
    opacity: 1;
    color: #fff;
    transform: scale(1.1);
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.logout-btn {
    background: transparent !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    padding: 10px 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-radius: 6px;
}

.logout-btn:hover {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: #10b981 !important;
    transform: translateY(-1px);
}

/* Newsletter Toggle */
.newsletter-form {
    width: 100%;
    margin-top: 20px;
}

.newsletter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 18px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 4px;
    transition: all 0.3s;
}

.newsletter-toggle:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.newsletter-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #10b981;
}

.toggle-label {
    font-size: 15px;
    color: #fff;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 12px;
        padding: 20px 10px;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .quote {
        margin-bottom: 30px;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .quote {
        font-size: 16px;
    }
    
    .resources-section {
        padding: 0 10px 60px 10px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .controls {
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        padding: 40px 20px;
    }
    
    .auth-tabs {
        width: 100%;
    }
    
    .auth-tab {
        flex: 1;
    }
    
    .form-subscribe {
        flex-direction: column;
        max-width: 100%;
    }
    
    .auth-btn {
        width: 100%;
    }
    
    .footer {
        padding: 40px 10px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-nav a[href*="youtube"] {
        width: 100%;
        text-align: center;
    }
    
    .messages-container {
        width: 95%;
    }
    
    .alert {
        font-size: 14px;
        padding: 20px 24px;
    }
    
    .user-menu {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .user-name {
        font-size: 13px;
    }
    
    .logout-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .alert {
        font-size: 13px;
        padding: 18px 20px;
    }
    
    .close-alert {
        font-size: 24px;
    }
}