/* =============================================================================
   Voidspace Blog Styles
   Ported from Startonate/src/main/webapp/css/blog.css
   ========================================================================== */

body {
    margin: 0;
    color: #DDD;
    background: radial-gradient(circle, rgb(70 60 74) 0%, rgba(73,76,92,0.4) 50%, rgba(0,0,0,0) 100%) fixed, url(/blog/images/stars-background1.png) fixed;
    font-family: Tahoma, sans-serif;
    text-align: center;
}

/* Only override hamburger on blog pages (which load Font Awesome for fa-bars) */
body:has(.blog-header) nav a.mobile-menu,
body:has(.blog-category) nav a.mobile-menu {
    background-image: none !important;
    padding: 10px 15px;
    font-size: 24px;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

video {
    max-width: initial;
}

h1 {
    font-size: x-large;
    line-height: initial;
    margin: 10px auto;
    margin-top: 40px;
}

h2 {
    margin-top: 40px;
    font-size: 20px;
    color: #a7874b;
    line-height: 32px;
    font-weight: 600;
    text-shadow: none;
}

p, li {
    font-size: large;
    margin: 10px auto;
    line-height: 28px;
}

a {
    text-decoration: none;
}

a:hover {
    filter: brightness(1.5);
}

/* Full-width media */
.full-width-video-container {
    height: 120px;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
    margin-bottom: 40px;
}

.full-width-video-container video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.full-width-image {
    position: relative;
    left: 0;
    right: 0;
    height: 200px;
    background-size: cover;
    background-position: center center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Content sections */
.page-column {
    max-width: 700px;
    margin: 0 auto;
    background-color: #DDD;
    padding: 2%;
    padding-top: 1%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 20px;
    border: 1px solid grey;
    color: #333;
    text-shadow: none;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-column li { list-style: initial; }
.page-column ul { padding: revert; }
.page-column h1 { color: #333; text-shadow: none; }
.page-column p { text-shadow: none; }
.page-column img { margin: 0 auto; }

.page-column .img-caption {
    font-size: 90%;
    font-style: italic;
    margin-bottom: 15px;
}

.page-column a { color: #0071e6; }

.parallax img {
    max-width: 100%;
    margin: 0;
}

/* Share buttons */
#share-buttons {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

#share-buttons .share-click {
    font-size: 28px;
    padding: 0 8px;
    color: #DDD;
    transition: color 0.2s;
}

#share-buttons .share-click:hover {
    color: #ecae58;
    filter: none;
}

/* Blog category listing */
.blog-category {
    height: 80px;
    overflow: hidden;
}

.blog-category h2 { cursor: pointer; }
.blog-category h2:hover { filter: brightness(1.5); }
.blog-category.active { height: inherit; }

/* Blog header (article page) */
.blog-header {
    margin-top: 108px;
    text-align: center;
}

.blog-header .blog-date {
    text-align: center;
    margin-top: 10px;
}

/* Blog entry cards */
.blog-entry {
    margin-bottom: 20px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 18px;
}

.blog-entry:hover { filter: brightness(1.5); }

.blog-entry .blog-date {
    font-size: 14px;
    margin-bottom: 4px;
    color: #AAA;
}

.blog-entry .blog-title { font-size: 18px; }
.blog-entry a:hover { text-decoration: underline; }

.blog-entry .thumbnail {
    width: 100px;
    height: 100px;
    display: table-cell;
    background-image: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.blog-entry .content {
    display: table-cell;
    vertical-align: top;
    padding: 10px;
    text-align: left;
}

.bottom-play-button-container {
    margin-bottom: 50px;
}

/* YouTube embed */
.internal-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-top: 15px;
}

.internal-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =============================================================================
   Footer (ported from blog.css footer section)
   ========================================================================== */

footer {
    background: url(/images/v2/footer-bg-repeat.png);
    background-size: 100% 100%;
    overflow: hidden;
    font-size: 12px;
    padding-top: 25px;
    margin-top: -30px;
}

footer .wrap {
    width: 90%;
    overflow: hidden;
    margin: 0 auto;
    padding: 50px 0 38px;
}

footer .logo {
    float: none;
    margin: 0 auto 30px;
}

footer .logo img {
    float: left;
    width: 65%;
}

footer .logo img.small {
    float: right;
    width: 20%;
}

footer .right {
    width: 100%;
    float: none;
    margin: 0 auto;
}

footer .social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto 16px;
}

footer .social a {
    display: block;
    width: 30px;
    height: 30px;
}

footer .social a:hover {
    filter: none;
    transform: none;
}

footer .social img {
    display: block;
    width: 30px;
    height: 30px;
    pointer-events: none;
}

footer .bottom {
    float: none;
    overflow: hidden;
    width: 300px;
    margin: 0 auto;
    color: #EEE;
}

footer .bottom p {
    float: left;
    font-size: 11px;
    margin: 5px 0 0;
}

footer .bottom a {
    margin: 0 20px 0 0;
    color: #FFF;
    float: left;
}

footer .bottom a:hover {
    color: #ecae58;
}

.footer-link {
    text-decoration: underline;
}

/* =============================================================================
   Subscribe Page Styles
   ========================================================================== */

/* Override style2.css which sets html { overflow-y: hidden; height: 100% } */
html:has(.subscribe-hero) {
    overflow-y: auto !important;
    height: auto !important;
}
body:has(.subscribe-hero) {
    height: auto !important;
}

.subscribe-hero {
    margin-top: 80px;
    padding: 60px 20px 40px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(167, 135, 75, 0.15) 0%, transparent 70%);
}

.subscribe-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.subscribe-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 2.8em;
    color: #e8d5a3;
    margin: 0 0 16px;
    text-shadow: 0 0 30px rgba(167, 135, 75, 0.4);
    letter-spacing: 2px;
}

.subscribe-subtitle {
    font-size: 1.1em;
    color: #bbb;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

.subscribe-section {
    max-width: 960px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.subscribe-section-heading {
    text-align: center;
    font-family: 'Electrolize', sans-serif;
    font-size: 1.6em;
    color: #a7874b;
    margin-bottom: 8px;
}

.subscribe-section-desc {
    text-align: center;
    color: #999;
    margin-bottom: 30px;
}

/* --- Tier Cards --- */

.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.tier-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.tier-featured {
    border-color: #a7874b;
    box-shadow: 0 0 30px rgba(167, 135, 75, 0.15);
    transform: scale(1.04);
    background: rgba(167, 135, 75, 0.06);
}

.tier-featured:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 0 40px rgba(167, 135, 75, 0.25), 0 12px 40px rgba(0, 0, 0, 0.4);
}

.tier-popular-tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #a7874b, #d4b86a);
    color: #1a1a2e;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.75em;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.tier-badge {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.1em;
    color: #ccc;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.tier-price {
    margin-bottom: 8px;
    line-height: 1;
}

.tier-currency {
    font-size: 1.4em;
    color: #a7874b;
    vertical-align: super;
}

.tier-amount {
    font-family: 'Electrolize', sans-serif;
    font-size: 3.6em;
    color: #fff;
    letter-spacing: -2px;
}

.tier-period {
    font-size: 1em;
    color: #888;
}

.tier-tagline {
    font-size: 0.9em;
    color: #888;
    margin: 4px 0 20px;
}

.tier-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
}

.tier-benefits li {
    position: relative;
    padding-left: 24px;
    margin: 8px 0;
    font-size: 0.95em;
    color: #ccc;
    line-height: 1.5;
}

.tier-benefits li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #a7874b;
    font-size: 0.8em;
}

.tier-cta {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    border-radius: 8px;
    background: rgba(167, 135, 75, 0.15);
    border: 1px solid #a7874b;
    color: #d4b86a !important;
    font-family: 'Electrolize', sans-serif;
    font-size: 1em;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.tier-cta:hover {
    background: rgba(167, 135, 75, 0.3);
    box-shadow: 0 0 20px rgba(167, 135, 75, 0.2);
    filter: none;
}

.tier-cta-featured {
    background: linear-gradient(135deg, #a7874b, #d4b86a);
    color: #1a1a2e !important;
    border: none;
    font-weight: 700;
}

.tier-cta-featured:hover {
    background: linear-gradient(135deg, #b8964f, #e6ca7a);
    box-shadow: 0 0 24px rgba(167, 135, 75, 0.4);
}

/* --- Credit Cards --- */

.credits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.credit-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 28px 16px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.credit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.credit-card-best {
    border-color: #a7874b;
    box-shadow: 0 0 20px rgba(167, 135, 75, 0.12);
}

.credit-bonus-tag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4a9b6e, #6bc492);
    color: #fff;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.7em;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.credit-card-best .credit-bonus-tag {
    background: linear-gradient(135deg, #a7874b, #d4b86a);
    color: #1a1a2e;
}

.credit-name {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.95em;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.credit-amount {
    font-family: 'Electrolize', sans-serif;
    font-size: 2.4em;
    color: #fff;
    line-height: 1;
}

.credit-label {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 12px;
}

.credit-price {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.4em;
    color: #d4b86a;
    margin-bottom: 16px;
}

.credit-cta {
    display: inline-block;
    padding: 8px 32px;
    border-radius: 6px;
    background: rgba(167, 135, 75, 0.15);
    border: 1px solid rgba(167, 135, 75, 0.5);
    color: #d4b86a !important;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.9em;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
}

.credit-cta:hover {
    background: rgba(167, 135, 75, 0.3);
    filter: none;
}

/* --- Credits Info Box --- */

.credits-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 32px 40px;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.credits-info p {
    color: #bbb;
    line-height: 1.7;
}

.credits-info-highlight {
    color: #d4b86a !important;
    font-family: 'Electrolize', sans-serif;
    font-size: 1.05em;
    margin-top: 16px;
}

/* --- FAQ --- */

.subscribe-faq {
    margin-bottom: 80px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 24px;
}

.faq-item h3 {
    font-family: 'Electrolize', sans-serif;
    font-size: 1em;
    color: #e8d5a3;
    margin: 0 0 8px;
}

.faq-item p {
    font-size: 0.9em;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}

/* --- Subscribe Responsive --- */

@media screen and (max-width: 900px) {
    .tier-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .tier-featured {
        transform: none;
    }

    .tier-featured:hover {
        transform: translateY(-6px);
    }

    .credits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 500px) {
    .subscribe-title {
        font-size: 2em;
    }

    .credits-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .credits-info {
        padding: 24px 20px;
    }
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .blog-header { margin-top: 20px; }
}

@media screen and (max-width: 500px) {
    h1 { font-size: 1.5em; line-height: initial; }
    footer .logo { width: 300px; }
    footer .bottom { width: 260px; }
    footer .bottom a { margin: 0 10px 0 0; }
}
