/* Theme 5 - Gamer Bold (Red & Dark Grey) */

/* All styles scoped under .theme-5 */
.theme-5 {
    --t5-bg: #1e1e1e;
    /* Dark Grey Background */
    --t5-card-bg: #2d2d2d;
    /* Slightly lighter card */
    --t5-primary: #ff4757;
    /* Bright Red */
    --t5-primary-dark: #c0392b;
    /* Darker Red */
    --t5-text: #ffffff;
    --t5-muted: #bdc3c7;
    --t5-border: #444;

    font-family: var(--global-font);
}

.theme-5 .section-title {
    color: var(--t5-primary);
    font-family: var(--global-font);
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 3px solid var(--t5-primary);
    display: table;
    /* To fit content width + border */
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5px;
}

.theme-5 .card {
    width: 360px;
    padding: 30px;
    border-radius: 4px;
    /* Slightly rounded */
    background: var(--t5-card-bg);
    border-left: 5px solid var(--t5-primary);
    /* Left red border accent */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--t5-text);
    transition: transform 0.2s;
}

.theme-5 .card:hover {
    transform: scale(1.02);
}

.theme-5 .badge {
    color: white;
    background: var(--t5-primary-dark);
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
    padding: 6px 10px;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    /* Angled badge */
}

.theme-5 .title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    text-transform: uppercase;
}

.theme-5 .desc {
    font-size: 14px;
    color: var(--t5-muted);
    line-height: 1.6;
    font-weight: 400;
}

/* Icon Styles - Hexagon or Square with border */
.theme-5 .icon {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--t5-card-bg);
    /* Match card */
    border: 3px solid var(--t5-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: rotate(45deg);
    /* Diamond shape container */
    overflow: hidden;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

.theme-5 .icon svg {
    width: 28px;
    height: 28px;
    color: var(--t5-primary);
    transform: rotate(-45deg);
    /* Counter rotate icon */
}

.theme-5 .icon:hover {
    background: var(--t5-primary);
}

.theme-5 .icon:hover svg {
    color: white;
}

/* Contact Card Overrides */
.theme-5 .card.contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    border-left: 5px solid var(--t5-text);
    /* White border for contact */
    background: #222;
}

.theme-5 .contact-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
}

.theme-5 .contact-icon {
    position: static;
    width: 50px;
    height: 50px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.theme-5 .contact-icon svg {
    color: white;
    width: 24px;
    height: 24px;
}

.theme-5 .contact-title {
    color: var(--t5-primary);
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.theme-5 .contact-desc {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.theme-5 .contact-arrow {
    color: var(--t5-primary);
}

/* Process Card Overrides */
.theme-5 .card.process-card {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: var(--t5-card-bg);
    border: 1px solid var(--t5-border);
    border-left: none;
    border-bottom: 4px solid var(--t5-primary);
    /* Bottom accent */
}

.theme-5 .card.process-card .icon {
    position: static;
    transform: none;
    width: 50px;
    height: 50px;
    border: none;
    background: #111;
    border-radius: 4px;
    /* Square */
    margin-bottom: 20px;
    box-shadow: none;
}

.theme-5 .card.process-card .icon svg {
    transform: none;
    color: var(--t5-primary);
}

.theme-5 .card.process-card .title {
    font-size: 18px;
    font-weight: 800;
    color: white;
    margin: 0;
}

/* Separator Card Overrides */
.theme-5 .card.separator-card {
    width: 100%;
    /* Full width strip look */
    max-width: 600px;
    background: repeating-linear-gradient(45deg,
            #2d2d2d,
            #2d2d2d 10px,
            #333 10px,
            #333 20px);
    /* Striped background */
    border: 2px solid var(--t5-primary);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.2);
    flex-direction: row;
    align-items: center;
    padding: 20px;
    border-radius: 0;
    gap: 20px;
}

.theme-5 .card.separator-card .icon {
    position: static;
    transform: none;
    border-radius: 0;
    width: 60px;
    height: 60px;
    background: var(--t5-primary);
    border: none;
    box-shadow: none;
}

.theme-5 .card.separator-card .icon svg {
    transform: none;
    color: white;
    width: 30px;
    height: 30px;
}

.theme-5 .card.separator-card .title {
    font-size: 28px;
    font-weight: 900;
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-style: italic;
    /* Speed look */
}

/* Special Review Card */
.theme-5 .special-review-card {
    background: #111;
    border: 2px solid var(--t5-primary);
    border-radius: 4px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Diagonal element in background */
.theme-5 .special-review-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 71, 87, 0.05);
    transform: rotate(30deg);
    pointer-events: none;
}

.theme-5 .special-review-card .icon {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    width: auto;
    height: auto;
    margin-bottom: 20px;
}

.theme-5 .special-review-card .icon svg {
    color: var(--t5-primary);
    width: 50px;
    height: 50px;
    transform: none;
}

.theme-5 .special-review-card .top-text {
    color: white;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.theme-5 .special-review-card .main-text {
    font-size: 48px;
    font-weight: 900;
    color: var(--t5-primary);
    text-transform: uppercase;
}

/* Header Card Overrides */
.theme-5 .header-card {
    width: 500px;
    height: 350px;
    max-width: 100%;
    background: #000;
    border: 1px solid #333;
    border-top: 5px solid var(--t5-primary);
    border-radius: 0;
    padding: 40px;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.theme-5 .header-card .mode-toggle {
    margin-bottom: 30px;
    background: #111;
    padding: 10px;
    border: 1px solid #333;
}

/* R10 STRICT COLORS */
.theme-5 .header-card .mode-btn.dark {
    border: 2px solid #333539 !important;
    color: #333539 !important;
    background: transparent !important;
    margin: 0 5px;
}

.theme-5 .header-card .mode-btn.light {
    border: 2px solid #f5f8fa !important;
    color: #f5f8fa !important;
    background: transparent !important;
    margin: 0 5px;
}

.theme-5 .header-card .subtitle {
    color: white;
    font-weight: 800;
    letter-spacing: 6px;
    background: var(--t5-primary);
    padding: 5px 15px;
    display: inline-block;
    margin-bottom: 20px;
    transform: skew(-10deg);
    /* Gamer aesthetic */
}

.theme-5 .header-card .main-title {
    font-size: 72px;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.theme-5 .header-card .cta-btn {
    background: transparent;
    color: var(--t5-primary);
    border: 2px solid var(--t5-primary);
    padding: 20px 50px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 2px;
    border-radius: 0;
    transition: all 0.3s;
}

.theme-5 .header-card .cta-btn:hover {
    background: var(--t5-primary);
    color: white;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.5);
}

.theme-5 .header-card .cta-text {
    display: none;
}

/* EXPORT OVERRIDES */
.theme-5.export-mode .card,
.theme-5.export-mode .special-review-card,
.theme-5.export-mode .header-card {
    background: #2d2d2d !important;
}

.theme-5.export-mode .header-card {
    background: #000000 !important;
}

.theme-5.export-mode .section-title {
    border-bottom: 3px solid #ff4757 !important;
}

/* CSS Graphic Replacement */
.theme-5 .header-mascot-img {
    display: none !important;
}

.theme-5 .header-alt-design {
    display: flex !important;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.theme-5 .alt-icon {
    width: 120px;
    height: 120px;
    background: var(--t5-card-bg);
    border: 4px solid var(--t5-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    margin-bottom: 40px;
    box-shadow: 0 0 30px rgba(255, 71, 87, 0.5);
}

.theme-5 .alt-icon svg {
    transform: rotate(-45deg);
    width: 50px;
    height: 50px;
    color: var(--t5-primary);
}

.theme-5 .alt-text {
    font-size: 44px;
    font-weight: 900;
    color: white;
    text-shadow: 4px 4px 0 var(--t5-primary);
    transform: skew(-5deg);
    line-height: 1.2;
    text-transform: uppercase;
}

/* Feature Description Card */
.theme-5 .card.feature-desc-card {
    width: 700px;
    max-width: 100%;
    background: var(--t5-card-bg);
    border: 1px solid var(--t5-primary);
    border-radius: 4px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.theme-5 .feature-top {
    position: relative;
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 15px 40px 15px 60px;
    display: inline-flex;
    align-items: center;
    margin-left: 20px;
}

.theme-5 .feature-top .icon {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 70px;
    height: 70px;
    background: var(--t5-primary);
    border: 2px solid var(--t5-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.4);
}

.theme-5 .feature-top .icon svg {
    transform: rotate(-45deg);
    width: 34px;
    height: 34px;
    color: white;
}

.theme-5 .feature-top .title {
    color: white;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
}

.theme-5 .feature-desc-card .desc,
.theme-5 .text-only-card .desc {
    color: var(--t5-muted);
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
}

/* Text Only Card */
.theme-5 .card.text-only-card {
    width: 700px;
    max-width: 100%;
    background: var(--t5-card-bg);
    border: 1px solid var(--t5-primary);
    border-radius: 4px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.theme-5 .card.text-only-card.small {
    width: 360px;
}

/* Pricing Card */
.theme-5 .card.pricing-card {
    width: 360px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.theme-5 .pricing-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--t5-border);
}

.theme-5 .plan-name {
    color: white;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    background: var(--t5-primary);
    padding: 5px 15px;
    display: inline-block;
    border-radius: 2px;
    transform: skew(-10deg);
}

.theme-5 .plan-price {
    font-size: 52px;
    font-weight: 900;
    color: var(--t5-primary);
    line-height: 1;
    margin-bottom: 15px;
}

.theme-5 .plan-price span {
    font-size: 16px;
    color: var(--t5-muted);
    font-weight: 600;
}

.theme-5 .pricing-header .plan-desc {
    color: var(--t5-muted);
    font-size: 15px;
    line-height: 1.5;
}

.theme-5 .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.theme-5 .pricing-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.theme-5 .pricing-features li svg {
    color: var(--t5-primary);
    flex-shrink: 0;
}

/* Simple Price Card */
.theme-5 .card.simple-price-card {
    width: 360px;
    background: var(--t5-card-bg);
    border: 1px solid var(--t5-primary);
    padding: 40px 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.theme-5 .simple-price-card .icon {
    color: var(--t5-primary);
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.theme-5 .simple-price-card .plan-name {
    color: white;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    background: var(--t5-primary);
    padding: 6px 16px;
    display: inline-block;
    border-radius: 2px;
    transform: skew(-10deg);
}

.theme-5 .simple-price-card .plan-price {
    font-size: 60px;
    font-weight: 900;
    color: var(--t5-primary);
    line-height: 1;
}