:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.6);
    --primary: #8a2be2;
    --primary-glow: rgba(138, 43, 226, 0.5);
    --secondary: #00d2ff;
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Gradients */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.language-toggle {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 4px;
    gap: 4px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 0 60px;
}

.badge {
    display: inline-block;
    background: rgba(0, 210, 255, 0.1);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 210, 255, 0.2);
    margin-bottom: 24px;
}

.badge i {
    margin-right: 6px;
}

.gradient-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.last-updated strong {
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.card-content {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.card-content strong {
    color: var(--text-main);
}

/* Skeletons */
.skeleton-card {
    height: 250px;
    background: linear-gradient(90deg, var(--glass-bg) 0%, rgba(255, 255, 255, 0.06) 50%, var(--glass-bg) 100%);
    background-size: 200% 100%;
    border-radius: 24px;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* YouTube Section */
.youtube-section {
    margin-bottom: 80px;
}

.youtube-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(20, 20, 30, 0.4) 100%);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 32px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.youtube-info {
    flex: 1;
    min-width: 300px;
}

.youtube-icon {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.youtube-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin-bottom: 12px;
    color: white;
}

.youtube-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.yt-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff0000;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.yt-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    background: #e60000;
}

.youtube-video-wrapper {
    flex: 1;
    min-width: 300px;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.youtube-iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Newsletter Section */
.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.glass-panel h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.glass-panel p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.email-input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.email-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.1);
}

.submit-btn {
    padding: 16px 32px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary), #b366ff);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.form-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 16px;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #b366ff;
}

/* Responsive */
@media (max-width: 768px) {
    .subscribe-form {
        flex-direction: column;
    }

    .glass-panel {
        padding: 40px 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}