/* Fırsatlar Köşesi & Araçlar — Oweb tarzı hub sayfaları */

.hub-page {
    --hub-orange: #ff8c00;
    --hub-dark: #0f1219;
    --hub-card: #1c2230;
}

.hub-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.hub-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
}

.hub-breadcrumb a:hover { color: var(--hub-orange); }

.hub-breadcrumb [aria-current="page"] { color: #e2e8f0; }

.hub-page__body {
    padding-top: 1.75rem;
    background: var(--hub-dark);
}

.hub-page__empty {
    margin: 1.5rem 0 0;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

.hub-page__empty--hidden[hidden] { display: none; }

.hub-aside-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.15rem;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #ff8c00, #ffab40);
    transition: opacity 0.2s, transform 0.2s;
}

.hub-aside-card__btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* —— Fırsatlar Köşesi —— */
.firsatlar-hero {
    padding: 2.5rem 0 2rem;
    background:
        radial-gradient(ellipse 80% 120% at 90% 0%, rgba(255, 140, 0, 0.22) 0%, transparent 50%),
        linear-gradient(180deg, #1a2234 0%, var(--hub-dark) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.firsatlar-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
}

.firsatlar-hero__title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #f8fafc;
}

.firsatlar-hero__title::before {
    content: '# ';
    color: var(--hub-orange);
}

.firsatlar-hero__text {
    margin: 1rem 0 0;
    max-width: 40rem;
    font-size: 15px;
    line-height: 1.6;
    color: #94a3b8;
}

.firsatlar-hero__countdown {
    margin-top: 1.5rem;
}

.firsatlar-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}

.firsatlar-toolbar__label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.firsatlar-intro {
    margin: 0 0 1.25rem;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

.hub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.hub-filters__btn {
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--hub-card);
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.hub-filters__btn:hover,
.hub-filters__btn.is-active {
    color: #fff;
    border-color: rgba(255, 140, 0, 0.5);
    background: rgba(255, 140, 0, 0.15);
}

.hub-filters__btn.is-active { color: var(--hub-orange); }

.firsatlar-deals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.deal-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.35rem 1.5rem;
    border-radius: 16px;
    background: var(--hub-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.deal-card:hover {
    border-color: rgba(255, 140, 0, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.deal-card--coupon {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.12) 0%, var(--hub-card) 45%);
    border-color: rgba(255, 140, 0, 0.3);
}

.deal-card.is-hidden { display: none; }

.deal-card__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hub-orange);
    background: rgba(255, 140, 0, 0.12);
}

.deal-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;
    color: #f8fafc;
}

.deal-card__title a {
    color: inherit;
    text-decoration: none;
}

.deal-card__title a:hover { color: var(--hub-orange); }

.deal-card--coupon .deal-card__title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.deal-countdown__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.deal-countdown__grid {
    display: inline-flex;
    gap: 0.5rem;
}

.deal-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3rem;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.deal-countdown__unit b {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.deal-countdown__unit small {
    margin-top: 0.2rem;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.deal-card__coupon-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.deal-card__code {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--hub-orange);
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed rgba(255, 140, 0, 0.45);
}

.deal-card__copy {
    padding: 0.5rem 1.1rem;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #ff8c00, #ff5e00);
    transition: opacity 0.2s, transform 0.2s;
}

.deal-card__copy:hover { opacity: 0.9; transform: scale(1.02); }

.deal-card__copy.is-copied {
    background: linear-gradient(135deg, #10b981, #059669);
}

.deal-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--hub-orange);
    text-decoration: none;
}

.deal-card__link:hover { gap: 0.5rem; }

.deal-card__link .icon { width: 14px; height: 14px; }

/* —— Araçlar (tüm araçlar index) —— */
.araclar-hub {
    background: var(--hub-dark);
}

.hub-breadcrumb--light .hub-breadcrumb a { color: #94a3b8; }
.hub-breadcrumb--light [aria-current="page"] { color: #f1f5f9; }

.araclar-hero {
    padding: 2.25rem 0 2rem;
    background:
        radial-gradient(ellipse 70% 90% at 100% 0%, rgba(255, 140, 0, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 50% 70% at 0% 100%, rgba(59, 130, 246, 0.1) 0%, transparent 45%),
        linear-gradient(180deg, #151a26 0%, var(--hub-dark) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.araclar-hero__inner {
    display: grid;
    gap: 1.5rem;
    align-items: end;
}

@media (min-width: 768px) {
    .araclar-hero__inner {
        grid-template-columns: 1fr auto;
        gap: 2rem;
    }
}

.araclar-hero__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hub-orange);
}

.araclar-hero__title {
    margin: 0;
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #f8fafc;
    line-height: 1.08;
}

.araclar-hero__lead {
    margin: 0.6rem 0 0;
    max-width: 38rem;
    font-size: 16px;
    line-height: 1.55;
    color: #94a3b8;
}

.araclar-hero__intro {
    margin: 0.5rem 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

.araclar-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.araclar-hero__stats li {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 5.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.araclar-hero__stats strong {
    font-size: 1.35rem;
    font-weight: 900;
    color: #f8fafc;
    line-height: 1.1;
}

.araclar-hero__stats span {
    margin-top: 0.15rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.araclar-main {
    padding-top: 1.75rem;
    background: var(--hub-dark);
}

.araclar-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
}

.araclar-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1 1 280px;
    max-width: 420px;
    padding: 0.55rem 1rem;
    border-radius: 12px;
    background: var(--hub-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.araclar-search:focus-within {
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.12);
}

.araclar-search__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #64748b;
}

.araclar-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #f1f5f9;
    outline: none;
}

.araclar-search__input::placeholder { color: #64748b; }

.araclar-toolbar__hint {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.araclar-empty {
    margin: 0 0 1rem;
    padding: 1rem;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.araclar-empty[hidden] { display: none; }

.araclar-mega {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: start;
}

.araclar-mega__col {
    border-radius: 16px;
    background: var(--hub-card);
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    transition: border-color 0.2s;
}

.araclar-mega__col.is-empty {
    opacity: 0.45;
    pointer-events: none;
}

.araclar-mega__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}

.araclar-mega__title {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e2e8f0;
    line-height: 1.3;
}

.araclar-mega__count {
    flex-shrink: 0;
    min-width: 1.5rem;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    color: var(--hub-orange);
    background: rgba(255, 140, 0, 0.12);
}

.araclar-mega__list {
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
}

.araclar-mega__item.is-hidden { display: none; }

.araclar-mega__link {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.araclar-mega__link:hover {
    background: rgba(255, 140, 0, 0.08);
}

.araclar-mega__link:hover .araclar-mega__name { color: var(--hub-orange); }
.araclar-mega__link:hover .araclar-mega__arrow {
    opacity: 1;
    transform: translateX(2px);
    color: var(--hub-orange);
}

.araclar-mega__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
}

.araclar-mega__icon .icon { width: 16px; height: 16px; }

.araclar-mega__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.araclar-mega__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #f1f5f9;
    transition: color 0.15s;
}

.araclar-mega__desc {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.araclar-mega__arrow {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 0.15rem;
    opacity: 0;
    color: #64748b;
    transition: opacity 0.15s, transform 0.15s, color 0.15s;
}

.araclar-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-top: 2.5rem;
    padding: 1.35rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.12) 0%, var(--hub-card) 55%);
    border: 1px solid rgba(255, 140, 0, 0.25);
}

.araclar-cta__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #f8fafc;
}

.araclar-cta__desc {
    margin: 0.35rem 0 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

.araclar-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #ff8c00, #ff5e00);
    box-shadow: 0 4px 16px rgba(255, 94, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.araclar-cta__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 94, 0, 0.35);
}

@media (max-width: 1200px) {
    .araclar-mega { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .firsatlar-deals { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .araclar-mega { grid-template-columns: 1fr; }
    .araclar-hero__stats { width: 100%; }
    .araclar-hero__stats li { flex: 1; min-width: 0; }
    .araclar-search { max-width: none; }
}

@media (max-width: 600px) {
    .deal-countdown__grid { flex-wrap: wrap; }
    .firsatlar-toolbar { flex-direction: column; align-items: flex-start; }
}
