/* ==========================================================================
   TartarusPlayHub - Modern Gaming Portal Stylesheet
   Prefix: tph_
   ========================================================================== */

:root {
    --tph-bg-main: #080c14;
    --tph-bg-surface: #101624;
    --tph-bg-surface-hover: #161e31;
    --tph-bg-elevated: #1a233a;
    --tph-border: rgba(255, 255, 255, 0.08);
    --tph-border-light: rgba(255, 255, 255, 0.15);
    --tph-border-accent: rgba(0, 240, 181, 0.35);
    --tph-primary: #00f0b5;
    --tph-primary-hover: #05dfa7;
    --tph-primary-glow: rgba(0, 240, 181, 0.2);
    --tph-secondary: #3b82f6;
    --tph-secondary-glow: rgba(59, 130, 246, 0.2);
    --tph-accent-amber: #f59e0b;
    --tph-accent-purple: #8b5cf6;
    --tph-text-main: #f8fafc;
    --tph-text-muted: #94a3b8;
    --tph-text-subtle: #64748b;
    --tph-font-base: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --tph-font-heading: 'Space Grotesk', sans-serif;
    --tph-radius-sm: 8px;
    --tph-radius-md: 14px;
    --tph-radius-lg: 22px;
    --tph-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --tph-transition: all 0.25s ease-in-out;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.tph_body {
    font-family: var(--tph-font-base);
    background-color: var(--tph-bg-main);
    color: var(--tph-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(0, 240, 181, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(59, 130, 246, 0.04) 0%, transparent 45%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--tph-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.tph_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--tph-font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--tph-radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--tph-transition);
    text-align: center;
}

.tph_btn_sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.tph_btn_lg {
    padding: 0.95rem 1.9rem;
    font-size: 1.05rem;
    border-radius: var(--tph-radius-md);
}

.tph_btn_block {
    width: 100%;
}

.tph_btn_primary {
    background: linear-gradient(135deg, var(--tph-primary) 0%, #00bfa5 100%);
    color: #06111e;
    box-shadow: 0 4px 15px var(--tph-primary-glow);
}

.tph_btn_primary:hover {
    background: linear-gradient(135deg, #26ffca 0%, #00f0b5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 240, 181, 0.4);
}

.tph_btn_outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--tph-text-main);
    border: 1px solid var(--tph-border-light);
}

.tph_btn_outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--tph-text-main);
    transform: translateY(-2px);
}

.tph_age_pill {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    color: var(--tph-accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.tph_header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--tph-border);
}

.tph_header_container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tph_logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--tph-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tph_logo_symbol {
    font-size: 1.4rem;
    color: var(--tph-primary);
}

.tph_logo_highlight {
    color: var(--tph-primary);
}

.tph_nav_list {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.tph_nav_link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--tph-text-muted);
}

.tph_nav_link:hover {
    color: var(--tph-primary);
}

.tph_header_actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tph_burger_btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    flex-direction: column;
    gap: 5px;
}

.tph_burger_bar {
    width: 24px;
    height: 2px;
    background-color: var(--tph-text-main);
    transition: var(--tph-transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.tph_hero {
    position: relative;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    overflow: hidden;
}

.tph_hero_glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 350px;
    background: radial-gradient(ellipse at center, rgba(0, 240, 181, 0.12) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.tph_hero_container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tph_hero_badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--tph-border-accent);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tph-primary);
    margin-bottom: 1.5rem;
}

.tph_pulse_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--tph-primary);
    box-shadow: 0 0 10px var(--tph-primary);
    animation: tphPulse 2s infinite;
}

@keyframes tphPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.tph_hero_title {
    font-family: var(--tph-font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.tph_gradient_text {
    background: linear-gradient(135deg, var(--tph-primary) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tph_hero_subtitle {
    font-size: 1.15rem;
    color: var(--tph-text-muted);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.tph_hero_cta_group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.tph_hero_trust_row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 1rem;
}

.tph_trust_item {
    background: var(--tph-bg-surface);
    border: 1px solid var(--tph-border);
    border-radius: var(--tph-radius-md);
    padding: 1.2rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
    transition: var(--tph-transition);
}

.tph_trust_item:hover {
    border-color: var(--tph-border-accent);
    transform: translateY(-2px);
}

.tph_trust_icon {
    font-size: 1.5rem;
}

.tph_trust_text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--tph-text-main);
}

.tph_trust_text span {
    font-size: 0.8rem;
    color: var(--tph-text-muted);
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.tph_section {
    padding: 5rem 1.5rem;
    position: relative;
}

.tph_section_container {
    max-width: 1240px;
    margin: 0 auto;
}

.tph_section_header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.tph_section_tag {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(0, 240, 181, 0.08);
    border: 1px solid var(--tph-border-accent);
    border-radius: 999px;
    color: var(--tph-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.tph_section_title {
    font-family: var(--tph-font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tph_section_desc {
    color: var(--tph-text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   Features Section (3 Cards)
   ========================================================================== */
.tph_features_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.tph_feature_card {
    background: var(--tph-bg-surface);
    border: 1px solid var(--tph-border);
    border-radius: var(--tph-radius-lg);
    padding: 2.2rem;
    transition: var(--tph-transition);
    position: relative;
    overflow: hidden;
}

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

.tph_feature_card:hover {
    border-color: var(--tph-border-accent);
    transform: translateY(-4px);
    box-shadow: var(--tph-shadow);
}

.tph_feature_card:hover::before {
    opacity: 1;
}

.tph_feature_icon_box {
    width: 56px;
    height: 56px;
    border-radius: var(--tph-radius-md);
    background: rgba(0, 240, 181, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

.tph_feature_title {
    font-family: var(--tph-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.tph_feature_text {
    color: var(--tph-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Catalog Section (9 Game Cards Grid)
   ========================================================================== */
.tph_catalog_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tph_game_card {
    background: var(--tph-bg-surface);
    border: 1px solid var(--tph-border);
    border-radius: var(--tph-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--tph-transition);
}

.tph_game_card:hover {
    border-color: var(--tph-border-accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 181, 0.12);
}

.tph_game_media {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #04070e;
}

.tph_game_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tph_game_card:hover .tph_game_img {
    transform: scale(1.05);
}

.tph_game_badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.25rem 0.7rem;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--tph-border-light);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tph-primary);
}

.tph_game_body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tph_game_genre {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tph-secondary);
    margin-bottom: 0.4rem;
}

.tph_game_title {
    font-family: var(--tph-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--tph-text-main);
}

.tph_game_desc {
    font-size: 0.92rem;
    color: var(--tph-text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.tph_game_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.4rem;
}

.tph_game_tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--tph-border);
    border-radius: 6px;
    color: var(--tph-text-muted);
}

.tph_game_card_btn {
    margin-top: auto;
}

/* ==========================================================================
   Spotlight Section (Editor's Choice)
   ========================================================================== */
.tph_spotlight_wrapper {
    background: var(--tph-bg-surface);
    border: 1px solid var(--tph-border-accent);
    border-radius: var(--tph-radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 181, 0.08);
}

.tph_spotlight_media {
    position: relative;
    min-height: 380px;
    background: #04070e;
}

.tph_spotlight_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tph_spotlight_score_tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(8, 12, 20, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--tph-border-accent);
    padding: 0.6rem 1.2rem;
    border-radius: var(--tph-radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tph-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tph_spotlight_content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tph_spotlight_title {
    font-family: var(--tph-font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.tph_spotlight_text {
    font-size: 1rem;
    color: var(--tph-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tph_spotlight_points {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.4rem 0 2rem;
}

.tph_point_item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.tph_point_icon {
    font-size: 1.1rem;
    line-height: 1.4;
}

.tph_point_item strong {
    color: var(--tph-text-main);
    display: block;
    font-size: 0.95rem;
}

.tph_point_item span {
    color: var(--tph-text-muted);
    font-size: 0.88rem;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.tph_faq_accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tph_faq_item {
    background: var(--tph-bg-surface);
    border: 1px solid var(--tph-border);
    border-radius: var(--tph-radius-md);
    overflow: hidden;
    transition: var(--tph-transition);
}

.tph_faq_item:hover {
    border-color: var(--tph-border-light);
}

.tph_faq_item.tph_faq_open {
    border-color: var(--tph-border-accent);
}

.tph_faq_button {
    width: 100%;
    padding: 1.4rem 1.6rem;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font-family: var(--tph-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tph-text-main);
    gap: 1rem;
}

.tph_faq_toggle_icon {
    font-size: 1.4rem;
    color: var(--tph-primary);
    transition: transform 0.25s ease;
}

.tph_faq_item.tph_faq_open .tph_faq_toggle_icon {
    transform: rotate(45deg);
}

.tph_faq_panel {
    display: none;
    padding: 0 1.6rem 1.4rem;
    color: var(--tph-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.tph_faq_item.tph_faq_open .tph_faq_panel {
    display: block;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.tph_contact_grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
}

.tph_contact_form_card, .tph_contact_info_card {
    background: var(--tph-bg-surface);
    border: 1px solid var(--tph-border);
    border-radius: var(--tph-radius-lg);
    padding: 2.5rem;
}

.tph_form_group {
    margin-bottom: 1.4rem;
}

.tph_label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--tph-text-main);
    margin-bottom: 0.5rem;
}

.tph_input, .tph_textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: rgba(8, 12, 20, 0.6);
    border: 1px solid var(--tph-border-light);
    border-radius: var(--tph-radius-sm);
    color: var(--tph-text-main);
    font-family: var(--tph-font-base);
    font-size: 0.95rem;
    transition: var(--tph-transition);
}

.tph_input:focus, .tph_textarea:focus {
    outline: none;
    border-color: var(--tph-primary);
    box-shadow: 0 0 10px var(--tph-primary-glow);
}

.tph_checkbox_row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.6rem;
    font-size: 0.88rem;
    color: var(--tph-text-muted);
}

.tph_checkbox {
    margin-top: 0.25rem;
    accent-color: var(--tph-primary);
    cursor: pointer;
}

.tph_inline_link {
    color: var(--tph-primary);
    text-decoration: underline;
}

.tph_inline_link:hover {
    color: #60a5fa;
}

.tph_form_status {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: var(--tph-radius-sm);
    font-size: 0.9rem;
    display: none;
}

.tph_status_success {
    background: rgba(0, 240, 181, 0.15);
    border: 1px solid var(--tph-primary);
    color: var(--tph-primary);
}

.tph_contact_info_title {
    font-family: var(--tph-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tph_contact_info_lead {
    color: var(--tph-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.tph_contact_details_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tph_contact_item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tph_contact_item_icon {
    font-size: 1.4rem;
    line-height: 1.4;
}

.tph_contact_item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--tph-text-main);
    margin-bottom: 0.2rem;
}

.tph_contact_item p, .tph_contact_item span {
    font-size: 0.9rem;
    color: var(--tph-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.tph_footer {
    background: #05080e;
    border-top: 1px solid var(--tph-border);
    padding: 4.5rem 1.5rem 2rem;
    position: relative;
}

.tph_footer_container {
    max-width: 1240px;
    margin: 0 auto;
}

.tph_footer_grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.tph_footer_logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--tph-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.tph_footer_desc {
    color: var(--tph-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.tph_footer_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tph_badge_tag {
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--tph-border);
    border-radius: 999px;
    color: var(--tph-text-muted);
}

.tph_badge_age_alert {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
    color: var(--tph-accent-amber);
    font-weight: 700;
}

.tph_footer_heading {
    font-family: var(--tph-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--tph-text-main);
}

.tph_footer_links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tph_footer_link {
    color: var(--tph-text-muted);
    font-size: 0.92rem;
}

.tph_footer_link:hover {
    color: var(--tph-primary);
    padding-left: 4px;
}

.tph_footer_age_box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--tph-radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tph_age_large_badge {
    font-family: var(--tph-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--tph-accent-amber);
    padding: 0.2rem 0.6rem;
    border: 2px solid var(--tph-accent-amber);
    border-radius: 8px;
    line-height: 1;
}

.tph_age_notice {
    font-size: 0.8rem;
    color: var(--tph-text-muted);
    line-height: 1.4;
}

.tph_footer_contact_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.tph_footer_contact_list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--tph-text-muted);
    line-height: 1.4;
}

.tph_footer_disclaimer {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--tph-border);
    border-radius: var(--tph-radius-md);
    font-size: 0.84rem;
    color: var(--tph-text-subtle);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.tph_footer_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--tph-border);
    font-size: 0.88rem;
    color: var(--tph-text-subtle);
}

.tph_back_to_top {
    color: var(--tph-primary);
    font-weight: 600;
}

.tph_back_to_top:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.tph_cookie_banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(16, 22, 36, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--tph-border-accent);
    border-radius: var(--tph-radius-md);
    padding: 1.5rem 1.8rem;
    z-index: 999;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75);
    display: none;
    animation: tphSlideUp 0.35s ease;
}

@keyframes tphSlideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.tph_cookie_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.tph_cookie_content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.tph_cookie_icon {
    font-size: 2.2rem;
}

.tph_cookie_title {
    font-family: var(--tph-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.tph_cookie_text p {
    font-size: 0.88rem;
    color: var(--tph-text-muted);
    line-height: 1.5;
}

.tph_cookie_link {
    color: var(--tph-primary);
    text-decoration: underline;
}

.tph_cookie_actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Legal Pages (Terms, Privacy, Cookie-Policy)
   ========================================================================== */
.tph_legal_hero {
    padding: 4.5rem 1.5rem 2.5rem;
    background: linear-gradient(180deg, rgba(16, 22, 36, 0.7) 0%, transparent 100%);
    border-bottom: 1px solid var(--tph-border);
}

.tph_legal_hero_container {
    max-width: 900px;
    margin: 0 auto;
}

.tph_legal_tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 240, 181, 0.1);
    color: var(--tph-primary);
    border: 1px solid var(--tph-border-accent);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tph_legal_title {
    font-family: var(--tph-font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.tph_legal_meta {
    font-size: 0.9rem;
    color: var(--tph-text-subtle);
}

.tph_legal_content_section {
    padding: 3.5rem 1.5rem 6rem;
}

.tph_legal_article {
    max-width: 900px;
    margin: 0 auto;
    background: var(--tph-bg-surface);
    border: 1px solid var(--tph-border);
    border-radius: var(--tph-radius-lg);
    padding: 3.5rem;
}

.tph_legal_notice_box {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--tph-radius-md);
    padding: 1.4rem 1.6rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tph_legal_notice_icon {
    font-size: 1.5rem;
}

.tph_legal_notice_box strong {
    display: block;
    color: var(--tph-accent-amber);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.tph_legal_notice_box p {
    font-size: 0.92rem;
    color: var(--tph-text-muted);
    line-height: 1.5;
}

.tph_legal_article h2 {
    font-family: var(--tph-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tph-text-main);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--tph-border);
}

.tph_legal_article h3 {
    font-family: var(--tph-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--tph-text-main);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.tph_legal_article p {
    color: var(--tph-text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.tph_legal_article ul, .tph_legal_article ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--tph-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.tph_legal_article li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .tph_features_grid,
    .tph_catalog_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tph_hero_trust_row {
        grid-template-columns: repeat(2, 1fr);
    }

    .tph_spotlight_wrapper {
        grid-template-columns: 1fr;
    }

    .tph_spotlight_media {
        min-height: 300px;
    }

    .tph_footer_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tph_hero_title {
        font-size: 2.3rem;
    }

    .tph_section_title {
        font-size: 1.8rem;
    }

    .tph_burger_btn {
        display: flex;
    }

    .tph_nav {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(8, 12, 20, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--tph-border);
        padding: 1.5rem;
        display: none;
    }

    .tph_nav.tph_nav_active {
        display: block;
    }

    .tph_nav_list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .tph_features_grid,
    .tph_catalog_grid {
        grid-template-columns: 1fr;
    }

    .tph_hero_trust_row {
        grid-template-columns: 1fr;
    }

    .tph_contact_grid {
        grid-template-columns: 1fr;
    }

    .tph_footer_grid {
        grid-template-columns: 1fr;
    }

    .tph_cookie_container {
        flex-direction: column;
        align-items: flex-start;
    }

    .tph_cookie_actions {
        width: 100%;
        justify-content: flex-end;
    }

    .tph_legal_article {
        padding: 1.8rem;
    }
}
