:root {
    --primary: #f97316;
    /* Orange */
    --primary-hover: #ea580c;
    --secondary: #1e293b;
    --accent: #0ea5e9;
    /* Blue accent to complement orange */
    --background: #ffffff;
    --surface: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    color: var(--secondary);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
#hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, #f5f3ff, #ffffff);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--text-muted);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: -40px;
}

.card-2 {
    bottom: 20%;
    right: -40px;
    animation-delay: -2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-card .icon {
    font-size: 1.5rem;
}

.floating-card strong {
    display: block;
    font-size: 0.875rem;
    color: var(--primary);
}

.floating-card span {
    font-size: 1rem;
    font-weight: 600;
}

/* Categories */
#categories {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.category-card:hover {
    background: white;
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.cat-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: var(--shadow);
}

.cat-img img {
    max-width: 100%;
    height: auto;
}

/* Blog Grid */
#featured {
    padding: 100px 0;
    background: var(--surface);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

.view-all {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.post-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.post-img {
    height: 240px;
    overflow: hidden;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.post-card:hover .post-img img {
    transform: scale(1.1);
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.post-meta .category {
    color: var(--primary);
}

.post-meta .date {
    color: var(--text-muted);
}

.post-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.read-more {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9375rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.read-more:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Telegram Loot Section */
.loot-banner {
    background: linear-gradient(135deg, #0088cc, #00aaff);
    padding: 4rem;
    border-radius: 32px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 136, 204, 0.2);
}

.loot-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.loot-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.loot-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.loot-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-telegram {
    background: white;
    color: #0088cc;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-telegram:hover {
    background: #f0f9ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Newsletter */
#newsletter {
    padding: 100px 0;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--secondary), #0f172a);
    padding: 5rem 2rem;
    border-radius: 40px;
    text-align: center;
    color: white;
}

.newsletter-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter-box p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 1rem;
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background: white;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
/* Mobile Menu Button Styling */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu Active State Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .card-1 {
        left: -10px;
        top: 10%;
    }

    .card-2 {
        right: -10px;
        bottom: 10%;
    }
}

@media (max-width: 768px) {
    header {
        height: 70px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    .nav-cta {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    #hero {
        padding: 120px 0 60px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-box {
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }

    .newsletter-box h2 {
        font-size: 2rem;
    }

    .loot-banner {
        padding: 2.5rem 1.5rem;
    }

    .loot-content h2 {
        font-size: 1.8rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info p {
        margin: 1.5rem auto 0;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .card-1,
    .card-2 {
        display: none;
    }
}