/* ==========================================================================
   Hyper Online - Blog Homepage Specific Styles
   For index.html page only
   ========================================================================== */

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

.hero-section {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.hero-section.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.hero-left {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.hero-right {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    transition-delay: 0.2s;
}

.hero-left.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-right.animate {
    opacity: 1;
    transform: translateY(0);
}

.main-title {
    font-family: "Inter Tight", sans-serif;
    font-feature-settings: normal;
    font-size: 100px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 0;
    color: white !important;
    display: block !important;
    visibility: visible !important;
}

.subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    display: block !important;
    font-family: Inter, "Inter Placeholder", sans-serif;
    font-feature-settings: normal;
    font-size: 26px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 400;
    letter-spacing: -0.5px;
    visibility: visible !important;
    opacity: 0.7;
}

/* ==========================================================================
   Cards Section Styles
   ========================================================================== */

.cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 120px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.card.animate {
    opacity: 1;
    transform: translateY(0);
}

.card:nth-child(2).animate {
    transition-delay: 0.2s;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.card.animate:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.card-image {
    width: 100%;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    background-size: cover;
    background-position: center;
}

.news-card .card-image {
    background-image: url('../images/news.png');
}

.guides-card .card-image {
    background-image: url('../images/guides.png');
}

.card-avatar {
    display: none;
}

.card-content {
    padding: 32px;
}

.card-title {
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: block;
    font-family: Inter, sans-serif;
    font-feature-settings: normal;
    font-size: 20px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.card-description {
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: block;
    font-family: Inter, sans-serif;
    font-feature-settings: normal;
    font-size: 18px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 400;
    letter-spacing: -0.3px;
    opacity: 0.7;
}

/* ==========================================================================
   Section Layout Styles
   ========================================================================== */

.section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 120px;
}

.section-left {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-right {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-left.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-right.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.section-title {
    color: rgb(255, 255, 255);
    display: block;
    font-family: Inter, sans-serif;
    font-feature-settings: normal;
    font-size: 40px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 600;
    letter-spacing: -1px;
}

/* ==========================================================================
   Downloads Section Styles
   ========================================================================== */

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.download-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.download-item:last-child {
    border-bottom: none;
}

.download-name {
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: block;
    font-family: Inter, sans-serif;
    font-feature-settings: normal;
    font-size: 24px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.download-link {
    color: #fea501 !important;
    cursor: pointer;
    display: inline;
    font-family: Inter, "Inter Placeholder", sans-serif;
    font-feature-settings: normal;
    font-size: 20px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 400;
    letter-spacing: normal;
    text-decoration: none;
    transition: color 0.3s ease;
}

.download-link:hover {
    color: rgba(255, 255, 255, 0.5) !important;
}

.coming-soon {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ==========================================================================
   About Section Styles
   ========================================================================== */

.about-content {
    color: rgba(255, 255, 255, 0.75);
    display: block;
    font-family: Inter, "Inter Placeholder", sans-serif;
    font-feature-settings: normal;
    font-size: 20px;
    font-style: normal;
    font-variation-settings: normal;
    font-weight: 400;
    letter-spacing: normal;
    margin-bottom: 24px;
    opacity: 0.7;
}

.about-content a {
    color: #fea501;
    text-decoration: none;
}

.about-content a:hover {
    color: rgba(255, 255, 255, 0.5);
}

.about-image {
    width: 100%;
    height: 300px;
    background-image: url('../images/about.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.about-image.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* ==========================================================================
   Responsive Design for Homepage
   ========================================================================== */

@media (max-width: 1024px) {
    .main-title {
        font-size: 72px;
    }

    .section-layout {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-title {
        font-size: 56px;
        height: auto;
        line-height: 1.1;
        text-align: center;
    }

    .subtitle {
        font-size: 18px;
        height: auto;
        text-align: center;
        margin: 0 auto;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 80px;
    }

    .section-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .section-title {
        font-size: 36px;
        height: auto;
        text-align: left;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 42px;
    }

    .card-title {
        font-size: 24px;
    }
}

/* ==========================================================================
   Animation Utility Classes
   ========================================================================== */

.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}