/* =============================================
   TURNIEJ PAGE — Modernist Design
   ============================================= */

/* Hero */
.t-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 2rem 4rem;
    overflow: hidden;
    background: var(--bg-darker);
}

.t-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.t-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 185, 5, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 185, 5, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

.t-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.t-hero__glow--1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 185, 5, 0.08);
    top: -150px;
    right: -100px;
}

.t-hero__glow--2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 185, 5, 0.05);
    bottom: -100px;
    left: -100px;
}

.t-hero__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.t-hero__collab {
    margin-bottom: -2.5rem;
}

.t-hero__logo {
    height: 200px;
    width: auto;
    opacity: 0.9;
    filter: invert(1);
}

.t-hero__title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.t-hero__title span {
    color: var(--primary);
    display: inline-block;
}

.t-hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.6;
}

.t-hero__meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0.5rem 0;
}

.t-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 185, 5, 0.08);
    border: 1px solid rgba(255, 185, 5, 0.15);
    border-radius: 10px;
}

.t-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
    border-radius: 14px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Info Section */
.t-info {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.t-info__container {
    max-width: 1100px;
    margin: 0 auto;
}

.t-info__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.t-info__header h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
    margin-top: 0.5rem;
}

.t-info__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.t-info__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    flex: 0 1 300px;
}

.t-info__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.t-info__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 185, 5, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.t-info__card:hover::before {
    opacity: 1;
}

.t-info__card-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 185, 5, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.t-info__card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.t-info__card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.t-info__card strong {
    color: var(--primary);
    font-weight: 700;
}

/* Schedule / Timeline */
.t-schedule {
    padding: 6rem 2rem;
    background: var(--bg-darker);
}

.t-schedule__container {
    max-width: 700px;
    margin: 0 auto;
}

.t-schedule__timeline {
    position: relative;
    padding-left: 2rem;
}

.t-schedule__timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), rgba(255, 185, 5, 0.1));
    border-radius: 2px;
}

.t-schedule__item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}

.t-schedule__item:last-child {
    padding-bottom: 0;
}

.t-schedule__dot {
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-5px);
    box-shadow: 0 0 16px rgba(255, 185, 5, 0.4);
}

.t-schedule__time {
    font-family: 'Anton', sans-serif;
    font-size: 1.35rem;
    color: var(--primary);
    min-width: 65px;
    font-weight: 400;
}

.t-schedule__desc h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.t-schedule__desc p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Section */
.t-cta {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.t-cta__container {
    max-width: 560px;
    margin: 0 auto;
}

.t-cta__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.t-cta__card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 185, 5, 0.3), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.t-cta__price-tag {
    display: inline-block;
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.t-cta__card h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.t-cta__card > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.t-cta__details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.t-cta__detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.t-cta__detail svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Partners */
.t-partners {
    padding: 4rem 2rem;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.t-partners__container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.t-partners__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.t-partners__logo {
    height: 250px;
    width: auto;
    filter: invert(1);
    opacity: 0.9;
}

.t-partners__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.t-partners__name {
    font-family: 'Anton', sans-serif;
    font-size: 1.75rem;
    color: var(--text-primary);
    font-weight: 400;
}

.t-partners__role {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.t-partners__divider {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
}

/* =============================================
   Responsywność — turniej
   ============================================= */
@media (max-width: 768px) {
    .t-hero {
        padding: 6rem 1.5rem 3rem;
    }

    .t-hero__meta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .t-hero__meta-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .t-hero__actions {
        flex-direction: column;
        width: 100%;
        max-width: 340px;
    }

    .t-hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .t-info,
    .t-schedule,
    .t-cta,
    .t-partners {
        padding: 4rem 1.5rem;
    }

    .t-info__grid {
        grid-template-columns: 1fr;
    }

    .t-cta__card {
        padding: 2rem 1.5rem;
    }

    .t-partners__logos {
        gap: 1.5rem;
    }

    .t-partners__logo {
        height: 180px;
    }

    .t-partners__name {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .t-hero__logo {
        height: 150px;
    }

    .t-schedule__item {
        gap: 1rem;
    }

    .t-schedule__time {
        font-size: 1.1rem;
        min-width: 50px;
    }

    .t-cta__price-tag {
        font-size: 2rem;
    }
}
