/* --- GLOBAL THEME VARIABLES --- */
:root {
    --color-a: #5f3de5;
    --color-b: #ea6b02;
    --color-n: #34344d;
    --color-nh: #0d0d13;
    --color-grey1: #e1e1ea;
    --color-grey2: #a8a8b2;
    --bg-body: #5f3de5;
    --bg-card: #f7f7f9;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-radius: 20px;
}

/* --- BASE STYLES --- */
html {
    background: linear-gradient(to right, var(--color-a) 0%, var(--color-b) 100%);
    background-attachment: fixed;
    background-size: cover;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: var(--font-main);
    text-align: center;
    
    background: transparent !important;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1 0 auto;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- HEADER & LOGO --- */
.main-header {
    text-align: center;
    width: 100%;
}

.logo-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.04);
}

.main-logo {
    height: 96px;
    max-width: 80%;
    width: auto;
    display: block;
    margin: 0 auto;
    margin-top: 80px;
    margin-bottom: 20px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    margin-top: 5px;
}

h1 {
    color: var(--color-n);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
}

h2 {
    color: var(--color-n);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

h3 {
    font-size: 18px;
    color: var(--color-n);
    margin-bottom: 15px;
}

p {
    font-size: 16px;
    color: var(--color-grey2);
    line-height: 1.6;
    margin: 10px 0;
}


/* --- BUTTONS --- */
.btn-main, .btn-secondary {
    display: inline-block;
    background: var(--color-n);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-secondary {
    background: color-mix(in srgb, var(--color-grey1), transparent 50%);
    color: var(--color-grey2);
    font-size: 12px;
    font-weight: 400;
}

.btn-main:hover { background: var(--color-nh); }

.btn-secondary:hover {
    background: var(--color-grey1);
    color: var(--color-n);
}

.btn-main, .btn-secondary, .btn-a, .btn-b {
    transition: background-color 0.3s ease, transform 0.1s ease, color 0.3s ease;
}

.btn-main:active, .btn-secondary:active, .btn-a:active, .btn-b:active {
    transform: scale(0.96);
}


/* THE LOOK */
.card, .mini-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    box-sizing: border-box;
    min-height: 200px;
}


/* --- RESPONSIVE CARDS --- */
.card {
    width: 95%;
    max-width: 650px;
    padding: 40px 40px;
}

.mini-card {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
}


/* --- STACKING BUTTONS --- */
.btn-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: 100%;
}


.share-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.share-section p {
    font-size: 14px;
    color: var(--color-grey2);
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}

.share-btn img, .x-icon {
    width: 22px;
    height: 22px;
}


.wa:hover { background: #25D366; }
.fb:hover { background: #1877F2; }
.copy:hover { background: #f0f0f0; }
.x:hover { background: #000; }
.x:hover .x-icon { fill: white; }



/* --- REUSABLE UTILITIES --- */
.txt-a { color: var(--color-a); }
.txt-b { color: var(--color-b); }

/* --- STICKY FOOTER --- */
.footer {
    flex-shrink: 0;
    padding: 20px;
    font-size: 12px;
    color: var(--color-grey1);
}
.footer a {
    color: var(--color-grey1);
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    color: #fff;
}


/* On screens smaller than 500px */
@media (max-width: 500px) {
    .card {
        padding: 20px 20px;
    }    
    
    .btn-container {
        flex-direction: column;
    }

    .vote-btn {
        width: 100%;
        font-size: 16px;
    }

    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
}