/* ============================================================
   MODE ACADEMY — CINEMATIC HOMEPAGE (Premium UI)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a1733;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ----------- HERO SECTION ----------- */
.ma-hero {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(31, 92, 220, 0.35) 0%, transparent 60%),
        linear-gradient(180deg, #0a1530 0%, #0a1733 50%, #07112a 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Subtle starfield */
.ma-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 15% 80%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 60% 40%, rgba(255,255,255,0.3), transparent);
    background-size: 200% 200%;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/* ============ HEADER ============ */
.ma-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 40px;
    background: rgba(10, 21, 48, 0);
    backdrop-filter: blur(0px);
    transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.ma-header.is-scrolled {
    background: rgba(7, 17, 42, 0.85);
    backdrop-filter: blur(14px);
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(78,195,255,0.10);
}

.ma-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}
.ma-logo__mark {
    width: 56px;
    height: 56px;
    border: 2.5px solid #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    position: relative;
    background: transparent;
}
.ma-logo__mark span { position: relative; z-index: 1; }
.ma-logo__mark::before,
.ma-logo__mark::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 14px;
    border: 2.5px solid #fff;
    top: -2.5px;
}
.ma-logo__mark::before { left: -2.5px; border-right: none; }
.ma-logo__mark::after { right: -2.5px; border-left: none; }
.ma-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.ma-logo__name { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.ma-logo__sub { font-size: 9px; font-weight: 500; letter-spacing: 2px; color: #b8c5e0; margin-top: 2px; }

.ma-nav { display: flex; align-items: center; gap: 38px; }
.ma-nav__link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #ffffff;
    transition: color 0.2s ease, opacity 0.2s ease;
    position: relative;
}
.ma-nav__link:hover { color: #4ec3ff; }
.ma-nav__link.is-active { color: #4ec3ff; }
.ma-nav__link.is-active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -8px;
    height: 2px;
    background: #4ec3ff;
    border-radius: 2px;
}

.ma-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(43, 184, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ma-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(43, 184, 255, 0.5), inset 0 1px 0 rgba(255,255,255,0.3); }
.ma-cta__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255,255,255,0.25); }
    50% { box-shadow: 0 0 0 6px rgba(255,255,255,0.05); }
}

/* ============ HEADER UTILITY (search, cart, auth) ============ */
.ma-header__right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ma-search {
    position: relative;
    display: flex;
    align-items: center;
}
.ma-search__input {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    padding: 10px 38px 10px 16px;
    border-radius: 8px;
    outline: none;
    width: 200px;
    transition: width 0.3s ease, background 0.2s ease, border-color 0.2s ease;
}
.ma-search__input::placeholder { color: rgba(255,255,255,0.5); }
.ma-search__input:focus {
    background: rgba(255,255,255,0.12);
    border-color: rgba(78,195,255,0.5);
    width: 240px;
}
.ma-search__btn {
    position: absolute;
    right: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    padding: 6px;
    transition: color 0.2s ease;
}
.ma-search__btn:hover { color: #4ec3ff; }

.ma-icon-btn {
    position: relative;
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ma-icon-btn:hover {
    background: rgba(78,195,255,0.12);
    border-color: rgba(78,195,255,0.4);
    transform: translateY(-1px);
}
.ma-icon-btn__badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    background: #ff4577;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 0 0 2px #0a1530;
}

.ma-auth-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.ma-auth-btn--ghost {
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.20);
}
.ma-auth-btn--ghost:hover {
    border-color: #4ec3ff;
    color: #4ec3ff;
}
.ma-auth-btn--solid {
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(43,184,255,0.30), inset 0 1px 0 rgba(255,255,255,0.2);
}
.ma-auth-btn--solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(43,184,255,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Avatar dropdown */
.ma-user {
    position: relative;
}
.ma-user__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #ffffff;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ma-user__btn:hover { background: rgba(255,255,255,0.10); border-color: rgba(78,195,255,0.4); }
.ma-user__avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: #1e2a4a;
}
.ma-user__caret {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    margin-right: 4px;
}

.ma-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 260px;
    background: #0e1d40;
    border: 1px solid rgba(78,195,255,0.15);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 200;
}
.ma-dropdown.is-open {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.ma-dropdown__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 6px;
}
.ma-dropdown__head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.ma-dropdown__head h4 { margin: 0; font-size: 14px; color: #fff; font-weight: 600; }
.ma-dropdown__head p { margin: 2px 0 0; font-size: 11px; color: #8fa1c8; text-transform: capitalize; }
.ma-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 13px;
    color: #d0dcf2;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}
.ma-dropdown__item:hover { background: rgba(78,195,255,0.10); color: #ffffff; }
.ma-dropdown__item i, .ma-dropdown__item svg {
    font-size: 14px;
    width: 16px; text-align: center;
    color: #6f87b5;
}
.ma-dropdown__item:hover i, .ma-dropdown__item:hover svg { color: #4ec3ff; }
.ma-dropdown__sep { height: 1px; background: rgba(255,255,255,0.06); margin: 6px 0; }
.ma-dropdown__item--logout { color: #ff7b9d; }
.ma-dropdown__item--logout:hover { background: rgba(255,77,119,0.10); color: #ff4577; }
.ma-dropdown__item--logout i { color: #ff7b9d; }

/* Mega menu (Dersler) */
.ma-nav__item { position: relative; }
.ma-nav__caret {
    font-size: 9px;
    margin-left: 6px;
    opacity: 0.7;
}
.ma-mega {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 320px;
    max-width: 360px;
    background: #0e1d40;
    border: 1px solid rgba(78,195,255,0.15);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 150;
    max-height: 70vh;
    overflow-y: auto;
}
.ma-nav__item:hover .ma-mega,
.ma-nav__item:focus-within .ma-mega {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.ma-mega__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 13px;
    color: #d0dcf2;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}
.ma-mega__item:hover { background: rgba(78,195,255,0.10); color: #ffffff; }
.ma-mega__item i { font-size: 14px; width: 18px; color: #6f87b5; }
.ma-mega__item:hover i { color: #4ec3ff; }
.ma-mega__item span.flex-grow { flex: 1; }

/* ============ HERO BODY ============ */
.ma-hero__body {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 90px 24px 40px;
    max-width: 980px;
    margin: 0 auto;
}
.ma-hero__title {
    font-size: clamp(40px, 6.5vw, 88px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    color: #ffffff;
    margin: 0 0 28px;
    text-shadow: 0 4px 40px rgba(43, 184, 255, 0.15);
}
.ma-hero__lede {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #b8c5e0;
    max-width: 620px;
    margin: 0 auto 38px;
}
.ma-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    border: 1.5px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    border-radius: 6px;
    transition: all 0.25s ease;
}
.ma-hero__btn:hover {
    border-color: #4ec3ff;
    background: rgba(78, 195, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(78, 195, 255, 0.25);
}
.ma-hero__btn svg { transition: transform 0.25s ease; }
.ma-hero__btn:hover svg { transform: translateX(4px); }

/* ============ CINEMATIC X-BEAM ============ */
.ma-beam {
    position: absolute;
    left: 50%;
    top: 62%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 320px;
    pointer-events: none;
    z-index: 5;
}
.ma-beam__core {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(78,195,255,0.6) 30%, #ffffff 50%, rgba(78,195,255,0.6) 70%, transparent 100%);
    filter: blur(1px);
    box-shadow: 0 0 60px rgba(78,195,255,0.8), 0 0 120px rgba(78,195,255,0.4);
}
.ma-beam__l, .ma-beam__r {
    position: absolute;
    left: 50%; top: 50%;
    width: 70%;
    height: 6px;
    background: linear-gradient(90deg, transparent 0%, rgba(43,184,255,0.7) 40%, #aae4ff 50%, rgba(43,184,255,0.7) 60%, transparent 100%);
    filter: blur(2px);
    box-shadow: 0 0 80px rgba(43,184,255,0.6);
    transform-origin: center;
}
.ma-beam__l { transform: translate(-50%, -50%) rotate(-12deg); }
.ma-beam__r { transform: translate(-50%, -50%) rotate(12deg); }

.ma-beam__glow {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(78,195,255,0.5) 0%, rgba(43,184,255,0.2) 30%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
}

.ma-beam__particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 25% 50%, rgba(170,228,255,0.9), transparent 50%),
        radial-gradient(1px 1px at 38% 48%, rgba(255,255,255,0.7), transparent 50%),
        radial-gradient(2px 2px at 65% 52%, rgba(170,228,255,0.8), transparent 50%),
        radial-gradient(1px 1px at 75% 50%, rgba(255,255,255,0.6), transparent 50%),
        radial-gradient(1px 1px at 45% 53%, rgba(170,228,255,0.5), transparent 50%);
    opacity: 0.8;
}

/* ============ FLOATING CHAT AVATAR (right) ============ */
.ma-floater {
    position: absolute;
    right: 38px;
    bottom: 200px;
    z-index: 25;
    width: 76px;
    height: 76px;
}
.ma-floater__btn {
    position: relative;
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 18px;
    overflow: hidden;
    background: #0e1d40;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 2px rgba(78,195,255,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
.ma-floater__btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 2px rgba(78,195,255,0.5);
}
.ma-floater__btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.ma-floater__bubble {
    position: absolute;
    top: -8px;
    left: -10px;
    width: 26px; height: 26px;
    border-radius: 8px;
    background: #fff;
    color: #0a1733;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ============ CANLI DESTEK BANNER ============ */
.ma-support {
    position: relative;
    z-index: 20;
    margin: 130px auto 0;
    max-width: 1100px;
    padding: 0 24px 56px;
    display: flex;
    justify-content: center;
}
.ma-support__card {
    position: relative;
    background: linear-gradient(135deg, #5cc7f5 0%, #3eb8f0 100%);
    border-radius: 24px;
    padding: 38px 52px 38px 240px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 25px 60px rgba(43, 184, 255, 0.3), 0 10px 30px rgba(0,0,0,0.2);
    overflow: visible;
}
.ma-support__char {
    position: absolute;
    left: 28px;
    bottom: 0;
    width: 220px;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.25));
}
.ma-support__title {
    color: #ffffff;
    font-size: 38px;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
    line-height: 1;
}
.ma-support__desc {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    max-width: 720px;
    margin: 0 0 24px;
    opacity: 0.97;
}
.ma-support__desc b { font-weight: 800; }
.ma-support__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 14px 28px;
    background: #0e1d40;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.ma-support__btn:hover {
    transform: translateY(-2px);
    background: #122551;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

/* ============================================================
   SECTION 2 — MODE ACADEMY NEDİR?  (dark)
   ============================================================ */
.ma-about {
    position: relative;
    background: linear-gradient(180deg, #07112a 0%, #0a1733 100%);
    padding: 120px 24px 140px;
}
.ma-about__inner { max-width: 1240px; margin: 0 auto; }
.ma-section-eyebrow {
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #6f87b5;
    margin-bottom: 18px;
    text-transform: uppercase;
}
.ma-section-title {
    text-align: center;
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}
.ma-section-lede {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
    font-size: 16px;
    line-height: 1.65;
    color: #b8c5e0;
}
.ma-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.ma-cards > :nth-child(2) { margin-top: 60px; }
.ma-card {
    position: relative;
    background: linear-gradient(160deg, rgba(20, 38, 78, 0.55) 0%, rgba(11, 24, 56, 0.55) 100%);
    border: 1px solid rgba(78, 195, 255, 0.10);
    border-radius: 22px;
    padding: 36px 36px 44px;
    min-height: 360px;
    backdrop-filter: blur(14px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ma-card:hover {
    transform: translateY(-4px);
    border-color: rgba(78, 195, 255, 0.30);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(78, 195, 255, 0.15);
}
.ma-card__icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 22px rgba(43, 184, 255, 0.4);
    margin-bottom: 36px;
}
.ma-card__title {
    font-size: 30px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 56px;
    letter-spacing: -0.3px;
}
.ma-card__desc {
    font-size: 15px;
    line-height: 1.7;
    color: #b8c5e0;
    margin: 0;
}

/* ============================================================
   SECTION 3 — EĞİTİM  (light)
   ============================================================ */
.ma-edu {
    position: relative;
    background: #ffffff;
    padding: 110px 0 80px;
    color: #0a1733;
    overflow: hidden;
}
.ma-section-pad { padding-left: 56px; padding-right: 56px; max-width: 1440px; margin: 0 auto; }
.ma-eyebrow-left {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.5px;
    color: #2bb8ff;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}
.ma-headline-dark {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 500;
    color: #0a1733;
    line-height: 1.25;
    margin: 0 0 44px;
    max-width: 920px;
    letter-spacing: -0.3px;
}
.ma-headline-light {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 44px;
    max-width: 920px;
    letter-spacing: -0.3px;
}

.ma-slider {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 24px;
    align-items: stretch;
}
.ma-slider__main, .ma-slider__peek {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #0a1733;
    aspect-ratio: 16 / 9;
}
.ma-slider__peek { aspect-ratio: 9 / 16; }
.ma-slider__main img, .ma-slider__peek img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.ma-slider__main:hover img, .ma-slider__peek:hover img { transform: scale(1.03); }

.ma-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.ma-play__circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
}
.ma-play:hover .ma-play__circle { transform: scale(1.08); background: rgba(0,0,0,0.35); }
.ma-play__circle::after {
    content: '';
    width: 0; height: 0;
    border-left: 14px solid #ffffff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 4px;
}

/* Slider control bar */
.ma-slider-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
}
.ma-arrow {
    width: 38px; height: 38px;
    border-radius: 6px;
    border: 1.5px solid #0a1733;
    background: transparent;
    color: #0a1733;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}
.ma-arrow:hover { background: #0a1733; color: #fff; }
.ma-arrow--light {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.ma-arrow--light:hover { background: #fff; color: #0a1733; }

.ma-progress {
    flex: 1;
    height: 4px;
    background: rgba(10, 23, 51, 0.10);
    border-radius: 2px;
    overflow: hidden;
}
.ma-progress--light { background: rgba(255,255,255,0.15); }
.ma-progress__fill {
    display: block;
    height: 100%;
    background: #0a1733;
    border-radius: 2px;
    width: 70%;
    transition: width 0.6s ease;
}
.ma-progress--light .ma-progress__fill { background: #ffffff; }

/* ============================================================
   SECTION 4 — ANİMASYON  (dark, image right + thumbs)
   ============================================================ */
.ma-anim {
    position: relative;
    background: linear-gradient(180deg, #0a1733 0%, #0c1a3a 100%);
    padding: 110px 0 90px;
    color: #fff;
}
.ma-anim__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr);
    gap: 60px;
    align-items: start;
}
.ma-anim__copy { padding-top: 16px; }
.ma-anim__main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #0a1733;
}
.ma-anim__main img { width: 100%; height: 100%; object-fit: cover; }

.ma-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.ma-thumbs__item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.ma-thumbs__item img { width: 100%; height: 100%; object-fit: cover; }
.ma-thumbs__item:hover { border-color: rgba(78,195,255,0.6); transform: translateY(-2px); }
.ma-thumbs__item.is-active { border-color: #2bb8ff; }

/* ============================================================
   SECTION 5 — SANAL GERÇEKLİK  (light, 3 image)
   ============================================================ */
.ma-vr {
    position: relative;
    background: #ffffff;
    padding: 110px 0 80px;
    color: #0a1733;
}
.ma-vr__row {
    display: grid;
    grid-template-columns: 0.55fr 1.6fr 0.55fr;
    gap: 24px;
    align-items: stretch;
}
.ma-vr__side, .ma-vr__center {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #0a1733;
}
.ma-vr__side { aspect-ratio: 9 / 16; }
.ma-vr__center { aspect-ratio: 16 / 10; }
.ma-vr__side img, .ma-vr__center img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   SECTION 6 — OYUN GELİŞTİRME  (dark, 3 image)
   ============================================================ */
.ma-game {
    position: relative;
    background: linear-gradient(180deg, #0c1a3a 0%, #0a1733 100%);
    padding: 110px 0 90px;
    color: #fff;
}
.ma-game__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.ma-game__cell {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    background: #0a1733;
}
.ma-game__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ma-game__cell:hover img { transform: scale(1.05); }

/* ============================================================
   FOOTER
   ============================================================ */
.ma-footer {
    position: relative;
    background: #07112a;
    color: #b8c5e0;
    padding: 80px 0 36px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.ma-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 80px;
    margin-bottom: 60px;
}
.ma-footer__brand-text {
    font-size: 14px;
    line-height: 1.8;
    color: #8fa1c8;
    margin-top: 22px;
    max-width: 560px;
}
.ma-footer__contact { display: flex; flex-direction: column; gap: 18px; }
.ma-footer__row {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.ma-footer__row:hover { color: #4ec3ff; }
.ma-footer__icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}
.ma-footer__social {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}
.ma-footer__social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.ma-footer__social a:hover { background: #2bb8ff; transform: translateY(-2px); }
.ma-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: #6f87b5;
    letter-spacing: 0.5px;
}
.ma-footer__altlogo {
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    font-size: 14px;
}

/* Section responsive */
@media (max-width: 980px) {
    .ma-cards { grid-template-columns: 1fr; gap: 24px; }
    .ma-cards > :nth-child(2) { margin-top: 0; }
    .ma-card { min-height: auto; padding: 30px 26px 32px; }
    .ma-card__title { font-size: 24px; margin-bottom: 26px; }
    .ma-section-pad { padding-left: 24px; padding-right: 24px; }
    .ma-slider { grid-template-columns: 1fr; }
    .ma-slider__peek { display: none; }
    .ma-anim__grid { grid-template-columns: 1fr; gap: 30px; }
    .ma-vr__row { grid-template-columns: 1fr; }
    .ma-vr__side { aspect-ratio: 16 / 9; }
    .ma-game__row { grid-template-columns: 1fr; gap: 14px; }
    .ma-footer__top { grid-template-columns: 1fr; gap: 40px; }
    .ma-footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
    .ma-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 520px) {
    .ma-thumbs { grid-template-columns: repeat(3, 1fr); }
    .ma-about { padding: 70px 16px 80px; }
    .ma-edu, .ma-anim, .ma-vr, .ma-game { padding-top: 70px; padding-bottom: 60px; }
}

/* ============ MOBILE NAV TOGGLE ============ */
.ma-burger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
}
.ma-burger span {
    width: 22px; height: 2px;
    background: #fff;
    position: relative;
}
.ma-burger span::before, .ma-burger span::after {
    content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: #fff;
}
.ma-burger span::before { top: -7px; }
.ma-burger span::after { top: 7px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1380px) {
    .ma-nav { gap: 22px; }
    .ma-nav__link { font-size: 12px; }
    .ma-search__input { width: 160px; }
    .ma-search__input:focus { width: 200px; }
    .ma-header { padding: 18px 28px; }
    .ma-cta { display: none; }
}
@media (max-width: 1180px) {
    .ma-search { display: none; }
    .ma-nav { gap: 18px; }
}
@media (max-width: 1024px) {
    .ma-nav { display: none; }
    .ma-burger { display: flex; }
    .ma-auth-btn--ghost { display: none; }
    .ma-icon-btn { width: 38px; height: 38px; font-size: 14px; }
}
@media (max-width: 768px) {
    .ma-auth-btn--solid { padding: 8px 14px; font-size: 11px; letter-spacing: 0.5px; }
    .ma-floater { right: 18px; bottom: 240px; width: 60px; height: 60px; }
    .ma-floater__btn { width: 60px; height: 60px; border-radius: 14px; }
    .ma-hero__body { padding: 60px 20px 30px; }
    .ma-support__card {
        padding: 200px 28px 32px;
        text-align: center;
    }
    .ma-support__char {
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        top: -40px;
        bottom: auto;
    }
    .ma-support__title { font-size: 30px; }
    .ma-support__desc { font-size: 14px; }
    .ma-support__btn { align-self: center; }
    .ma-header__right { gap: 8px; }
}
@media (max-width: 520px) {
    .ma-header { padding: 14px 16px; }
    .ma-logo__mark { width: 40px; height: 40px; font-size: 12px; }
    .ma-logo__name { font-size: 14px; }
    .ma-logo__sub { font-size: 7px; letter-spacing: 1px; }
    .ma-hero__title { letter-spacing: -0.5px; }
    .ma-auth-btn--solid { display: none; }
    .ma-icon-btn { width: 34px; height: 34px; font-size: 13px; }
    .ma-user__btn { padding: 3px 6px 3px 3px; }
    .ma-user__avatar { width: 28px; height: 28px; }
}

/* Drawer (mobile) */
.ma-drawer {
    position: fixed;
    inset: 0;
    background: rgba(7, 17, 42, 0.96);
    backdrop-filter: blur(12px);
    z-index: 100;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.ma-drawer.is-open { display: flex; }
.ma-drawer a {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}
.ma-drawer__close {
    position: absolute;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    font-size: 28px;
    color: #fff;
}
/* ============================================================
   PUBLIC PAGE EXTENSIONS
   (page hero, breadcrumb, prose, info cards, accordion)
   ============================================================ */
.ma-page-hero {
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(31, 92, 220, 0.20) 0%, transparent 60%),
        linear-gradient(180deg, #0a1530 0%, #0a1733 60%, #07112a 100%);
    padding: 130px 24px 72px;
    overflow: hidden;
    isolation: isolate;
}
.ma-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,0.3), transparent);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}
.ma-page-hero::after {
    content: '';
    position: absolute;
    left: -10%; right: -10%;
    bottom: 28%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(78,195,255,0.4), transparent);
    box-shadow: 0 0 40px rgba(78,195,255,0.4);
    pointer-events: none;
    z-index: 1;
}
.ma-page-hero__inner {
    position: relative; z-index: 2;
    max-width: 1240px; margin: 0 auto;
}
.ma-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8fa1c8;
    margin-bottom: 18px;
}
.ma-breadcrumb a { color: #4ec3ff; transition: color 0.2s; }
.ma-breadcrumb a:hover { color: #aae4ff; text-decoration: underline; }
.ma-breadcrumb i { font-size: 9px; color: #4a5b85; }
.ma-page-hero__eyebrow {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: 3px;
    color: #4ec3ff;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.ma-page-hero__title {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}
.ma-page-hero__title .grad {
    background: linear-gradient(90deg, #4ec3ff 0%, #8aaaff 50%, #b58aff 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ma-page-hero__lede {
    max-width: 720px;
    font-size: 16px; line-height: 1.65;
    color: #b8c5e0;
    margin: 0;
}

/* Public page body section */
.ma-page-body { background: #07112a; padding: 72px 0; color: #d0dcf2; }
.ma-page-body--light { background: #ffffff; color: #0a1733; }

/* Glass card variants */
.ma-glass {
    background: linear-gradient(160deg, rgba(20, 38, 78, 0.55) 0%, rgba(11, 24, 56, 0.55) 100%);
    border: 1px solid rgba(78, 195, 255, 0.10);
    border-radius: 18px;
    padding: 28px;
    backdrop-filter: blur(14px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ma-glass:hover {
    transform: translateY(-4px);
    border-color: rgba(78, 195, 255, 0.30);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.ma-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}
.ma-info-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 8px 22px rgba(43, 184, 255, 0.4);
    margin-bottom: 18px;
}
.ma-info-title {
    font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 6px;
}
.ma-info-sub {
    font-size: 13px; color: #6f87b5; margin: 0 0 14px;
}
.ma-info-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: #4ec3ff; font-weight: 600; font-size: 14px;
}
.ma-info-link:hover { color: #aae4ff; text-decoration: underline; }

/* Prose / WYSIWYG content */
.ma-prose { font-size: 16px; line-height: 1.8; color: #d0dcf2; }
.ma-prose h1, .ma-prose h2, .ma-prose h3, .ma-prose h4 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin: 2em 0 0.7em;
}
.ma-prose h1 { font-size: 2em; }
.ma-prose h2 { font-size: 1.6em; }
.ma-prose h3 { font-size: 1.3em; }
.ma-prose h4 { font-size: 1.1em; }
.ma-prose p { margin: 0 0 1.2em; }
.ma-prose a { color: #4ec3ff; text-decoration: underline; text-underline-offset: 3px; }
.ma-prose a:hover { color: #aae4ff; }
.ma-prose ul, .ma-prose ol { margin: 0 0 1.2em 1.4em; }
.ma-prose ul li, .ma-prose ol li { margin-bottom: 0.4em; }
.ma-prose img { border-radius: 14px; margin: 1.5em 0; max-width: 100%; }
.ma-prose blockquote {
    border-left: 3px solid #4ec3ff;
    padding: 0.8em 1.2em;
    background: rgba(78,195,255,0.06);
    border-radius: 8px;
    margin: 1.5em 0;
    color: #e5e7eb;
    font-style: italic;
}
.ma-prose strong { color: #ffffff; font-weight: 700; }
.ma-prose code {
    background: rgba(78,195,255,0.10);
    color: #aae4ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: ui-monospace, "Cascadia Code", monospace;
}
.ma-prose iframe { width: 100%; min-height: 460px; border: 0; border-radius: 14px; }

/* Form elements (re-usable on contact, etc.) */
.ma-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.ma-form-row .ma-field { margin-bottom: 0; }
.ma-textarea { min-height: 140px; resize: vertical; padding-top: 14px; line-height: 1.55; }
@media (max-width: 720px) { .ma-form-row { grid-template-columns: 1fr; } }

/* FAQ accordion */
.ma-faq { display: flex; flex-direction: column; gap: 14px; }
.ma-faq__item {
    background: linear-gradient(160deg, rgba(20, 38, 78, 0.55) 0%, rgba(11, 24, 56, 0.55) 100%);
    border: 1px solid rgba(78, 195, 255, 0.10);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.ma-faq__item.is-open { border-color: rgba(78, 195, 255, 0.40); }
.ma-faq__btn {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
    padding: 20px 24px;
    color: #fff; font-size: 16px; font-weight: 600;
    text-align: left;
    font-family: inherit; cursor: pointer;
}
.ma-faq__btn i { color: #4ec3ff; transition: transform 0.3s ease; }
.ma-faq__item.is-open .ma-faq__btn i { transform: rotate(180deg); }
.ma-faq__panel {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    color: #b8c5e0; font-size: 15px; line-height: 1.7;
}
.ma-faq__panel-inner { padding: 0 24px 22px; }
.ma-faq__item.is-open .ma-faq__panel { max-height: 600px; }

/* Pagination */
.ma-pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 40px 0 0; flex-wrap: wrap; }
.ma-pagination a, .ma-pagination span {
    min-width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #b8c5e0; font-size: 14px; font-weight: 600;
    transition: all 0.2s ease;
}
.ma-pagination a:hover { background: rgba(78,195,255,0.10); border-color: rgba(78,195,255,0.4); color: #fff; }
.ma-pagination .active span, .ma-pagination .is-active {
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%);
    color: #fff; border-color: transparent;
}

/* ============================================================
   HEADER UX TWEAKS — Combined Giris/Kayit pair + slimmer CTA
   ============================================================ */
.ma-auth-pair {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 9px 14px;
    background: linear-gradient(135deg, rgba(43, 184, 255, 0.10) 0%, rgba(30, 155, 224, 0.10) 100%);
    border: 1px solid rgba(78, 195, 255, 0.25);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.ma-auth-pair:hover {
    border-color: rgba(78, 195, 255, 0.55);
    background: linear-gradient(135deg, rgba(43, 184, 255, 0.18) 0%, rgba(30, 155, 224, 0.18) 100%);
    transform: translateY(-1px);
}
.ma-auth-pair__a, .ma-auth-pair__b {
    color: #ffffff;
    padding: 0 4px;
    transition: color 0.2s ease;
}
.ma-auth-pair__a:hover { color: #4ec3ff; }
.ma-auth-pair__b { color: #4ec3ff; }
.ma-auth-pair__b:hover { color: #aae4ff; }
.ma-auth-pair__sep { color: rgba(255,255,255,0.35); font-weight: 400; }

/* Slimmer CANLI DESTEK on tablet */
@media (max-width: 1500px) {
    .ma-cta { padding: 10px 16px; font-size: 11px; letter-spacing: 0.8px; }
}
@media (max-width: 1380px) {
    .ma-cta__text { display: none; }
    .ma-cta { padding: 10px 12px; }
    .ma-cta::after {
        content: '\f4a6';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 14px;
        margin-left: 0;
    }
}

/* Better breakpoints for the new structure */
@media (max-width: 1280px) {
    .ma-search__input { width: 140px; }
    .ma-search__input:focus { width: 180px; }
}
@media (max-width: 1180px) {
    .ma-nav { gap: 16px; }
    .ma-nav__link { font-size: 11px; letter-spacing: 0.8px; }
}
@media (max-width: 1080px) {
    .ma-search { display: none; }
}
@media (max-width: 1024px) {
    .ma-nav, .ma-cta, .ma-auth-pair { display: none !important; }
    .ma-burger { display: flex; }
}

/* Mega menu position fix when "Daha Fazla" is at the right edge */
.ma-nav__item:last-child .ma-mega { left: auto; right: 0; transform: translateY(-6px); }
.ma-nav__item:last-child:hover .ma-mega,
.ma-nav__item:last-child:focus-within .ma-mega { transform: translateY(0); }

/* ============================================================
   STUDENT DASHBOARD
   ============================================================ */
.ma-stu-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
@media (max-width: 980px) { .ma-stu-layout { grid-template-columns: 1fr; } }

.ma-stu-sidebar {
    position: sticky; top: 100px;
    background: linear-gradient(160deg, rgba(20,38,78,0.55) 0%, rgba(11,24,56,0.55) 100%);
    border: 1px solid rgba(78,195,255,0.10);
    border-radius: 18px; padding: 28px 22px;
    backdrop-filter: blur(14px);
}
.ma-stu-profile { text-align: center; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 18px; }
.ma-stu-profile__avatar { position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; border: 2px solid rgba(78,195,255,0.30); }
.ma-stu-profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ma-stu-profile__upload { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(7,17,42,0.85); color: #4ec3ff; padding: 6px; font-size: 12px; text-align: center; transition: background 0.2s; }
.ma-stu-profile__upload:hover { background: rgba(78,195,255,0.20); color: #fff; }
.ma-stu-profile__name { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.ma-stu-profile__email { color: #8fa1c8; font-size: 12px; margin: 0; }

.ma-stu-nav { display: flex; flex-direction: column; gap: 4px; }
.ma-stu-nav__link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px;
    color: #b8c5e0; font-size: 14px; font-weight: 500;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}
.ma-stu-nav__link:hover { background: rgba(78,195,255,0.08); color: #fff; }
.ma-stu-nav__link i { width: 18px; text-align: center; color: #6f87b5; transition: color 0.2s; }
.ma-stu-nav__link:hover i { color: #4ec3ff; }
.ma-stu-nav__link.is-active {
    background: linear-gradient(135deg, rgba(43,184,255,0.15) 0%, rgba(30,155,224,0.10) 100%);
    color: #fff;
    border-left: 2px solid #4ec3ff;
    padding-left: 12px;
}
.ma-stu-nav__link.is-active i { color: #4ec3ff; }
.ma-stu-nav__link--logout { color: #ff7b9d; }
.ma-stu-nav__link--logout:hover { background: rgba(255,77,119,0.10); color: #ff4577; }
.ma-stu-nav__link--logout i { color: #ff7b9d; }
.ma-stu-nav__sep { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 0; }

.ma-stu-cta {
    display: inline-flex; align-items: center; gap: 10px;
    width: 100%; justify-content: center;
    padding: 12px 18px;
    margin-top: 18px;
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%);
    color: #fff;
    font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(43,184,255,0.30);
    transition: transform 0.2s, box-shadow 0.2s;
}
.ma-stu-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(43,184,255,0.45); color: #fff; }

/* Student page panel */
.ma-stu-panel {
    background: linear-gradient(160deg, rgba(20,38,78,0.45) 0%, rgba(11,24,56,0.45) 100%);
    border: 1px solid rgba(78,195,255,0.10);
    border-radius: 18px; padding: 28px;
    backdrop-filter: blur(10px);
}
.ma-stu-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.ma-stu-panel__title { font-size: 22px; font-weight: 700; color: #fff; margin: 0; }
.ma-stu-panel__sub { color: #8fa1c8; font-size: 13px; margin: 4px 0 0; }

/* Tables */
.ma-table { width: 100%; border-collapse: collapse; }
.ma-table thead th {
    text-align: left;
    color: #6f87b5; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ma-table tbody td {
    padding: 14px 16px;
    color: #d0dcf2; font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
}
.ma-table tbody tr:hover td { background: rgba(78,195,255,0.04); }
.ma-table .ma-th-img { width: 60px; height: 40px; border-radius: 6px; object-fit: cover; }
.ma-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.ma-badge--ok { background: rgba(34,197,94,0.15); color: #6ee7a7; border: 1px solid rgba(34,197,94,0.30); }
.ma-badge--err { background: rgba(255,77,119,0.15); color: #ff9eb6; border: 1px solid rgba(255,77,119,0.30); }
.ma-badge--info { background: rgba(78,195,255,0.15); color: #4ec3ff; border: 1px solid rgba(78,195,255,0.30); }
.ma-badge--warn { background: rgba(255,209,102,0.15); color: #ffd166; border: 1px solid rgba(255,209,102,0.30); }

.ma-icon-btn-sm {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: #b8c5e0;
    transition: all 0.2s ease;
}
.ma-icon-btn-sm:hover { background: rgba(78,195,255,0.10); color: #4ec3ff; }
.ma-icon-btn-sm--danger:hover { background: rgba(255,77,119,0.10); color: #ff4577; }

/* Empty state */
.ma-empty { text-align: center; padding: 60px 20px; }
.ma-empty__icon {
    width: 72px; height: 72px;
    border-radius: 18px;
    background: rgba(78,195,255,0.10);
    border: 1px solid rgba(78,195,255,0.20);
    display: inline-flex; align-items: center; justify-content: center;
    color: #4ec3ff; font-size: 28px;
    margin-bottom: 18px;
}
.ma-empty__title { color: #fff; font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.ma-empty__sub { color: #8fa1c8; font-size: 14px; margin: 0 0 22px; }

/* Cart summary card */
.ma-cart-summary {
    background: linear-gradient(160deg, rgba(20,38,78,0.65) 0%, rgba(11,24,56,0.65) 100%);
    border: 1px solid rgba(78,195,255,0.20);
    border-radius: 16px; padding: 28px;
    position: sticky; top: 100px;
}
.ma-cart-summary h3 { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ma-cart-row { display: flex; justify-content: space-between; padding: 6px 0; color: #b8c5e0; font-size: 14px; }
.ma-cart-row--total { color: #fff; font-size: 18px; font-weight: 700; padding-top: 14px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); }

/* Stat cards */
.ma-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 26px; }
.ma-stat-card {
    background: linear-gradient(160deg, rgba(20,38,78,0.55) 0%, rgba(11,24,56,0.55) 100%);
    border: 1px solid rgba(78,195,255,0.10);
    border-radius: 14px; padding: 20px;
}
.ma-stat-card__label { color: #6f87b5; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.ma-stat-card__value { color: #fff; font-size: 28px; font-weight: 800; line-height: 1.1; }
.ma-stat-card__icon { float: right; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }

/* ============================================================
   LOGO IMG (replaces CSS bracket mock)
   ============================================================ */
.ma-logo { display: inline-flex; align-items: center; }
.ma-logo__img {
    height: 40px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(78, 195, 255, 0.10));
    transition: transform 0.2s ease;
}
.ma-logo__img:hover { transform: scale(1.02); }

.ca-logo__img {
    height: 50px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .ma-logo__img { height: 36px; }
    .ca-logo__img { height: 36px; }
}
@media (max-width: 480px) {
    .ma-logo__img { height: 32px; }
    .ca-logo__img { height: 30px; }
}

/* Footer logo specifically (slightly larger for hierarchy) */
.ma-footer .ma-logo__img { height: 48px; margin-bottom: 6px; }

/* ============================================================
   CANLI DESTEK BANNER — full-image version (canli-destek.png)
   ============================================================ */
.ma-support__banner {
    display: block;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(43, 184, 255, 0.3), 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 0;
}
.ma-support__banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 70px rgba(43, 184, 255, 0.4), 0 14px 36px rgba(0,0,0,0.25);
}
.ma-support__banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Floating chatbot — round avatar (chatboot 1.png) */
.ma-floater__btn { background: transparent; box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 2px rgba(78,195,255,0.30); border-radius: 50%; }
.ma-floater__btn img { border-radius: 50%; object-position: center; }

/* ============================================================
   PAGINATION FIX (Laravel default <ul><li> rendering)
   ============================================================ */
.ma-pagination ul,
.ma-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
}
.ma-pagination ul li,
.ma-pagination .pagination li,
.ma-pagination .page-item {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
}
.ma-pagination .page-link,
.ma-pagination ul li a,
.ma-pagination ul li span {
    min-width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    color: #b8c5e0;
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ma-pagination .page-link:hover,
.ma-pagination ul li a:hover {
    background: rgba(78,195,255,0.10);
    border-color: rgba(78,195,255,0.4);
    color: #fff;
}
.ma-pagination .page-item.active .page-link,
.ma-pagination ul li.active span,
.ma-pagination ul li.active a,
.ma-pagination .active .page-link {
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(43,184,255,0.30);
}
.ma-pagination .page-item.disabled .page-link,
.ma-pagination ul li.disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}
.ma-pagination svg { width: 14px; height: 14px; }

/* ============================================================
   PAGE HERO — clean, left-aligned, elegant typography
   ============================================================ */
.ma-page-hero {
    padding: 110px 0 70px;
    text-align: left;
    overflow: hidden;
}
.ma-page-hero::after { display: none; } /* remove decorative beam line */
.ma-page-hero__inner {
    text-align: left;
    padding: 0 56px;
    max-width: 1240px;
    margin: 0 auto;
}

.ma-breadcrumb {
    justify-content: flex-start;
    margin-bottom: 26px;
    font-size: 13px;
    color: #6f87b5;
}
.ma-breadcrumb a { color: #8fa1c8; font-weight: 500; }
.ma-breadcrumb a:hover { color: #4ec3ff; text-decoration: none; }
.ma-breadcrumb i { font-size: 8px; color: #4a5b85; opacity: 0.7; }

.ma-page-hero__eyebrow {
    display: block;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: #4ec3ff;
    text-transform: uppercase;
    margin: 0 0 14px;
    backdrop-filter: none;
}
.ma-page-hero__title {
    font-size: clamp(32px, 4.4vw, 50px);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.6px;
    max-width: none;
    text-shadow: none;
}
.ma-page-hero__title .grad {
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: #4ec3ff;
    display: inline;
}
.ma-page-hero__lede {
    margin: 0;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.7;
    color: #8fa1c8;
}

@media (max-width: 768px) {
    .ma-page-hero { padding: 90px 0 50px; }
    .ma-page-hero__inner { padding: 0 24px; }
    .ma-page-hero__title { font-size: clamp(26px, 7vw, 36px); }
    .ma-page-hero__lede { font-size: 14px; }
}

/* ============================================================
   IMAGE TILES — REMOVE FAKE PLAY BUTTONS UNTIL ACTUAL VIDEO
   ============================================================ */
.ma-play { display: none !important; }

/* Image hover effect (replaces play button visual) */
.ma-slider__main, .ma-anim__main, .ma-vr__center, .ma-game__cell, .ma-cd-pricing__cover {
    cursor: default;
}


/* ============================================================
   LEGACY FILTER OVERRIDES (course/bootcamp/blog filter partials)
   ============================================================ */
.ma-filter-box .sidebar { padding: 0; background: transparent; }
.ma-filter-box .row { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.ma-filter-box .row > div { padding: 0; }
.ma-filter-box .row > div:first-child::before {
    content: '\f0b0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #4ec3ff;
    margin-right: 8px;
    font-size: 13px;
}
.ma-filter-box span.d-inline-block { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.3px; }
.ma-filter-box .btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 77, 119, 0.10);
    border: 1px solid rgba(255, 77, 119, 0.30) !important;
    color: #ff9eb6;
    font-size: 12px;
    border-radius: 8px;
    transition: all 0.2s;
}
.ma-filter-box .btn:hover { background: rgba(255, 77, 119, 0.20); color: #ff7b9d; }
.ma-filter-box .widget { margin-bottom: 22px; padding: 0; background: transparent; border: none; }
.ma-filter-box .widget-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(78,195,255,0.10);
}
.ma-filter-box .search { position: relative; }
.ma-filter-box .search .form-control {
    width: 100%;
    background: rgba(7,17,42,0.5);
    border: 1px solid rgba(78,195,255,0.20);
    color: #fff;
    border-radius: 10px;
    padding: 11px 42px 11px 16px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}
.ma-filter-box .search .form-control::placeholder { color: rgba(255,255,255,0.35); }
.ma-filter-box .search .form-control:focus {
    border-color: #4ec3ff;
    box-shadow: 0 0 0 3px rgba(78,195,255,0.10);
    background: rgba(7,17,42,0.7);
}
.ma-filter-box .search .submit {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: rgba(255,255,255,0.55);
    width: 32px; height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.ma-filter-box .search .submit:hover { color: #4ec3ff; background: rgba(78,195,255,0.08); }
.ma-filter-box .entry-widget {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 4px;
    max-height: 320px;
    overflow-y: auto;
}
.ma-filter-box .entry-widget li { list-style: none; margin: 0; }
.ma-filter-box .entry-widget a, .ma-filter-box .entry-widget li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px;
    color: #b8c5e0;
    font-size: 13px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}
.ma-filter-box .entry-widget a:hover { background: rgba(78,195,255,0.08); color: #fff; }
.ma-filter-box .entry-widget li.active > a, .ma-filter-box .entry-widget a.active {
    background: rgba(78,195,255,0.12); color: #4ec3ff; font-weight: 600;
}
.ma-filter-box .entry-widget a span { color: #6f87b5; font-size: 11px; }
.ma-filter-box .form-check { display: flex; align-items: center; gap: 8px; padding: 6px 0; margin: 0; }
.ma-filter-box .form-check-input {
    width: 16px; height: 16px;
    background: rgba(7,17,42,0.5);
    border: 1.5px solid rgba(78,195,255,0.30);
    border-radius: 4px;
    cursor: pointer;
    margin: 0;
}
.ma-filter-box .form-check-input:checked { background: #2bb8ff; border-color: #2bb8ff; }
.ma-filter-box .form-check-label { color: #b8c5e0; font-size: 13px; cursor: pointer; }
.ma-filter-box .price-range { color: #b8c5e0; }
.ma-filter-box .price-range input { background: rgba(7,17,42,0.5); border: 1px solid rgba(78,195,255,0.20); color: #fff; }
.ma-filter-box .ui-slider, .ma-filter-box #slider-range { background: rgba(78,195,255,0.10) !important; height: 4px !important; border: none !important; border-radius: 2px !important; }
.ma-filter-box .ui-slider-range { background: linear-gradient(90deg, #2bb8ff, #4ec3ff) !important; }
.ma-filter-box .ui-slider-handle { background: #4ec3ff !important; border: 2px solid #fff !important; width: 16px !important; height: 16px !important; border-radius: 50% !important; top: -7px !important; }
.ma-filter-box .child_category_menu { padding-left: 14px; margin-top: 4px; border-left: 1px solid rgba(78,195,255,0.10); }

/* ============================================================
   LANGUAGE SWITCHER (header)
   ============================================================ */
.ma-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.ma-lang select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 9px 30px 9px 36px;
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%234ec3ff' stroke-width='1.8' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: all 0.2s;
}
.ma-lang select:hover, .ma-lang select:focus {
    border-color: rgba(78,195,255,0.40);
    background-color: rgba(78,195,255,0.05);
    outline: none;
}
.ma-lang::before {
    content: '\f0ac';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    color: #4ec3ff;
    font-size: 13px;
    pointer-events: none;
    z-index: 1;
}
.ma-lang option { background: #0e1d40; color: #fff; }
@media (max-width: 1180px) { .ma-lang { display: none; } }

/* ============================================================
   PAGINATION — STRONG OVERRIDE (Bootstrap was leaking display:block)
   ============================================================ */
.ma-pagination,
.ma-pagination nav {
    display: flex !important;
    justify-content: center;
    margin: 40px 0 0;
}
.ma-pagination ul,
.ma-pagination .pagination,
.entry-pagination .pagination,
.entry-pagination ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
}
.ma-pagination ul li,
.ma-pagination .pagination li,
.ma-pagination .page-item,
.entry-pagination li,
.entry-pagination .page-item {
    display: inline-flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
}
.ma-pagination .page-link,
.ma-pagination ul li a,
.ma-pagination ul li span,
.entry-pagination .page-link,
.entry-pagination li a,
.entry-pagination li span {
    min-width: 38px;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 12px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    color: #b8c5e0 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin: 0 !important;
    float: none !important;
}
.ma-pagination .page-link:hover,
.ma-pagination ul li a:hover,
.entry-pagination .page-link:hover {
    background: rgba(78,195,255,0.10) !important;
    border-color: rgba(78,195,255,0.4) !important;
    color: #fff !important;
}
.ma-pagination .page-item.active .page-link,
.ma-pagination ul li.active span,
.ma-pagination ul li.active a,
.ma-pagination .active .page-link,
.entry-pagination .active .page-link,
.entry-pagination .active span {
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(43,184,255,0.30);
}
.ma-pagination .page-item.disabled .page-link,
.ma-pagination ul li.disabled span,
.entry-pagination .disabled span {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}
.ma-pagination svg, .entry-pagination svg { width: 14px !important; height: 14px !important; }

/* Light backgrounds (e.g. course list page on white sections) */
.ma-page-body--light .ma-pagination .page-link,
.ma-page-body--light .ma-pagination ul li a {
    background: rgba(10,23,51,0.06) !important;
    border: 1px solid rgba(10,23,51,0.10) !important;
    color: #0a1733 !important;
}

/* Wrap any Laravel pagination in entry-pagination class */
.entry-pagination { display: flex; justify-content: center; margin-top: 40px; }

/* ============================================================
   FILTER BOX (.ma-fb) — clean cinematic, replaces legacy
   ============================================================ */
.ma-fb { color: #d0dcf2; }
.ma-fb__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(78,195,255,0.10); }
.ma-fb__title { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.3px; display: inline-flex; align-items: center; gap: 8px; }
.ma-fb__title i { color: #4ec3ff; font-size: 13px; }
.ma-fb__clear { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(255,77,119,0.10); border: 1px solid rgba(255,77,119,0.30); border-radius: 8px; color: #ff9eb6; font-size: 11px; font-weight: 600; transition: all 0.2s; }
.ma-fb__clear:hover { background: rgba(255,77,119,0.20); color: #ff7b9d; }

.ma-fb__search { position: relative; margin-bottom: 22px; }
.ma-fb__search input {
    width: 100%;
    background: rgba(7,17,42,0.5);
    border: 1px solid rgba(78,195,255,0.20);
    color: #fff;
    border-radius: 10px;
    padding: 11px 42px 11px 16px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}
.ma-fb__search input::placeholder { color: rgba(255,255,255,0.35); }
.ma-fb__search input:focus { border-color: #4ec3ff; box-shadow: 0 0 0 3px rgba(78,195,255,0.10); background: rgba(7,17,42,0.7); }
.ma-fb__search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255,255,255,0.55); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; transition: all 0.2s; }
.ma-fb__search button:hover { color: #4ec3ff; background: rgba(78,195,255,0.08); }

.ma-fb__group { margin-bottom: 22px; }
.ma-fb__group h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(78,195,255,0.08); }

.ma-fb__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; max-height: 320px; overflow-y: auto; }
.ma-fb__list li { list-style: none; }
.ma-fb__list a { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; color: #b8c5e0; font-size: 13px; border-radius: 8px; transition: background 0.15s, color 0.15s; }
.ma-fb__list a:hover { background: rgba(78,195,255,0.08); color: #fff; }
.ma-fb__list li.is-active > a { background: rgba(78,195,255,0.12); color: #4ec3ff; font-weight: 600; }
.ma-fb__count { color: #6f87b5; font-size: 11px; }
.ma-fb__sub { list-style: none; padding-left: 14px; margin-top: 4px; border-left: 1px solid rgba(78,195,255,0.10); display: flex; flex-direction: column; gap: 2px; }
.ma-fb__sub li { list-style: none; }

.ma-fb__radios { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ma-fb__radios li { list-style: none; }
.ma-fb__radios label { display: flex; align-items: center; gap: 10px; padding: 8px 4px; cursor: pointer; user-select: none; color: #b8c5e0; font-size: 13px; border-radius: 8px; transition: background 0.15s, color 0.15s; }
.ma-fb__radios label:hover { background: rgba(78,195,255,0.05); color: #fff; }
.ma-fb__radios input[type="radio"] { display: none; }
.ma-fb__radio-mark { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(78,195,255,0.30); background: rgba(7,17,42,0.5); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.ma-fb__radios input[type="radio"]:checked + .ma-fb__radio-mark { border-color: #4ec3ff; }
.ma-fb__radios input[type="radio"]:checked + .ma-fb__radio-mark::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ec3ff; }
.ma-fb__radios label:has(input:checked) { color: #fff; font-weight: 600; }

/* ============================================================
   COLOR PALETTE EXPANSION + INNER-PAGE VARIETY
   ============================================================ */
:root {
    --ma-cyan: #4ec3ff;
    --ma-cyan-2: #2bb8ff;
    --ma-violet: #a78bfa;
    --ma-pink: #ff7eb6;
    --ma-amber: #ffd166;
    --ma-emerald: #6ee7a7;
}

/* === Page hero (forced, defeats stale cache rules) === */
.ma-page-hero,
body .ma-page-hero,
main .ma-page-hero {
    padding: 110px 0 70px !important;
    text-align: left !important;
    overflow: hidden !important;
    background:
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(78,195,255,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(167,139,250,0.10) 0%, transparent 60%),
        linear-gradient(180deg, #0a1530 0%, #0a1733 60%, #07112a 100%) !important;
}
.ma-page-hero::after { display: none !important; }
.ma-page-hero__inner {
    text-align: left !important;
    padding: 0 56px !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
}
.ma-breadcrumb {
    justify-content: flex-start !important;
    margin-bottom: 26px !important;
    font-size: 13px;
    color: #6f87b5;
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.ma-breadcrumb a { color: #8fa1c8; font-weight: 500; }
.ma-breadcrumb a:hover { color: var(--ma-cyan); text-decoration: none; }
.ma-breadcrumb i { font-size: 8px; color: #4a5b85; opacity: 0.7; }

.ma-page-hero__eyebrow,
body .ma-page-hero__eyebrow {
    display: block !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 3.5px !important;
    color: var(--ma-cyan) !important;
    text-transform: uppercase !important;
    margin: 0 0 14px !important;
}
.ma-page-hero__title,
body .ma-page-hero__title {
    font-size: clamp(32px, 4.4vw, 50px) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.6px !important;
    max-width: none !important;
    text-shadow: none !important;
    text-align: left !important;
}
.ma-page-hero__title .grad,
body .ma-page-hero__title .grad {
    background: linear-gradient(90deg, var(--ma-cyan) 0%, var(--ma-violet) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline !important;
}
.ma-page-hero__lede,
body .ma-page-hero__lede {
    margin: 0 !important;
    max-width: 720px !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #8fa1c8 !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .ma-page-hero { padding: 90px 0 50px !important; }
    .ma-page-hero__inner { padding: 0 24px !important; }
    .ma-page-hero__title { font-size: clamp(26px, 7vw, 36px) !important; }
}

/* === Multi-color accent for body sections === */
.ma-page-body {
    background:
        radial-gradient(circle 700px at 90% 5%, rgba(167,139,250,0.05), transparent 60%),
        radial-gradient(circle 600px at 5% 95%, rgba(78,195,255,0.05), transparent 60%),
        #07112a !important;
}

/* Glass card variants with accent borders */
.ma-glass--cyan { border-color: rgba(78,195,255,0.25) !important; }
.ma-glass--violet { border-color: rgba(167,139,250,0.25) !important; }
.ma-glass--pink { border-color: rgba(255,126,182,0.25) !important; }

/* Accent stripes for section titles */
.ma-page-body h2, .ma-stu-panel__title {
    position: relative;
}

/* Info icon variants */
.ma-info-icon--violet { background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%) !important; box-shadow: 0 8px 22px rgba(167,139,250,0.4) !important; }
.ma-info-icon--pink { background: linear-gradient(135deg, #ff7eb6 0%, #f472b6 100%) !important; box-shadow: 0 8px 22px rgba(255,126,182,0.4) !important; }
.ma-info-icon--amber { background: linear-gradient(135deg, #ffd166 0%, #f59e0b 100%) !important; box-shadow: 0 8px 22px rgba(255,209,102,0.4) !important; }
.ma-info-icon--emerald { background: linear-gradient(135deg, #6ee7a7 0%, #10b981 100%) !important; box-shadow: 0 8px 22px rgba(110,231,167,0.4) !important; }

/* Auto-rotate accent colors on .ma-info-grid items */
.ma-info-grid .ma-glass:nth-child(2) .ma-info-icon { background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%); box-shadow: 0 8px 22px rgba(167,139,250,0.4); }
.ma-info-grid .ma-glass:nth-child(3) .ma-info-icon { background: linear-gradient(135deg, #ff7eb6 0%, #f472b6 100%); box-shadow: 0 8px 22px rgba(255,126,182,0.4); }
.ma-info-grid .ma-glass:nth-child(4) .ma-info-icon { background: linear-gradient(135deg, #ffd166 0%, #f59e0b 100%); box-shadow: 0 8px 22px rgba(255,209,102,0.4); }
.ma-info-grid .ma-glass:nth-child(2) { border-color: rgba(167,139,250,0.18); }
.ma-info-grid .ma-glass:nth-child(3) { border-color: rgba(255,126,182,0.18); }
.ma-info-grid .ma-glass:nth-child(4) { border-color: rgba(255,209,102,0.18); }
.ma-info-grid .ma-glass:nth-child(2):hover { border-color: rgba(167,139,250,0.45); }
.ma-info-grid .ma-glass:nth-child(3):hover { border-color: rgba(255,126,182,0.45); }
.ma-info-grid .ma-glass:nth-child(4):hover { border-color: rgba(255,209,102,0.45); }

/* Card cards alternate accent (course/blog/bootcamp grids) */
.ma-courses-grid > *:nth-child(3n+2), .ma-blog-grid > *:nth-child(3n+2) { border-color: rgba(167,139,250,0.10); }
.ma-courses-grid > *:nth-child(3n+2):hover, .ma-blog-grid > *:nth-child(3n+2):hover { border-color: rgba(167,139,250,0.40); box-shadow: 0 24px 50px rgba(167,139,250,0.10); }
.ma-courses-grid > *:nth-child(3n+3), .ma-blog-grid > *:nth-child(3n+3) { border-color: rgba(255,126,182,0.10); }
.ma-courses-grid > *:nth-child(3n+3):hover, .ma-blog-grid > *:nth-child(3n+3):hover { border-color: rgba(255,126,182,0.40); box-shadow: 0 24px 50px rgba(255,126,182,0.10); }

/* Course-card price badge gets variety */
.ma-courses-grid > *:nth-child(3n+2) .ma-course-card__price { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.ma-courses-grid > *:nth-child(3n+3) .ma-course-card__price { background: linear-gradient(135deg, #ff7eb6, #f472b6); }

/* Blog category pill variety */
.ma-blog-grid > *:nth-child(3n+2) .ma-blog-card__cat { color: #c4b5fd; border-color: rgba(167,139,250,0.30); }
.ma-blog-grid > *:nth-child(3n+3) .ma-blog-card__cat { color: #fbcfe8; border-color: rgba(255,126,182,0.30); }

/* Stu sidebar nav items: keep cyan accent for active, but icons get variety */
.ma-stu-nav__link:nth-child(2) i { color: #a78bfa; }
.ma-stu-nav__link:nth-child(3) i { color: #ff7eb6; }
.ma-stu-nav__link:nth-child(4) i { color: #ffd166; }
.ma-stu-nav__link:nth-child(5) i { color: #6ee7a7; }
.ma-stu-nav__link.is-active i { color: #4ec3ff !important; }

/* Footer top section: gradient accent */
.ma-footer {
    background:
        radial-gradient(ellipse 50% 30% at 0% 100%, rgba(78,195,255,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 50% 30% at 100% 0%, rgba(167,139,250,0.04) 0%, transparent 70%),
        #07112a !important;
}

/* HIDE language switcher (removed from header) */
.ma-lang { display: none !important; }

/* ============================================================
   CUSTOM PAGINATOR (.ma-pager) — replaces Laravel Bootstrap default
   ============================================================ */
nav.ma-pager,
.ma-pager {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: center;
    gap: 8px !important;
    padding: 0 !important;
    margin: 40px 0 0 !important;
    list-style: none !important;
}
nav.ma-pager > *,
.ma-pager > * {
    list-style: none !important;
    margin: 0 !important;
    float: none !important;
    display: inline-flex !important;
}
.ma-pager__btn {
    min-width: 38px;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    color: #b8c5e0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
.ma-pager__btn:hover {
    background: rgba(78,195,255,0.10);
    border-color: rgba(78,195,255,0.4);
    color: #fff !important;
    text-decoration: none !important;
}
.ma-pager__btn--active {
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(43,184,255,0.30);
}
.ma-pager__btn--disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
.ma-pager__btn i { font-size: 11px; }

/* Ensure light section variant works */
.ma-page-body--light .ma-pager__btn,
section[class*="light"] .ma-pager__btn {
    background: rgba(10,23,51,0.06);
    border-color: rgba(10,23,51,0.10);
    color: #0a1733;
}

/* ============================================================
   VIDEO CARDS (homepage course/project tiles with play overlay)
   ============================================================ */
.ma-edu__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}
@media (max-width: 980px) { .ma-edu__cards { grid-template-columns: 1fr; } }

.ma-vid-card, .ma-vid-trigger {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background: #0a1733;
    border: 1px solid rgba(78,195,255,0.15);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ma-vid-card:hover, .ma-vid-trigger:hover {
    transform: translateY(-4px);
    border-color: rgba(78,195,255,0.50);
    box-shadow: 0 24px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(78,195,255,0.20);
}
.ma-vid-card img, .ma-vid-trigger img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.3s ease;
    opacity: 0.85;
}
.ma-vid-card:hover img, .ma-vid-trigger:hover img {
    transform: scale(1.05);
    opacity: 1;
}
.ma-vid-card__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(78,195,255,0.6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.25s ease;
    z-index: 2;
}
.ma-vid-card__play i { margin-left: 3px; color: #fff; }
.ma-vid-card:hover .ma-vid-card__play, .ma-vid-trigger:hover .ma-vid-card__play {
    transform: translate(-50%, -50%) scale(1.1);
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%);
    border-color: rgba(255,255,255,0.5);
}
.ma-vid-card__meta {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
    color: #fff;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}
.ma-vid-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    max-width: 75%;
}
.ma-vid-card__duration {
    font-size: 11px;
    font-weight: 700;
    color: var(--ma-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(78,195,255,0.10);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(78,195,255,0.25);
}

.ma-anim__caption {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(160deg, rgba(20,38,78,0.55) 0%, rgba(11,24,56,0.55) 100%);
    border: 1px solid rgba(78,195,255,0.12);
    border-radius: 12px;
}
.ma-anim__type {
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    color: var(--ma-cyan);
    text-transform: uppercase;
    padding: 4px 10px;
    background: rgba(78,195,255,0.10);
    border-radius: 6px;
    border: 1px solid rgba(78,195,255,0.25);
    flex-shrink: 0;
}
.ma-anim__title {
    color: #fff; font-size: 15px; font-weight: 600;
}

/* YouTube modal — bullet-proof sizing */
.ma-vid-modal {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw !important; height: 100vh !important;
    background: rgba(7, 17, 42, 0.92) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    z-index: 99999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.ma-vid-modal.is-open { display: flex !important; opacity: 1; }
.ma-vid-modal__inner {
    position: relative !important;
    width: 100% !important;
    max-width: 1000px !important;
    aspect-ratio: 16 / 9;
    background: #000 !important;
    border-radius: 16px;
    overflow: hidden !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(78,195,255,0.20);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
@supports not (aspect-ratio: 16 / 9) {
    .ma-vid-modal__inner {
        height: 0 !important;
        padding-top: 56.25% !important;
    }
}
.ma-vid-modal.is-open .ma-vid-modal__inner { transform: scale(1); }
.ma-vid-modal__inner iframe {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
    background: #000 !important;
    z-index: 1 !important;
}
.ma-vid-modal__close {
    position: absolute;
    top: -40px; right: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.20);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}
.ma-vid-modal__close:hover { background: rgba(255,77,119,0.20); border-color: rgba(255,77,119,0.50); color: #ff7b9d; }

/* ============================================================
   PREMIUM ANIMATIONS — scroll reveal, hero pulse, X-beam shimmer
   ============================================================ */

/* Scroll reveal: fade + slide up */
.ma-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.ma-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.ma-reveal-delay-1 { transition-delay: 0.12s; }
.ma-reveal-delay-2 { transition-delay: 0.24s; }
.ma-reveal-delay-3 { transition-delay: 0.36s; }
.ma-reveal-delay-4 { transition-delay: 0.48s; }

/* Auto-apply reveal to common landmark elements on homepage */
.ma-home .ma-card,
.ma-home .ma-vid-card,
.ma-home .ma-game__cell,
.ma-home .ma-thumbs__item,
.ma-home .ma-anim__main,
.ma-home .ma-anim__caption,
.ma-home .ma-vr__side,
.ma-home .ma-vr__center,
.ma-home .ma-section-title,
.ma-home .ma-section-eyebrow,
.ma-home .ma-section-lede,
.ma-home .ma-headline-dark,
.ma-home .ma-headline-light,
.ma-home .ma-eyebrow-left {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.ma-home .is-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger card grids automatically */
.ma-home .ma-cards > *:nth-child(1).is-revealed,
.ma-home .ma-edu__cards > *:nth-child(1).is-revealed,
.ma-home .ma-game__row > *:nth-child(1).is-revealed,
.ma-home .ma-vr__row > *:nth-child(1).is-revealed { transition-delay: 0s; }
.ma-home .ma-cards > *:nth-child(2).is-revealed,
.ma-home .ma-edu__cards > *:nth-child(2).is-revealed,
.ma-home .ma-game__row > *:nth-child(2).is-revealed,
.ma-home .ma-vr__row > *:nth-child(2).is-revealed { transition-delay: 0.12s; }
.ma-home .ma-edu__cards > *:nth-child(3).is-revealed,
.ma-home .ma-game__row > *:nth-child(3).is-revealed,
.ma-home .ma-vr__row > *:nth-child(3).is-revealed { transition-delay: 0.24s; }

/* Hero title shimmer (subtle) */
.ma-hero__title {
    background: linear-gradient(110deg, #fff 0%, #fff 40%, #aae4ff 50%, #fff 60%, #fff 100%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: maHeroShimmer 6s ease-in-out infinite;
}
@keyframes maHeroShimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -100% 0; }
}

/* X-beam constant pulse */
.ma-beam__core {
    animation: maBeamPulse 3s ease-in-out infinite;
}
.ma-beam__l, .ma-beam__r {
    animation: maBeamPulse 3.5s ease-in-out infinite;
}
.ma-beam__glow {
    animation: maBeamGlowPulse 4s ease-in-out infinite;
}
@keyframes maBeamPulse {
    0%, 100% { opacity: 0.6; filter: blur(1px); }
    50% { opacity: 1; filter: blur(2px); }
}
@keyframes maBeamGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.8; }
}

/* Hero CTA hover glow ring */
.ma-hero__btn { position: relative; overflow: hidden; }
.ma-hero__btn::before {
    content: '';
    position: absolute; inset: -2px;
    background: linear-gradient(135deg, #4ec3ff, #a78bfa, #4ec3ff);
    background-size: 200% 200%;
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
    animation: maGradientFlow 3s linear infinite;
}
.ma-hero__btn:hover::before { opacity: 0.6; }
@keyframes maGradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Floating chatbot — subtle bobbing */
.ma-floater {
    animation: maFloaterBob 3s ease-in-out infinite;
}
@keyframes maFloaterBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Canlı destek banner — gentle scale on idle */
.ma-support__banner {
    animation: maBannerIdle 5s ease-in-out infinite;
}
.ma-support__banner:hover { animation: none; }
@keyframes maBannerIdle {
    0%, 100% { box-shadow: 0 25px 60px rgba(43, 184, 255, 0.30), 0 10px 30px rgba(0,0,0,0.20); }
    50% { box-shadow: 0 30px 70px rgba(43, 184, 255, 0.45), 0 14px 36px rgba(0,0,0,0.25); }
}

/* Section title underline animation on reveal */
.ma-section-title.is-revealed::after,
.ma-headline-dark.is-revealed::after,
.ma-headline-light.is-revealed::after {
    content: '';
    display: block;
    width: 60px; height: 3px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--ma-cyan), var(--ma-violet));
    border-radius: 2px;
    transform-origin: left;
    animation: maUnderlineExpand 1s 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@keyframes maUnderlineExpand {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
    .ma-reveal, .ma-home [class*="ma-"] { transition: none !important; animation: none !important; }
    .ma-hero__title { color: #fff !important; -webkit-text-fill-color: currentColor !important; background: none; animation: none; }
}

/* ============================================================
   FORCE HORIZONTAL GRID for EĞİTİM cards (defeat any leakage)
   ============================================================ */
.ma-edu__cards,
section.ma-edu .ma-edu__cards,
body .ma-edu__cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin-bottom: 28px;
}
.ma-edu__cards > * {
    min-width: 0 !important;
    width: 100% !important;
}
@media (max-width: 980px) {
    .ma-edu__cards,
    section.ma-edu .ma-edu__cards,
    body .ma-edu__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 640px) {
    .ma-edu__cards,
    section.ma-edu .ma-edu__cards,
    body .ma-edu__cards {
        grid-template-columns: 1fr !important;
    }
}

/* Same hardening for OYUN GELİŞTİRME row */
.ma-game__row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}
.ma-game__row > * { min-width: 0 !important; width: 100% !important; }
@media (max-width: 980px) {
    .ma-game__row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
    .ma-game__row { grid-template-columns: 1fr !important; }
}

/* ============================================================
   VIDEO TRIGGER consistency for all sections (button reset + overlays)
   ============================================================ */
button.ma-anim__main,
button.ma-vr__center,
button.ma-game__cell,
button.ma-vid-card,
button.ma-vid-trigger {
    border: 1px solid rgba(78,195,255,0.15) !important;
    background: #0a1733 !important;
    cursor: pointer !important;
    padding: 0 !important;
    font-family: inherit !important;
    color: inherit !important;
    overflow: hidden !important;
    position: relative !important;
    border-radius: 18px !important;
    display: block !important;
    width: 100% !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}
button.ma-anim__main:hover,
button.ma-vr__center:hover,
button.ma-game__cell:hover,
button.ma-vid-card:hover,
button.ma-vid-trigger:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(78,195,255,0.55) !important;
    box-shadow: 0 24px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(78,195,255,0.20) !important;
}

/* Force play overlay on all video buttons */
button.ma-anim__main .ma-vid-card__play,
button.ma-vr__center .ma-vid-card__play,
button.ma-game__cell .ma-vid-card__play {
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 72px !important; height: 72px !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,0.55) !important;
    backdrop-filter: blur(8px) !important;
    border: 2px solid rgba(78,195,255,0.7) !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    z-index: 5 !important;
    pointer-events: none;
    transition: all 0.25s ease !important;
}
button.ma-anim__main:hover .ma-vid-card__play,
button.ma-vr__center:hover .ma-vid-card__play,
button.ma-game__cell:hover .ma-vid-card__play {
    transform: translate(-50%, -50%) scale(1.15) !important;
    background: linear-gradient(135deg, #2bb8ff 0%, #1e9be0 100%) !important;
    border-color: rgba(255,255,255,0.6) !important;
}

/* Image inside any video button: dim slightly + smooth hover */
button.ma-anim__main img,
button.ma-vr__center img,
button.ma-game__cell img,
button.ma-vid-card img,
button.ma-vid-trigger img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.88;
    transition: transform 0.6s ease, opacity 0.3s ease !important;
}
button.ma-anim__main:hover img,
button.ma-vr__center:hover img,
button.ma-game__cell:hover img,
button.ma-vid-card:hover img,
button.ma-vid-trigger:hover img {
    transform: scale(1.05) !important;
    opacity: 1 !important;
}

/* Meta caption visible on all video buttons */
button .ma-vid-card__meta {
    position: absolute !important;
    left: 0; right: 0; bottom: 0;
    padding: 14px 16px !important;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85)) !important;
    color: #fff !important;
    text-align: left !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    z-index: 4 !important;
    pointer-events: none;
}

/* ============================================================
   COURSE TILE (linked card, no play button — for EĞİTİM section)
   ============================================================ */
.ma-edu__cards--6 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}
@media (max-width: 980px) { .ma-edu__cards--6 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .ma-edu__cards--6 { grid-template-columns: 1fr !important; } }

.ma-course-tile {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    background: #0a1733;
    border: 1px solid rgba(78,195,255,0.15);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ma-course-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(78,195,255,0.50);
    box-shadow: 0 24px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(78,195,255,0.20);
    text-decoration: none;
}
.ma-course-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.3s ease;
    opacity: 0.75;
}
.ma-course-tile:hover img {
    transform: scale(1.06);
    opacity: 1;
}
.ma-course-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(7,17,42,0.92) 100%);
    pointer-events: none;
    z-index: 1;
}
.ma-course-tile__meta {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 18px 20px;
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ma-course-tile__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}
.ma-course-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ma-cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transform: translateY(8px);
    opacity: 0;
    transition: all 0.3s ease;
}
.ma-course-tile:hover .ma-course-tile__cta {
    transform: translateY(0);
    opacity: 1;
}

/* Color variety for 6-tile grid (every other tile has accent border) */
.ma-edu__cards--6 > *:nth-child(2),
.ma-edu__cards--6 > *:nth-child(4),
.ma-edu__cards--6 > *:nth-child(6) { border-color: rgba(167,139,250,0.18); }
.ma-edu__cards--6 > *:nth-child(2):hover,
.ma-edu__cards--6 > *:nth-child(4):hover,
.ma-edu__cards--6 > *:nth-child(6):hover { border-color: rgba(167,139,250,0.55); box-shadow: 0 24px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(167,139,250,0.20); }
.ma-edu__cards--6 > *:nth-child(2) .ma-course-tile__cta,
.ma-edu__cards--6 > *:nth-child(4) .ma-course-tile__cta,
.ma-edu__cards--6 > *:nth-child(6) .ma-course-tile__cta { color: #c4b5fd; }
.ma-edu__cards--6 > *:nth-child(3),
.ma-edu__cards--6 > *:nth-child(5) { border-color: rgba(255,126,182,0.18); }
.ma-edu__cards--6 > *:nth-child(3):hover,
.ma-edu__cards--6 > *:nth-child(5):hover { border-color: rgba(255,126,182,0.55); }

/* OYUN GELİŞTİRME 2-card variant (when only 2 cells) */
.ma-game__row--2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 720px) { .ma-game__row--2 { grid-template-columns: 1fr !important; } }
