/* ==========================================================================
   SPARTA1893.CZ - MODERNÍ STYLY STRÁNKY ODKAZY
   ========================================================================== */

/* Hlavní kontejner stránky */
.odkazy-page-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 20px 60px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   1. HERO SEKCIA A HLAVIČKA
   -------------------------------------------------------------------------- */
.odkazy-hero {
    text-align: center;
    padding: 30px 15px 35px;
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

/* Hlavní H1 nadpis */
.odkazy-hero-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.15;
    margin: 0 0 14px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.odkazy-hero-title .highlight {
    background: linear-gradient(135deg, #ffc72c 0%, #eabf12 50%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.odkazy-hero-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #bbbbcf;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 680px;
}

/* --------------------------------------------------------------------------
   2. MODERNÍ MŘÍŽKA KARET
   -------------------------------------------------------------------------- */
.sparta-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 15px;
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
    .sparta-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .sparta-links-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* --------------------------------------------------------------------------
   3. MODERNÍ KARTA ODKAZU (ČISTÝ DESIGN BEZ ŠTÍTKŮ, IKON A ŠIPEK)
   -------------------------------------------------------------------------- */
.sparta-link-card {
    background: linear-gradient(155deg, rgba(26, 26, 44, 0.9) 0%, rgba(15, 15, 26, 0.96) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 26px 26px 20px;
    text-decoration: none !important;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    min-height: 185px;
}

/* Horní tenká linka sparťanské trikolóry */
.sparta-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0033a0 0%, #ffc72c 50%, #ac1f2d 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease, height 0.3s ease;
}

/* Hover efekt karty */
.sparta-link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 153, 0, 0.45);
    background: linear-gradient(155deg, rgba(32, 32, 54, 0.95) 0%, rgba(18, 18, 32, 0.98) 100%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(172, 31, 45, 0.22);
}

.sparta-link-card:hover::before {
    opacity: 1;
    height: 3.5px;
}

/* Obsah karty */
.sparta-link-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 16px;
}

.sparta-link-title {
    font-family: var(--font-heading);
    color: var(--color-hover, #FF9900);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 10px 0;
    line-height: 1.25;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.sparta-link-card:hover .sparta-link-title {
    color: #ffaa1a;
    text-shadow: 0 0 16px rgba(255, 153, 0, 0.6);
}

.sparta-link-desc {
    font-family: var(--font-body);
    color: #b8b8cc;
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
}

/* Spodní řádek s doménou */
.sparta-link-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: auto;
}

.sparta-link-domain {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: #9a9ab4;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius-pill, 999px);
    transition: all 0.25s ease;
    display: inline-block;
}

.sparta-link-card:hover .sparta-link-domain {
    color: var(--color-hover, #FF9900);
    background: rgba(172, 31, 45, 0.25);
    border-color: rgba(255, 153, 0, 0.35);
}

/* --------------------------------------------------------------------------
   4. CTA BANER PRO NAVRŽENÍ NOVÉHO ODKAZU (FUTURE-PROOFING)
   -------------------------------------------------------------------------- */
.odkazy-suggest-banner {
    background: linear-gradient(135deg, rgba(22, 22, 38, 0.92) 0%, rgba(14, 14, 24, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 32px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.odkazy-suggest-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ac1f2d 0%, #ffc72c 50%, #0033a0 100%);
}

.odkazy-suggest-content {
    flex: 1;
}

.odkazy-suggest-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 8px 0;
}

.odkazy-suggest-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #a4a4be;
    line-height: 1.55;
    margin: 0;
    max-width: 720px;
}

.odkazy-suggest-btn {
    background: linear-gradient(135deg, rgba(172, 31, 45, 0.95), rgba(138, 23, 35, 0.95));
    border: 1px solid rgba(255, 199, 44, 0.35);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 12px 24px;
    border-radius: var(--radius-md, 8px);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(172, 31, 45, 0.3);
    flex-shrink: 0;
}

.odkazy-suggest-btn:hover {
    background: linear-gradient(135deg, #c42434, #9c1b28);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(172, 31, 45, 0.45);
    border-color: #ffc72c;
    color: #ffffff;
}

@media (max-width: 820px) {
    .odkazy-suggest-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    
    .odkazy-suggest-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}
