:root {
    --bg-color: #050505;          /* Intense Black */
    --card-bg: #111111;           /* Dark Grey for contrast */
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --accent-color: #FFAE00;      /* Identity Color */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header with Background Image */
header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/header-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 1rem;
    text-align: center;
    border-bottom: 1px solid #333;
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

h1 {
    color: #ffffff;
    margin: 0.5rem 0 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.4rem;
    color: var(--accent-color); /* Accent color for slogan */
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-top: 0;
    text-transform: uppercase;
}

/* Quote Section */
.bible-quote {
    background-color: #0a0a0a;
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
    font-style: italic;
    border-bottom: 1px solid #222;
}

.quote-text {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.quote-ref {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--accent-color);
    font-style: normal;
    font-weight: bold;
}

main {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Cards */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid #222;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-color: #333;
}

.card-image {
    width: 100%;
    height: 260px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #222;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.card:hover .card-image img {
    opacity: 1;
}

.card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h2 {
    color: #ffffff;
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    flex-grow: 1;
    font-size: 1.05rem;
}

/* Buttons */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: #000000; /* Black text on Yellow button */
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 800; /* Bold font */
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    margin-top: auto;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(255, 174, 0, 0.2);
}

.btn-download:hover {
    background-color: #ffc107; /* Slightly lighter on hover */
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 174, 0, 0.4);
}

.btn-download svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.version-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

footer {
    text-align: center;
    padding: 3rem;
    margin-top: 5rem;
    background-color: #000;
    color: #444;
    font-size: 0.9rem;
    border-top: 1px solid #111;
}

@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
}