/* --- ZÁKLADNÍ NASTAVENÍ A PROMĚNNÉ --- */
:root {
    --yellow: #ffcc00;
    --dark: #050505;
    --grid-line: rgba(255, 255, 255, 0.04);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--dark);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- MŘÍŽKOVANÉ POZADÍ --- */
.grid-bg {
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px), 
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 45px 45px;
}

/* --- NAVIGACE --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--yellow); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    background: white;
    color: black;
    border: none;
    padding: 8px 20px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.login-btn:hover {
    background: var(--yellow);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.cart-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.badge {
    background: var(--yellow);
    color: black;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
}

/* --- HERO SEKCE --- */
.hero {
    text-align: center;
    padding: 50px 0 10px; /* Zmenšen horní i spodní odstup */
    position: relative;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 65px; /* Zmenšeno z 85px pro čistší vzhled */
    margin: 0;
}

.hero h1 span { color: var(--yellow); }
.hero p { color: #ccc; margin-top: 10px; font-size: 15px; }

/* --- ŽLUTÁ SEKCE (Zúžení pruhu a celkové zmenšení prvků) --- */
.yellow-container {
    position: relative;
    margin-top: 60px; /* Snížen odstup od nadpisu */
}

.popular-title {
    position: absolute;
    top: 19px;
    left: 14%;
    z-index: 80;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 42px; /* Zmenšeno z 60px */
    font-weight: 900;
    text-transform: uppercase;
    transform: rotate(-2deg);
    text-shadow: 4px 4px 12px rgba(0,0,0,0.5);
    margin: 0;
}

.yellow-diagonal {
    background: var(--yellow);
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    padding: 70px 0; /* ZÚŽENÍ PRUHU: Zmenšeno ze 130px na 70px */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* --- POSTAVA (Zmenšení celkových rozměrů) --- */
.hero-character {
    position: absolute;
    right: 8%;
    bottom: 61px; /* Upraveno, aby seděla k užšímu pruhu */
    height: 700px; /* ZMENŠENÍ POSTAVY: Zmenšeno z 1000px */
    width: auto;
    z-index: 99;
    pointer-events: none;
    overflow: hidden;
    transform: rotate(0.7deg);
}

.hero-character img {
    height: 100%;
    width: auto;
    display: block;
}

/* --- BALÍČKY (Zmenšení krabiček a zachování ořezu) --- */
.showcase {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px; 
    position: relative;
    z-index: 20;
    margin-right: 38%; /* ZVĚTŠENO z 26 % na 38 %: Odhodí balíčky hluboko do levé části žlutého pruhu */
    max-width: 800px; 
    margin-left: auto;
}

.bundle-card {
    background: transparent;
    border: none;
    padding: 0;
    width: 190px; /* Zmenšeno z 260px */
    text-align: center;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bundle-card.main {
    width: 235px; /* Zmenšeno z 320px – prostřední zůstává o něco větší */
    z-index: 5;
}

/* Úprava ořezu pro menší výšku */
.showcase .product-img {
    width: 100%;
    height: 280px; /* Zmenšena výška z 380px pro oříznutí menších karet */
    object-fit: cover;
    object-position: center;
    display: block;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
    transition: filter 0.4s ease;
}

.showcase .bundle-card.main .product-img {
    height: 340px; /* Zmenšena výška z 460px */
}

.product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px; /* Jemnější písmo nadpisu balíčku */
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -5px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Přizpůsobené hover efekty pro menší měřítko */
.bundle-card:hover {
    transform: translateY(-10px) scale(1.04);
}

.bundle-card.main:hover {
    transform: translateY(-10px) scale(1.06);
}

.bundle-card:hover .product-img {
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.9)) brightness(1.1);
}

.bundle-card:hover .product-title {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- SEKCE BENEFITŮ --- */
.benefits {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 4%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    background: #0a0a0a;
    border: 1px solid #141414;
    padding: 40px 30px;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    border-color: rgba(255, 204, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    margin-bottom: 20px;
}

.icon img {
    height: 65px;
    width: auto;
}

.featured-icon .icon img {
    height: 60px;
}

.benefit-item p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    color: #ffffff;
}

/* --- HORIZONTÁLNÍ SLIDER PRODUKTŮ --- */
.store-section {
    max-width: 1400px;
    margin: 60px auto 100px;
    padding: 0 5%;
    position: relative;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #141414;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.store-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}
.store-section-title span {
    color: var(--yellow);
}

.view-all-btn {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-all-btn:hover {
    color: var(--yellow);
}

.view-all-btn .arrow-icon {
    background: #0a0a0a;
    border: 1px solid #141414;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.view-all-btn:hover .arrow-icon {
    background: var(--yellow);
    color: black;
    border-color: var(--yellow);
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.products-slider {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    padding: 20px 0 !important;
    scroll-behavior: auto !important; 
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.product-item {
    flex: 0 0 calc((100% - 60px) / 3) !important;
    background: #0a0a0a;
    border: 1px solid #141414;
    padding: 40px 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

@media (max-width: 1024px) {
    .product-item {
        flex: 0 0 calc((100% - 30px) / 2) !important;
    }
    .benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.product-item:hover {
    transform: translateY(-5px);
    border-color: #222;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* Jemný zoom krabičky při najetí na celou kartu */
.product-item:hover .slider-img {
    transform: scale(1.05);
}

.slider-img {
    width: 100%;       
    height: 250px;       /* Pevná výška, která přinutí obrázek se roztáhnout */
    object-fit: cover;   /* Ořízne černé prázdné boky širokoúhlého formátu */
    object-position: center; /* Vystředí samotnou 3D krabičku */
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.product-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.slider-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--yellow);
    margin: 0;
    font-weight: 900;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 13, 13, 0.9);
    border: 1px solid #222;
    color: white;
    width: 50px;
    height: 50px;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; 
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--yellow);
    color: black;
    border-color: var(--yellow);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.prev-arrow { left: -25px; }
.next-arrow { right: -25px; }

/* --- PATIČKA --- */
.footer {
    border-top: 1px solid #1a1a1a;
    padding: 80px 10% 40px;
    background: #050505;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-brand { flex: 1.5; }
.footer-brand p { color: #777; margin-top: 25px; max-width: 380px; line-height: 1.7; }
.footer-nav { flex: 2; display: flex; justify-content: space-between; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; margin-bottom: 25px; text-transform: uppercase; }
.footer-col a { display: block; color: #777; text-decoration: none; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
    text-align: center;
    margin-top: 80px;
    color: #333;
    font-size: 13px;
    border-top: 1px solid #111;
    padding-top: 30px;
}

/* --- ANIMACE PRO SEKCE --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- STYLING PRO VYSKAKOVACÍ OKNO --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(5, 5, 5, 0.6); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
}

.modal-content {
    background-color: #0d0d0d;
    border: 1px solid #1a1a1a;
    margin: 12% auto;
    padding: 40px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.close-modal {
    position: absolute; right: 25px; top: 15px;
    color: #555; font-size: 32px; cursor: pointer;
    transition: color 0.3s;
}
.close-modal:hover { color: var(--yellow); }

.modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 26px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}
.modal-content h2 span { color: var(--yellow); }

.input-group { margin-bottom: 20px; position: relative; }
.modal-content input {
    width: 100%; padding: 14px 20px;
    background-color: #282828; border: 1px solid #444; color: white; 
    font-family: 'Inter', sans-serif; font-size: 15px;
    transition: all 0.3s ease;
}
.modal-content input:focus {
    background-color: #333; border-color: var(--yellow); outline: none;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.25);
}

.auth-btn {
    width: 100%; background-color: white; color: black; border: none; padding: 14px;
    font-weight: 800; font-size: 15px; cursor: pointer; text-transform: uppercase;
    transition: all 0.3s ease; margin-top: 10px;
}
.auth-btn:hover {
    background-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 204, 0, 0.3);
}

.auth-switch { margin-top: 25px; color: #666; font-size: 14px; }
.auth-switch a { color: var(--yellow); text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

.user-welcome { font-size: 15px; color: #ffcc00; margin-right: 10px; }
.username-highlight {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--yellow) !important;
}

.logout-link {
    color: white; text-decoration: none; font-size: 14px; font-weight: 600;
    border: 1px solid #333; padding: 6px 15px; transition: all 0.3s;
}
.logout-link:hover { border-color: #ff3333; color: #ff3333; }

.password-input { padding-right: 52px !important; }
.eye-icon {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; background-image: url('obrazky/6684701.png');
    background-size: contain; background-repeat: no-repeat; background-position: center;
    cursor: pointer; opacity: 0.4; transition: opacity 0.2s; user-select: none;
}
.eye-icon:hover { opacity: 1; }
.eye-icon.visible { background-image: url('obrazky/hide-password.png'); opacity: 1; }

/* --- SCROLL TO TOP TLAČÍTKO --- */
.scroll-to-top {
    position: fixed; bottom: 40px; right: 40px; z-index: 1500;
    width: 50px; height: 50px; background-color: rgba(13, 13, 13, 0.8);
    border: 1px solid #333; border-radius: 4px; cursor: pointer;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.scroll-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover {
    background-color: var(--yellow); border-color: var(--yellow);
    box-shadow: 0 5px 20px rgba(255, 204, 0, 0.3); transform: translateY(-5px);
}
.scroll-to-top .arrow-up {
    width: 14px; height: 14px; border-top: 3px solid white; border-left: 3px solid white;
    transform: rotate(45deg) translate(3px, 3px); transition: border-color 0.3s;
}
.scroll-to-top:hover .arrow-up { border-color: black; }

/* --- HOVER FADE PRO GIF OBRÁZKY --- */
.hover-gif {
    transition: opacity 0.15s ease-in-out !important;
    will-change: opacity;
}

/* ==========================================================================
   DETAIL PRODUKTU (ROZŠÍŘENÝ TEXT A POSUNUTÉ HRANICE)
   ========================================================================== */
.product-detail-container {
    max-width: 1550px; /* Rozšířeno z 1400px, aby layout využil celou plochu webu */
    margin: 60px auto 100px;
    padding: 0 4%;
}

.product-detail-grid {
    display: grid;
    /* ZMĚNA: Sloupce jsou teď 1:1, textová strana dostane stejně prostoru jako krabice */
    grid-template-columns: 1fr 1fr; 
    gap: 50px; /* Zmenšeno z 80px, aby sloupce zbytečně netlačily text k okraji */
    align-items: center;
}

/* Obal pro obrázek krabice */
.product-image-section {
    background: #0a0a0a;
    border: 1px solid #141414;
    width: 100%;
    max-width: 650px; /* Zarážka, aby krabice na obřích monitorech nerostla do nekonečna */
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto; /* Vycentruje obrázek jemně směrem ke středu mřížky */
}

.main-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.7));
}

/* Pravý textový panel - TEĎ MÁ DALEKO VÍC MÍSTA */
.product-info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 650px; /* Zarovná textový blok symetricky k šířce obrázku */
}

.product-meta-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #666;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 46px; 
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 25px 0;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.product-main-desc {
    color: #aaa;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 40px 0;
}

.product-purchase-box {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 20px;
    background: #0a0a0a;
    border: 1px solid #141414;
    padding: 25px 30px;
    margin-bottom: 40px;
    width: 100%;
}

.price-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--yellow);
}

.buy-now-btn {
    background: white;
    color: black;
    border: none;
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-now-btn:hover {
    background: var(--yellow);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.35);
    transform: translateY(-2px);
}

.product-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Responsivita */
@media (max-width: 1024px) {
    .product-detail-grid {
        gap: 30px;
    }
    .product-main-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .product-image-section, .product-info-section {
        max-width: 100%;
    }
}

/* ==========================================================================
   PODSTRÁNKA ABOUT & KONTAKTY
   ========================================================================== */
.about-container {
    max-width: 1550px; /* Sjednoceno pro maximální šířku k okrajům monitoru */
    margin: 60px auto 120px;
    padding: 0 4%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Krásné rozdělení 1:1 vedle sebe */
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 80px;
}

/* Levá strana - texty */
.about-info-section {
    display: flex;
    flex-direction: column;
}

.about-meta-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #666;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    letter-spacing: 0.5px;
}

.about-main-title span {
    color: var(--yellow);
}

.about-lead-text {
    font-size: 18px;
    line-height: 1.7;
    color: #eee;
    font-weight: 600;
    margin: 0 0 25px 0;
}

.about-body-text {
    color: #aaa;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 20px 0;
}

/* Pravá strana - Formulářová karta */
.contact-card {
    background: #0a0a0a;
    border: 1px solid #141414;
    padding: 40px;
    border-radius: 4px;
}

.contact-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.contact-card p {
    color: #666;
    font-size: 14px;
    margin: 0 0 30px 0;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 800;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    background: #111;
    border: 1px solid #222;
    padding: 14px 16px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    background: #141414;
}

.contact-submit-btn {
    background: white;
    color: black;
    border: none;
    padding: 15px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background: var(--yellow);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
    transform: translateY(-2px);
}

.form-success-msg {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Stylování pro nová PNG loga sociálních sítí */
.social-icon-wrapper {
    height: 40px; /* Pevná výška kontejneru pro ikonu, aby boxy lícovaly */
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.social-logo {
    height: 100%;       /* Roztáhne logo na výšku wrapperu */
    width: auto;        /* Zachová správný poměr stran loga */
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Když najedeš myší na celou kartu, logo se zvýrazní */
.social-box:hover .social-logo {
    opacity: 1;
    transform: scale(1.05); /* Jemné zvětšení loga při hoveru */
}

/* Pokud chceš při hoveru vrátit logu jeho originální barvu (např. Discord modrou), můžeš v hoveru zrušit filter */
.social-box.discord:hover .social-logo { filter: none; opacity: 1; }
.social-box.instagram:hover .social-logo { filter: none; opacity: 1; }
.social-box.youtube:hover .social-logo { filter: none; opacity: 1; }

/* Spodní řada: Sociální sítě */
.about-socials-section {
    margin-top: 40px;
    border-top: 1px solid #141414;
    padding-top: 60px;
}

.socials-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 35px;
    text-align: center;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.social-box {
    background: #0a0a0a;
    border: 1px solid #141414;
    padding: 35px 30px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.social-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.social-box h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.social-box p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    flex-grow: 1; /* Zajistí, že tlačítka dole budou v jedné lajně */
}

.social-action {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #aaa;
    transition: color 0.2s ease;
}

/* Hover efekty pro jednotlivé sociální sítě */
.social-box:hover {
    transform: translateY(-5px);
    border-color: #222;
}

.social-box.discord:hover .social-action { color: #5865F2; }
.social-box.instagram:hover .social-action { color: #E1306C; }
.social-box.youtube:hover .social-action { color: #FF0000; }

/* Responsivita */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .socials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .about-main-title {
        font-size: 38px;
    }
    .contact-card {
        padding: 25px;
    }
}