/* =========================================================
   PANTHEON GLOBAL FONT BASE
========================================================= */

html {
    font-size: 16.5px; /* Леко увеличава базовия размер за целия документ */
}


/* =========================================================
   PANTHEON HERO
========================================================= */

.pantheon-hero {
    position: relative;
    width: 100%;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("images/pantheonhero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================================
   DARK CINEMATIC OVERLAY
========================================================= */

.pantheon-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 8, 15, 0.20),
        rgba(5, 8, 15, 0.45) 55%,
        rgba(5, 8, 15, 0.95) 100%
    );
    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.pantheon-hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, 90%);
    padding: 120px 20px;
    text-align: center;
    color: #ffffff;
    margin: 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   HERO SUBTITLE
========================================================= */

.pantheon-hero-subtitle {
    margin: 0 0 18px;
    color: #8fc7ff;
    font-size: 14px; /* Увеличено от 13px */
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(90, 170, 255, 0.7);
}


/* =========================================================
   HERO TITLE
========================================================= */

.pantheon-hero h1 {
    margin: 0;
    font-size: clamp(55px, 9vw, 110px);
    font-weight: 800;
    letter-spacing: 8px;
    color: #ffffff;
    text-shadow:
        0 0 20px rgba(100, 180, 255, 0.55),
        0 0 55px rgba(60, 130, 255, 0.35),
        0 4px 20px rgba(0, 0, 0, 0.9);
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.pantheon-hero-description {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px; /* Увеличено от 18px */
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}


/* =========================================================
   PANTHEON GENERAL SECTIONS
========================================================= */

.pantheon-section {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    box-sizing: border-box;
    background: linear-gradient(
        180deg,
        rgba(7, 11, 19, 0.98),
        rgba(5, 8, 15, 1)
    );
}


/* =========================================================
   SECTION HEADER
========================================================= */

.pantheon-section-header {
    width: min(1000px, 94%);
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}


.pantheon-section-subtitle {
    margin: 0 0 14px;
    color: #76b9f4;
    font-size: 13px; /* Увеличено от 12px */
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(80, 160, 255, 0.45);
}


.pantheon-section-header h2 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}


.pantheon-section-description {
    margin: 0 auto;
    max-width: 780px;
    color: rgba(225, 232, 242, 0.75);
    font-size: 17px; /* Увеличено от 16px */
    line-height: 1.8;
}


/* =========================================================
   PANTHEON INTRO
========================================================= */

.pantheon-intro {
    padding-top: 90px;
}


.pantheon-intro-layout {
    width: min(1150px, 94%);
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
    gap: 40px;
    align-items: center;
    box-sizing: border-box;
}


/* =========================================================
   INTRO TEXT
========================================================= */

.pantheon-intro-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.pantheon-info-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(30, 43, 65, 0.75),
        rgba(9, 14, 25, 0.92)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}


.pantheon-info-card:hover {
    transform: translateX(6px);
    border-color: rgba(100, 175, 255, 0.28);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.40),
        0 0 25px rgba(70, 150, 255, 0.08);
}


/* =========================================================
   INTRO ICON
========================================================= */

.pantheon-info-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 25px;
    background: linear-gradient(
        145deg,
        rgba(100, 170, 255, 0.14),
        rgba(255, 255, 255, 0.025)
    );
    border: 1px solid rgba(120, 180, 255, 0.14);
    box-shadow: 0 0 18px rgba(80, 160, 255, 0.08);
}


.pantheon-info-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 19px; /* Увеличено от 18px */
}


.pantheon-info-card p {
    margin: 0;
    color: rgba(220, 230, 240, 0.75);
    font-size: 15px; /* Увеличено от 14px */
    line-height: 1.7;
}


/* =========================================================
   BONUS CARD
========================================================= */

.pantheon-bonus-card {
    border-color: rgba(120, 190, 255, 0.16);
    background: linear-gradient(
        135deg,
        rgba(45, 80, 120, 0.24),
        rgba(9, 14, 25, 0.94)
    );
}


.pantheon-bonus-card .pantheon-info-icon {
    color: #8fd0ff;
    box-shadow: 0 0 25px rgba(70, 170, 255, 0.14);
}


/* =========================================================
   INTRO IMAGE
========================================================= */

.pantheon-intro-image {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(10, 15, 25, 0.7);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(70, 150, 255, 0.08);
}


.pantheon-intro-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 22px;
    transition: transform 0.5s ease, filter 0.5s ease;
}


.pantheon-intro-image:hover img {
    transform: scale(1.035);
    filter: brightness(1.05) saturate(1.08);
}


.pantheon-image-glow {
    position: absolute;
    z-index: 1;
    width: 70%;
    height: 70%;
    background: radial-gradient(
        ellipse,
        rgba(70, 160, 255, 0.20),
        transparent 70%
    );
    filter: blur(40px);
    pointer-events: none;
}


/* =========================================================
   PANTHEON COLLECTIONS
========================================================= */

.pantheon-collections {
    position: relative;
    padding: 100px 20px;
    box-sizing: border-box;
}


.pantheon-collection-grid {
    width: min(1150px, 94%);
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    box-sizing: border-box;
}


/* =========================================================
   COLLECTION CARD
========================================================= */

.pantheon-collection-card {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    padding: 38px 32px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: linear-gradient(
        145deg,
        rgba(25, 35, 55, 0.94),
        rgba(8, 12, 22, 0.97)
    );
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}


.pantheon-collection-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 35px rgba(100, 160, 255, 0.12);
}


/* =========================================================
   CARD GLOW
========================================================= */

.pantheon-card-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    top: -100px;
    right: -80px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.22;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}


.pantheon-collection-card:hover .pantheon-card-glow {
    opacity: 0.45;
    transform: scale(1.25);
}


/* =========================================================
   INDIVIDUAL CARD COLORS
========================================================= */

.pantheon-statue-card .pantheon-card-glow {
    background: #55aaff;
}


.pantheon-colossus-card .pantheon-card-glow {
    background: #b06cff;
}


.pantheon-artwork-card .pantheon-card-glow {
    background: #ffd35a;
}


/* =========================================================
   CARD ICON
========================================================= */

.pantheon-card-icon {
    position: relative;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 18px;
    font-size: 38px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.10),
        rgba(255, 255, 255, 0.025)
    );
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}


.pantheon-collection-card:hover .pantheon-card-icon {
    transform: translateY(-5px) rotate(-3deg);
    box-shadow:
        0 0 25px rgba(100, 170, 255, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.pantheon-card-content {
    position: relative;
    z-index: 2;
}


.pantheon-card-label {
    display: block;
    margin-bottom: 8px;
    color: #7da9d8;
    font-size: 12px; /* Увеличено от 11px */
    font-weight: 700;
    letter-spacing: 2px;
}


.pantheon-card-content h3 {
    margin: 0 0 22px;
    font-size: 32px; /* Увеличено от 30px */
    color: #ffffff;
}


.pantheon-card-content p {
    margin: 0 0 17px;
    color: rgba(225, 232, 242, 0.78);
    line-height: 1.7;
    font-size: 16px; /* Увеличено от 15px */
}


/* =========================================================
   FEATURE
========================================================= */

.pantheon-card-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
}


.pantheon-card-feature > span {
    font-size: 24px;
}


.pantheon-card-feature strong {
    display: block;
    color: #ffffff;
    font-size: 15px; /* Увеличено от 14px */
}


.pantheon-card-feature small {
    display: block;
    margin-top: 4px;
    color: rgba(220, 230, 240, 0.65);
    line-height: 1.4;
    font-size: 13px; /* Добавено за по-добра четимост */
}


/* =========================================================
   CARD BUTTON
========================================================= */

.pantheon-card-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding: 14px 17px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px; /* Увеличено от 12px */
    font-weight: 700;
    letter-spacing: 0.6px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}


.pantheon-card-button span {
    font-size: 18px; /* Увеличено от 17px */
    transition: transform 0.25s ease;
}


.pantheon-card-button:hover {
    transform: translateY(-2px);
    background: rgba(100, 160, 255, 0.12);
    border-color: rgba(100, 170, 255, 0.40);
    box-shadow: 0 0 20px rgba(80, 150, 255, 0.12);
}


.pantheon-card-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   PANTHEON TIP
========================================================= */

.pantheon-tip {
    width: min(1000px, 94%);
    margin: 55px auto 0;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 25px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(65, 100, 145, 0.13),
        rgba(255, 255, 255, 0.025)
    );
    border: 1px solid rgba(110, 170, 230, 0.15);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
}


.pantheon-tip-icon {
    font-size: 27px;
}


.pantheon-tip strong {
    color: #ffffff;
    font-size: 16px; /* Увеличено от 15px */
}


.pantheon-tip p {
    margin: 7px 0 0;
    color: rgba(220, 230, 240, 0.75);
    line-height: 1.65;
    font-size: 15px; /* Увеличено от 14px */
}


/* =========================================================
   PANTHEON INTRO VIDEO
========================================================= */

.pantheon-video-section {
    position: relative;
    padding: 90px 20px;
    box-sizing: border-box;
}


/* =========================================================
   VIDEO WRAPPER
========================================================= */

.pantheon-video-wrapper {
    width: min(1100px, 94%);
    margin: 55px auto 0;
    position: relative;
    box-sizing: border-box;
}


/* =========================================================
   CINEMATIC VIDEO FRAME
========================================================= */

.pantheon-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(120, 180, 255, 0.20);
    background: #050812;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.55),
        0 0 45px rgba(70, 140, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}


/* =========================================================
   VIDEO GLOW
========================================================= */

.pantheon-video-frame::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(90, 170, 255, 0.20),
        transparent 35%,
        transparent 65%,
        rgba(170, 90, 255, 0.16)
    );
    pointer-events: none;
    z-index: 0;
}


/* =========================================================
   IFRAME
========================================================= */

.pantheon-video-frame iframe {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   HOVER
========================================================= */

.pantheon-video-frame:hover {
    transform: translateY(-4px);
    border-color: rgba(120, 190, 255, 0.38);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.65),
        0 0 55px rgba(70, 150, 255, 0.18),
        0 0 100px rgba(100, 70, 255, 0.08);
}



.video-credit {
    margin-top: 16px;
    text-align: center;
    color: rgba(225, 232, 242, 0.85);
    font-size: 18px; 
    letter-spacing: 0.5px;
}

.creator-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 6px;
    color: #ff5555;
    font-size: 18px; 
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.creator-link:hover {
    color: #ff7676;
    text-shadow: 0 0 14px rgba(255, 85, 85, 0.45);
    text-decoration: underline;
}

.youtube-icon {
    flex-shrink: 0;
    width: 20px; 
    height: 20px;
}
/* =========================================================
   PANTHEON — RESPONSIVE & LAYOUT SYSTEM (LOGICAL FLOW)
   ========================================================= */

/* --- 1. Изключително големи екрани (33" монитори, 2K / 4K / над 1400px) --- */
@media (min-width: 1400px) {
    .pantheon-hero-content,
    .pantheon-intro-layout,
    .pantheon-collection-grid,
    .pantheon-video-wrapper {
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- 2. Таблети и малки лаптопи (до 950px) --- */
@media (max-width: 950px) {
    .pantheon-intro-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pantheon-intro-image {
        min-height: 420px;
    }

    .pantheon-intro-image img {
        min-height: 420px;
    }

    .pantheon-collection-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .pantheon-collection-card {
        min-height: auto;
    }
}

/* --- 3. Средни мобилни устройства и фаблети (до 768px) --- */
@media (max-width: 768px) {
    .pantheon-video-section {
        padding: 70px 15px;
    }

    .pantheon-video-wrapper {
        width: 100%;
        margin-top: 40px;
    }

    .pantheon-video-frame {
        border-radius: 12px;
        height: 320px; /* Фиксираме разумна височина за видеото на таблети/телефони */
    }

    .video-credit {
        font-size: 16px;
    }

    .creator-link {
        font-size: 16px;
    }
}

/* --- 4. Стандартни и по-малки телефони (до 600px) --- */
@media (max-width: 600px) {
    .pantheon-hero {
        min-height: 500px;
    }

    .pantheon-hero-content {
        padding: 100px 20px;
    }

    .pantheon-hero h1 {
        letter-spacing: 4px;
        font-size: 32px; /* Превенция срещу прекалено големи заглавия на малък екран */
    }

    .pantheon-section {
        padding: 70px 15px;
    }

    .pantheon-intro-layout {
        width: 100%;
        margin-top: 40px;
        gap: 30px;
    }

    .pantheon-intro-image {
        min-height: 300px;
        border-radius: 16px;
    }

    .pantheon-intro-image img {
        min-height: 300px;
        border-radius: 16px;
    }

    .pantheon-info-card {
        padding: 19px;
    }

    .pantheon-collections {
        padding: 70px 15px;
    }

    .pantheon-collection-card {
        padding: 30px 24px;
    }

    .pantheon-card-content h3 {
        font-size: 24px;
    }

    .pantheon-tip {
        width: 100%;
        padding: 20px;
    }

    .pantheon-video-frame {
        height: 240px; /* По-компактна височина за малки смартфони */
    }
    
    .video-credit {
        font-size: 14px;
        display: flex;
        flex-direction: column; /* Ако името е дълго на телефон, да мине на нов ред */
        gap: 4px;
    }

    .creator-link {
        font-size: 15px;
        margin-left: 0;
    }
}

/* --- 5. Много малки екрани / тесни телефони (до 380px) --- */
@media (max-width: 380px) {
    .pantheon-hero h1 {
        font-size: 26px;
        letter-spacing: 2px;
    }
    
    .pantheon-video-frame {
        height: 200px;
    }
}


/* =========================================================
   ВИДЕО КРЕДИТИ И ИКОНИ (ОБЩИ СТИЛОВЕ)
   ========================================================= */

.video-credit {
    margin-top: 16px;
    text-align: center;
    color: rgba(225, 232, 242, 0.85);
    font-size: 18px; 
    letter-spacing: 0.5px;
}

.creator-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 6px;
    color: #ff5555;
    font-size: 18px; 
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.creator-link:hover {
    color: #ff7676;
    text-shadow: 0 0 14px rgba(255, 85, 85, 0.45);
    text-decoration: underline;
}

.youtube-icon {
    flex-shrink: 0;
    width: 20px; 
    height: 20px;
}