/* Gift Sub Cards Styling */

.info-boxes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.how-it-works-box {
    flex: 0 1 350px;
    /* Fixed basis for better row control */
    min-width: 300px;
    background: #fdf2f8;
    /* Very light pink to match theme */
    border: 2px solid #f9a8d4;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 280px;
}

.how-it-works-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.how-it-works-box h3 {
    color: #9d174d;
    /* Dark purple/pink */
    margin-top: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.how-it-works-box p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cost-info {
    font-weight: 600;
    color: #7c3aed;
    /* Purple */
    margin-bottom: 5px !important;
}

.boost-description {
    margin-bottom: 35px !important;
}

.subs-info {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

/* Cost row with icon */
.cost-icon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.box-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: -15px;
    /* Adjusted to sit better in the row */
}

/* Specific size for icons that appear smaller, like the Waifu fan */
.box-icon-large {
    width: 120px;
    height: 120px;
}

/* Poweup icon slightly smaller padding to keep visual weight similar */
.box-icon-padded {
    padding: 12px;
    box-sizing: border-box;
}

/* Tier3 icon - transitioned to standard row layout */
.box-icon-float {
    width: 100px;
    height: 100px;
}

/* Twitch-style Gift Card */
.twitch-gift-card {
    background: #18181b;
    /* Twitch dark mode background */
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-family: 'Inter', sans-serif;
    margin-top: auto;
    text-decoration: none;
    transition: background 0.2s;
}

.twitch-gift-card:hover {
    text-decoration: none;
}

.gift-text {
    display: flex;
    flex-direction: column;
}

.gift-title {
    font-weight: 600;
    font-size: 14px;
    color: #efeff1;
}

.gift-subtitle {
    font-size: 12px;
    color: #adadb8;
}

.gift-button {
    background: #9147ff;
    /* Twitch Purple */
    color: white;
    border-radius: 4px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
}

.twitch-gift-card:hover .gift-button {
    background: #772ce8;
    /* Darker Purple on hover */
}

.gift-icon {
    width: 18px;
    height: 18px;
}

/* Box Color Variants */
.box-pink {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-color: #f472b6;
}

.box-pink h3 {
    color: #be185d;
}

.box-purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-color: #c084fc;
}

.box-purple h3 {
    color: #7e22ce;
}

.box-cyan {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    border-color: #22d3d8;
}

.box-cyan h3 {
    color: #0891b2;
}

.box-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #60a5fa;
}

.box-blue h3 {
    color: #1d4ed8;
}

/* Specific Box Styles */
.box-tier-3 {
    background: linear-gradient(135deg, #2b114d 0%, #4a1a8c 50%, #9c27b0 100%) !important;
    border: 2px solid #ffd700 !important;
    display: flex !important;
    flex-direction: column !important;
    /* Reverted to vertical */
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 15px !important;
    padding: 20px !important;
    /* Standard padding */
    color: white;
    position: relative;
}

.box-tier-3 h3 {
    color: #ffd700 !important;
    font-size: 1.25rem !important;
    /* Standard size */
    margin-bottom: 0 !important;
}

.box-tier-3 p {
    font-size: 0.95rem !important;
    /* Standard size */
    max-width: none !important;
    color: white;
}

.tier-3-button {
    width: 100%;
    background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%) !important;
    border: none !important;
}

.tier-3-button .gift-title,
.tier-3-button .gift-subtitle {
    color: #1a1a1b !important;
}

.tier-3-button .gift-button {
    background: #1a1a1b !important;
    color: #ffd700 !important;
}

.tier-3-button:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Custom Quantity Input */
.custom-qty-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    background: #26262c;
    padding: 8px;
    border-radius: 4px;
}

.custom-qty-input {
    width: 50px;
    background: #0e0e10;
    border: 1px solid #3f3f46;
    color: white;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
}

.custom-qty-text {
    color: #efeff1;
    font-size: 12px;
    flex: 1;
}

/* Bottom Grid (FAQ & Queue) */
.index-bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .index-bottom-grid {
        grid-template-columns: 1.2fr 0.8fr;
        /* FAQ slightly wider than Queue */
    }
}

@media (max-width: 768px) {
    .index-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .info-boxes-grid {
        grid-template-columns: 1fr;
    }
}