/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f2f4f8;
    /* Light gray background */
    color: #0f1111;
    /* Amazon dark gray text */
    line-height: 1.5;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
    border-bottom: 1px solid #e1e4e8;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content-limiter {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    /* Added spacing */
}

.header-logo-rewards {
    display: flex;
    align-items: center;
    gap: 12px;
}

.youtube-logo svg {
    width: 25px;
    /* Smaller icon */
    height: 25px;
}

.youtube-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    /* Tighter gap */
    font-weight: 700;
    font-size: 1.2rem;
    /* Adjusted font size */
    letter-spacing: -0.5px;
    color: #0F1111;
}

.logo-text-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    margin-left: 2px;
}

.amazon-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: #0F1111;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.rewards-text {
    background-color: #007185;
    /* Amazon Blueish Restored */
    color: white;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    /* Ensures it acts like a badge */
    margin-top: 2px;
}

.balance-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #232f3e;
    /* Amazon Dark Blue */
    padding: 4px 14px 4px 5px;
    /* Compact padding */
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #37475a;
}

.balance-icon {
    width: 32px;
    /* Smaller icon container */
    height: 32px;
    background-color: #37475a;
    /* Lighter Dark Blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd814;
    /* Amazon Yellow */
    font-size: 1rem;
    /* Smaller icon */
    margin-right: 10px;
}

.balance-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.balance-text {
    font-size: 0.65rem;
    /* Smaller label */
    color: #e3e6e8;
    font-weight: 600;
    margin-right: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.balance-amount {
    font-size: 1.1rem;
    /* Slightly smaller amount */
    font-weight: 700;
    color: #4ade80;
    /* Bright Green */
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Inter', sans-serif;
}

/* Button & Common Components */
.primary-button {
    background: #e77600;
    /* Amazon Orange */
    background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    border: 1px solid #a88734;
    color: #111;
    padding: 14px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset;
}

.primary-button:hover {
    background: #f0c14b;
    border-color: #9c7e31;
    filter: brightness(0.95);
}

.primary-button:active {
    background: #e77600;
    border-color: #a88734;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .2);
}