
.contacts-section {
    max-width: 71.25rem;
    width: 100%;
    margin: 0 auto;
    font-family: 'Crimson Pro', serif;
    color: #e8ddd0;
    position: relative;
    z-index: 1;
}

/* ── HEADER ── */
.s-header {
    text-align: center;
    margin-bottom: 3.75rem;
}

.s-header h2 {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 3.8vw, 2.25rem);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #f0e6da;
    text-shadow: 0 0 1.875rem rgba(255, 70, 20, 0.2), 0 0.125rem 0.375rem rgba(0, 0, 0, 0.7);
    margin: 0;
}

.s-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    margin-top: 1.125rem;
}

.s-divider .line {
    width: 3.75rem;
    height: 0.0625rem;
    background: linear-gradient(90deg, transparent, #6b3a1a, transparent);
}

.s-divider .rune {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.125rem;
    color: #ff5a1f;
    text-shadow: 0 0 0.75rem rgba(255, 80, 20, 0.5);
    animation: runeFlicker 3s ease-in-out infinite;
}

@keyframes runeFlicker {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 0.75rem rgba(255, 80, 20, 0.5);
    }
    50% {
        opacity: 0.6;
        text-shadow: 0 0 0.375rem rgba(255, 80, 20, 0.25);
    }
}

.s-subtitle {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.6875rem;
    color: #5a4a3a;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-top: 1rem;
}

/* ── GRID ── */
.tablets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.625rem;
    align-items: start;
    max-width: 60rem;
    margin: 0 auto;
}

.tablets-grid .tablet-wrap:nth-child(2) {
    transform: translateY(-0.875rem);
}

@media (max-width: 56.25rem) {
    .tablets-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tablets-grid .tablet-wrap:nth-child(2) .tablet {
        margin-top: 0;
    }
}

@media (max-width: 37.5rem) {
    .tablets-grid {
        grid-template-columns: 1fr;
        gap: 1.375rem;
    }
}

/* ── TABLET WRAPPER ── */
.tablet-wrap {
    --accent: #ff5a1f;
    --accent-dim: rgba(255, 90, 31, 0.12);
    position: relative;
    cursor: pointer;
}

.tablet-wrap.discord {
    --accent: #7b6fff;
}

.tablet-wrap.telegram {
    --accent: #29a0d5;
}

.tablet-wrap.support {
    --accent: #ff5a1f;
}

/* ── TABLET ── */
.tablet {
    position: relative;
    background: linear-gradient(170deg, rgba(22, 18, 16, 0.92) 0%, rgba(14, 12, 11, 0.95) 100%);
    backdrop-filter: blur(0.875rem);
    -webkit-backdrop-filter: blur(0.875rem);
    border: 0.0625rem solid rgba(80, 50, 30, 0.25);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    clip-path: polygon(
            0.75rem 0%, calc(100% - 0.75rem) 0%,
            100% 0.75rem, 100% calc(100% - 0.75rem),
            calc(100% - 0.75rem) 100%, 0.75rem 100%,
            0% calc(100% - 0.75rem), 0% 0.75rem
    );
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}

.tablet-wrap:hover .tablet {
    transform: translateY(-0.5rem);
    border-color: rgba(80, 50, 30, 0.45);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
}

/* inner vignette */
.tablet::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 3.75rem rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 3;
}

/* top lava crack */
.tablet::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 0.1875rem;
    background: linear-gradient(
            90deg,
            transparent 5%,
            color-mix(in srgb, var(--accent) 10%, transparent) 20%,
            color-mix(in srgb, var(--accent) 40%, transparent) 50%,
            color-mix(in srgb, var(--accent) 10%, transparent) 80%,
            transparent 95%
    );
    box-shadow: 0 0 0.75rem color-mix(in srgb, var(--accent) 25%, transparent);
    z-index: 4;
    transition: all 0.5s ease;
}

.tablet-wrap:hover .tablet::after {
    height: 0.25rem;
    box-shadow: 0 0 1.25rem color-mix(in srgb, var(--accent) 40%, transparent), 0 0 2.5rem color-mix(in srgb, var(--accent) 12%, transparent);
}

/* ── SIGIL AREA ── */
.sigil-area {
    width: 100%;
    padding: 1.875rem 1.5rem 1.25rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.sigil-bg {
    position: absolute;
    top: 0.625rem;
    width: 7.5rem;
    height: 7.5rem;
    opacity: 0.04;
    transition: opacity 0.5s ease;
}

.tablet-wrap:hover .sigil-bg {
    opacity: 0.08;
}

.sigil-bg circle, .sigil-bg line, .sigil-bg polygon {
    stroke: var(--accent);
    fill: none;
    stroke-width: 0.5;
}

/* icon */
.tablet-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-bottom: 0.375rem;
}

.icon-orbit {
    position: absolute;
    inset: -0.625rem;
    border-radius: 50%;
    border: 0.0625rem dashed color-mix(in srgb, var(--accent) 15%, transparent);
    animation: orbit 20s linear infinite;
    transition: border-color 0.5s ease;
}

.tablet-wrap:hover .icon-orbit {
    border-color: color-mix(in srgb, var(--accent) 30%, transparent);
    animation-duration: 10s;
}

@keyframes orbit {
    to {
        transform: rotate(360deg);
    }
}

.icon-orbit::after {
    content: '';
    position: absolute;
    top: -0.125rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.25rem;
    height: 0.25rem;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0.375rem var(--accent);
}

.tablet-icon svg {
    width: 1.875rem;
    height: 1.875rem;
    fill: var(--accent);
    filter: drop-shadow(0 0 0.5rem color-mix(in srgb, var(--accent) 35%, transparent));
    transition: filter 0.4s ease, transform 0.4s ease;
}

.tablet-wrap:hover .tablet-icon svg {
    filter: drop-shadow(0 0 0.875rem color-mix(in srgb, var(--accent) 55%, transparent));
    transform: scale(1.1);
}

/* ── CRACK DIVIDER ── */
.crack-line {
    width: 80%;
    height: 0.0625rem;
    background: linear-gradient(90deg, transparent, rgba(80, 50, 30, 0.4), transparent);
    position: relative;
    margin: 0.25rem 0;
}

.crack-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -0.0625rem;
    transform: translateX(-50%);
    width: 30%;
    height: 0.1875rem;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 20%, transparent), transparent);
    filter: blur(0.0625rem);
}

/* ── CONTENT ── */
.tablet-body {
    padding: 1rem 1.625rem 1.625rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    flex: 1;
    width: 100%;
}

.tablet-title {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #f0e6da;
    margin-bottom: 0.625rem;
    transition: text-shadow 0.4s ease, color 0.4s ease;
}

.tablet-wrap:hover .tablet-title {
    color: #fff;
    text-shadow: 0 0 1.125rem color-mix(in srgb, var(--accent) 30%, transparent);
}

.tablet-desc {
    font-family: 'Crimson Pro', serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6e5f50;
    margin-bottom: 0.875rem;
    max-width: 15.625rem;
}

.tablet-link {
    font-family: 'MedievalSharp', cursive;
    font-size: 0.8125rem;
    color: var(--accent);
    opacity: 0.55;
    margin-bottom: 0.625rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.tablet-wrap:hover .tablet-link {
    opacity: 0.85;
}

/* ── ANIMATED RUNE SEPARATOR (above button) ── */
.rune-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.125rem;
    margin-top: auto;
    width: 100%;
    padding: 0 1rem;
}

.rune-separator .sep-line {
    flex: 1;
    height: 0.0625rem;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 18%, transparent), transparent);
    position: relative;
}

/* animated spark traveling along line */
.rune-separator .sep-line::after {
    content: '';
    position: absolute;
    top: -0.0625rem;
    width: 1.25rem;
    height: 0.1875rem;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(0.125rem);
    opacity: 0.5;
    animation: sparkTravel 3s ease-in-out infinite;
}

.rune-separator .sep-line:first-child::after {
    left: 0;
    animation-direction: normal;
}

.rune-separator .sep-line:last-child::after {
    right: 0;
    left: auto;
    animation-direction: reverse;
}

@keyframes sparkTravel {
    0% {
        left: 0%;
        opacity: 0;
    }
    15% {
        opacity: 0.6;
    }
    50% {
        left: 80%;
        opacity: 0.8;
    }
    85% {
        opacity: 0.6;
    }
    100% {
        left: 0%;
        opacity: 0;
    }
}

.rune-separator .sep-rune {
    font-family: 'MedievalSharp', cursive;
    font-size: 0.875rem;
    color: var(--accent);
    opacity: 0.35;
    text-shadow: 0 0 0.5rem color-mix(in srgb, var(--accent) 30%, transparent);
    animation: sepRunePulse 4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes sepRunePulse {
    0%, 100% {
        opacity: 0.35;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.15);
    }
}

.tablet-wrap:hover .rune-separator .sep-rune {
    opacity: 0.9;
    text-shadow: 0 0 0.75rem color-mix(in srgb, var(--accent) 55%, transparent);
}

.tablet-wrap:hover .rune-separator .sep-line {
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 30%, transparent), transparent);
}

.tablet-wrap:hover .rune-separator .sep-line::after {
    opacity: 0.8;
}

/* ══════════════════════════════════════
   CTA BUTTON — dark rect, accent left
   border, card-matched colors
   ══════════════════════════════════════ */
.tablet-cta {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.site-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.375rem;
    background: linear-gradient(180deg, rgba(22, 18, 15, 0.95) 0%, rgba(10, 8, 7, 0.98) 100%);
    border: 0.0625rem solid rgba(60, 40, 25, 0.5);
    border-left: 0.1875rem solid var(--accent);
    border-radius: 0.1875rem;
    color: color-mix(in srgb, var(--accent) 60%, #e0d0c0);
    font-family: 'Cinzel', serif;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    box-shadow: -0.25rem 0 0.75rem color-mix(in srgb, var(--accent) 6%, transparent),
    inset 0 0 1.25rem rgba(0, 0, 0, 0.2);
}

/* top highlight shimmer */
.site-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.0625rem;
    background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 25%, transparent),
    color-mix(in srgb, var(--accent) 8%, transparent) 50%,
    transparent
    );
    transition: all 0.4s ease;
}

/* inner accent glow from left */
.site-btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 8%, transparent),
    transparent
    );
    opacity: 0.6;
    transition: all 0.4s ease;
    pointer-events: none;
}

.site-btn .btn-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: filter 0.4s ease, transform 0.4s ease;
    filter: drop-shadow(0 0 0.125rem color-mix(in srgb, var(--accent) 20%, transparent));
}

.site-btn .btn-icon path {
    stroke: color-mix(in srgb, var(--accent) 70%, #ccc);
    transition: stroke 0.4s ease;
}

.site-btn span {
    position: relative;
    z-index: 2;
}

/* ── CARD HOVER → button reacts ── */
.tablet-wrap:hover .site-btn {
    border-color: color-mix(in srgb, var(--accent) 30%, rgba(60, 40, 25, 0.6));
    border-left-color: var(--accent);
    color: #fff;
    box-shadow: -0.375rem 0 1.25rem color-mix(in srgb, var(--accent) 14%, transparent),
    0 0 1rem color-mix(in srgb, var(--accent) 6%, transparent),
    inset 0 0 1.5rem rgba(0, 0, 0, 0.15);
}

.tablet-wrap:hover .site-btn::before {
    background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 45%, transparent),
    color-mix(in srgb, var(--accent) 15%, transparent) 50%,
    transparent
    );
}

.tablet-wrap:hover .site-btn::after {
    width: 3.5rem;
    opacity: 1;
}

.tablet-wrap:hover .site-btn .btn-icon {
    filter: drop-shadow(0 0 0.375rem color-mix(in srgb, var(--accent) 50%, transparent));
    transform: scale(1.1);
}

.tablet-wrap:hover .site-btn .btn-icon path {
    stroke: #fff;
}

/* ── DIRECT BUTTON HOVER (extra punch) ── */
.site-btn:hover {
    border-left-width: 0.25rem !important;
    border-left-color: var(--accent) !important;
    color: #fff !important;
    box-shadow: -0.5rem 0 1.5rem color-mix(in srgb, var(--accent) 22%, transparent),
    0 0 1.25rem color-mix(in srgb, var(--accent) 10%, transparent),
    inset 0 0 2rem color-mix(in srgb, var(--accent) 4%, transparent) !important;
}

.site-btn:hover::after {
    width: 100% !important;
    opacity: 0.5 !important;
}

.site-btn:active {
    transform: scale(0.97);
    border-left-width: 0.1875rem !important;
    box-shadow: -0.25rem 0 0.5rem color-mix(in srgb, var(--accent) 10%, transparent),
    inset 0 0.125rem 0.5rem rgba(0, 0, 0, 0.5) !important;
}

/* ── CORNER RUNES ── */
.corner-rune {
    position: absolute;
    font-family: 'MedievalSharp', cursive;
    font-size: 0.625rem;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 5;
    text-shadow: 0 0 0.375rem color-mix(in srgb, var(--accent) 40%, transparent);
    pointer-events: none;
}

.corner-rune.tl {
    top: 0.5rem;
    left: 0.75rem;
}

.corner-rune.tr {
    top: 0.5rem;
    right: 0.75rem;
}

.corner-rune.bl {
    bottom: 0.5rem;
    left: 0.75rem;
}

.corner-rune.br {
    bottom: 0.5rem;
    right: 0.75rem;
}

.tablet-wrap:hover .corner-rune {
    opacity: 0.4;
}

/* ── ENTRANCE ── */
.tablet-wrap {
    opacity: 0;
    animation: tabletRise 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.tablet-wrap:nth-child(1) {
    animation-delay: 0.1s;
}

.tablet-wrap:nth-child(2) {
    animation-delay: 0.25s;
}

.tablet-wrap:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes tabletRise {
    0% {
        opacity: 0;
        transform: translateY(2.5rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* center card offset via margin */
.tablets-grid .tablet-wrap:nth-child(2) .tablet {
    margin-top: -0.875rem;
}