:root {
    --bg-color: #0a0b10;
    --surface-color: #161b22;
    --primary-accent: #00f2ff;
    --secondary-accent: #7000ff;
    --text-main: #f0f6fc;
    --text-muted: #8b949e;
    --border-color: #30363d;
    --header-height: 70px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Header & Nav */
header {
    height: var(--header-height);
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary-accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary-accent);
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    padding: 80px 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 242, 255, 0.05) 0%, transparent 40%);
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

/* Section Styling */
section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::before {
    content: '';
    width: 40px;
    height: 4px;
    background: var(--primary-accent);
    display: block;
}

/* Grid Layouts */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-accent);
}

.card-img {
    height: 180px;
    background: #222;
    position: relative;
}

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

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-accent);
    color: #000;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Table Section */
.comparison-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

tr:last-child td {
    border-bottom: none;
}

.score {
    font-weight: 700;
    color: var(--primary-accent);
}

/* Tips & News Section */
.tips-news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tip-item {
    padding: 20px;
    background: rgba(0, 242, 255, 0.03);
    border-left: 4px solid var(--primary-accent);
    border-radius: 0 8px 8px 0;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-card-small {
    display: flex;
    gap: 15px;
}

.news-card-small img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

/* Footer */
footer {
    padding: 60px 0;
    background: #050608;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-column h4 {
    color: var(--text-main);
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* Page Content (Privacy/Terms) */
.page-content {
    margin-top: var(--header-height);
    padding: 80px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.page-content h2 {
    margin: 30px 0 15px;
    color: var(--primary-accent);
}

.page-content p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    .tips-news-grid {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
}
