/* ============================================
   Myskie.com - Homepage Styles v2
   Modern, rounded, gradient-rich design
   ============================================ */

/* ============================================
   HERO — Asymmetric left-aligned + decorations
   ============================================ */

.ms-hero {
    position: relative;
    width: 100%;
    padding: 64px 24px 48px;
    background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 40%, #f5f3ff 100%);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Decorative circles */
.ms-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.ms-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: 20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.ms-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
}

.ms-hero-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    border: none;
    padding: 6px 18px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ms-hero h1 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #1e1b4b;
    line-height: 1.2;
    margin-bottom: 16px;
}

.ms-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ms-hero p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.ms-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.ms-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ms-hero-btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.ms-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.ms-hero-btn-ghost {
    background: #ffffff;
    color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

.ms-hero-btn-ghost:hover {
    background: #ede9fe;
    transform: translateY(-2px);
}

/* ============================================
   STATS — Embedded in hero bottom
   ============================================ */

.ms-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 24px 24px;
    background: #ffffff;
    border-radius: 20px;
    max-width: 680px;
    margin: -28px auto 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

.ms-stat {
    text-align: center;
}

.ms-stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ms-stat-label {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    font-weight: 700;
}

/* ============================================
   CATEGORY GRID — Colorful emoji icons
   ============================================ */

.ms-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 36px 0 20px;
}

.ms-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 10px;
    background: #ffffff;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05);
    cursor: pointer;
}

.ms-cat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.ms-cat-emoji {
    font-size: 1.8rem;
    line-height: 1;
}

.ms-cat-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e1b4b;
}

.ms-cat-count {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
}

/* Category color accents */
.ms-cat-item:nth-child(1) { border-top: 3px solid #6366f1; }
.ms-cat-item:nth-child(2) { border-top: 3px solid #ec4899; }
.ms-cat-item:nth-child(3) { border-top: 3px solid #8b5cf6; }
.ms-cat-item:nth-child(4) { border-top: 3px solid #f59e0b; }
.ms-cat-item:nth-child(5) { border-top: 3px solid #10b981; }
.ms-cat-item:nth-child(6) { border-top: 3px solid #3b82f6; }
.ms-cat-item:nth-child(7) { border-top: 3px solid #ef4444; }
.ms-cat-item:nth-child(8) { border-top: 3px solid #06b6d4; }
.ms-cat-item:nth-child(9) { border-top: 3px solid #f97316; }

/* Legacy pills support (hide) */
.ms-cat-pills { display: none; }

/* ============================================
   GAME OF THE DAY — Full-width banner
   ============================================ */

.ms-gotd {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.ms-gotd-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ms-gotd-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ms-gotd::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 27, 75, 0.9) 0%, rgba(79, 70, 229, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.ms-gotd-content {
    position: relative;
    z-index: 2;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ms-gotd-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.ms-gotd-content h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.ms-gotd-content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 600px;
}

.ms-gotd-meta {
    display: flex;
    gap: 14px;
    align-items: center;
}

.ms-gotd-meta .ms-play-btn {
    padding: 12px 28px;
    font-size: 0.88rem;
    border-radius: 12px;
}

.ms-gotd-meta .ms-gotd-info {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* ============================================
   HORIZONTAL SCROLL ROW
   ============================================ */

.ms-scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 16px;
}

.ms-scroll-row::-webkit-scrollbar { display: none; }

.ms-scroll-row .ms-card {
    flex-shrink: 0;
    width: 185px;
}

/* ============================================
   FEATURES — Independent colored-top cards
   ============================================ */

.ms-features-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 36px 0;
}

.ms-feat {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.06);
    transition: all 0.25s ease;
}

.ms-feat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.ms-feat:nth-child(1) { border-top: 3px solid #6366f1; }
.ms-feat:nth-child(2) { border-top: 3px solid #f59e0b; }
.ms-feat:nth-child(3) { border-top: 3px solid #10b981; }
.ms-feat:nth-child(4) { border-top: 3px solid #ec4899; }

.ms-feat-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.ms-feat h3 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 8px;
}

.ms-feat p {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* ============================================
   TWO-COLUMN LAYOUT (legacy support)
   ============================================ */

.ms-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 16px;
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */

@media (max-width: 1024px) {
    .ms-hero h1 { font-size: 1.9rem; }

    .ms-cat-grid { grid-template-columns: repeat(3, 1fr); }

    .ms-features-strip { grid-template-columns: repeat(2, 1fr); }

    .ms-stats { gap: 32px; }

    .ms-two-col { grid-template-columns: 1fr; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */

@media (max-width: 768px) {
    .ms-hero { padding: 40px 16px 36px; }
    .ms-hero h1 { font-size: 1.5rem; }
    .ms-hero p { font-size: 0.92rem; }
    .ms-hero-actions { flex-direction: column; align-items: center; gap: 10px; }
    .ms-hero-btn { width: 100%; justify-content: center; }

    .ms-stats {
        flex-wrap: wrap;
        gap: 16px;
        margin-top: -20px;
        padding: 18px;
    }
    .ms-stat { flex: 0 0 40%; text-align: center; }

    .ms-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .ms-cat-item { padding: 14px 8px; }
    .ms-cat-emoji { font-size: 1.5rem; }

    .ms-gotd { min-height: 240px; }
    .ms-gotd-content { padding: 20px; }
    .ms-gotd-content h2 { font-size: 1.2rem; }
    .ms-gotd-content p { font-size: 0.82rem; }

    .ms-features-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ms-feat { padding: 20px 14px; }

    .ms-scroll-row .ms-card { width: 155px; }
}

@media (max-width: 480px) {
    .ms-hero h1 { font-size: 1.3rem; }

    .ms-cat-grid { grid-template-columns: repeat(3, 1fr); }

    .ms-stats { gap: 12px; }
    .ms-stat-num { font-size: 1.3rem; }

    .ms-gotd-content h2 { font-size: 1.1rem; }

    .ms-features-strip { grid-template-columns: 1fr; }
}

/* ============================================
   WHY MYSKIE — Content section
   ============================================ */

.ms-why-myskie {
    background: #ffffff;
    border-radius: 18px;
    padding: 36px;
    margin: 36px 0;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.06);
}

.ms-why-myskie p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 16px;
}

/* ============================================
   EDITOR'S PICKS — Staff favorites
   ============================================ */

.ms-editors-picks { margin-bottom: 36px; }

.ms-ep-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ms-ep-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.05);
    border-top: 3px solid #8b5cf6;
    transition: transform 0.2s ease;
}

.ms-ep-card:nth-child(2) { border-top-color: #f59e0b; }
.ms-ep-card:nth-child(3) { border-top-color: #10b981; }
.ms-ep-card:nth-child(4) { border-top-color: #ec4899; }

.ms-ep-card:hover { transform: translateY(-3px); }

.ms-ep-card h3 {
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.ms-ep-card h3 a { color: #1e1b4b; }
.ms-ep-card h3 a:hover { color: #6366f1; }

.ms-ep-card p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 12px;
}

.ms-ep-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #ede9fe;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #6366f1;
}

/* ============================================
   HOME BLOG — Latest blog posts
   ============================================ */

.ms-home-blog { margin-bottom: 36px; }

.ms-home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ms-home-blog-card {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.ms-home-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.1);
}

.ms-hbc-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.ms-home-blog-card h3 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.ms-home-blog-card p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.6;
}

/* ============================================
   GAMING TIPS — Quick tips section
   ============================================ */

.ms-gaming-tips { margin-bottom: 36px; }

.ms-tips-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ms-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05);
}

.ms-tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ms-tip-item h3 {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 4px;
}

.ms-tip-item p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 1024px) {
    .ms-ep-grid { grid-template-columns: repeat(2, 1fr); }
    .ms-home-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ms-why-myskie { padding: 24px 18px; }
    .ms-ep-grid { grid-template-columns: 1fr; }
    .ms-home-blog-grid { grid-template-columns: 1fr; }
    .ms-tip-item { padding: 16px 18px; gap: 12px; }
}
