/* Components CSS - Cards, buttons, forms, carousels UI */

/* Cards & Glass Effect */
.about-content, .rate-card, .addon-card, .social-card, .gifts-content {
    background: var(--bg-light);
    border: 1px solid rgba(242, 227, 213, 0.08);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 4px; padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Card Typography */
.rate-card h3, .social-card h3, .addon-card h3 { 
    color: var(--white); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px;
}

.price { 
    font-size: 2rem; font-weight: bold; color: var(--white); 
    text-shadow: 0 0 10px rgba(242, 227, 213, 0.2); margin: 1rem 0;
}

.subline { font-size: 0.95rem; color: var(--text-muted); margin-top: 0.5rem; text-align: center; }

/* Button Styling */
.btn {
    background: var(--white); color: var(--bg-dark);
    padding: 1rem; border: none; border-radius: 4px;
    font-weight: 800; cursor: pointer; text-transform: uppercase;
    width: 100%; transition: all 0.3s ease; letter-spacing: 1px;
}
.btn:hover {
    background: var(--fire-red); color: var(--white);
    box-shadow: 0 0 20px rgba(140, 39, 30, 0.4);
}
.btn:disabled { background: #5C4A40; cursor: not-allowed; }

/* Toggle Buttons */
.toggle-btn {
    padding: 0.6rem 2rem; font-size: 1rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    background: transparent; color: var(--white);
    border: 2px solid var(--fire-red); border-radius: 30px;
    cursor: pointer; transition: all 0.3s ease;
}

.toggle-btn:hover {
    background: rgba(140, 39, 30, 0.15);
    box-shadow: 0 0 15px rgba(140, 39, 30, 0.3);
}

.toggle-btn.active {
    background: var(--fire-red); color: var(--white);
    box-shadow: 0 0 20px rgba(140, 39, 30, 0.4);
}

/* Rates/Addons Toggle */
.rates-toggle { display: flex; justify-content: center; gap: 15px; margin-bottom: 2rem; }
.rate-item.hidden { display: none !important; }

/* Carousel Controls */
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(242, 227, 213, 0.95); color: var(--bg-dark);
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 20; 
    display:flex; align-items:center; justify-content:center;
    border: none; font-size: 20px; line-height: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 140ms ease, background 140ms ease;
}
.carousel-btn:hover { transform: translateY(-50%) scale(1.06); background: rgba(255,255,255,1); }
.prev { left: 12px; } 
.next { right: 12px; }
.carousel-btn::before { display: none !important; content: none !important; }

/* Carousel Dots */
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.dot {
    width: 8px; height: 8px; border-radius: 50%; 
    background: rgba(242, 227, 213, 0.3);
    border: 1px solid rgba(242, 227, 213, 0.05); display: inline-block;
    cursor: pointer;
}
.dot.active { background: var(--white); box-shadow: 0 0 8px rgba(242, 227, 213, 0.2); }

/* Forms */
.contact-form {
    background: var(--bg-light);
    border: 1px solid rgba(242, 227, 213, 0.08);
    backdrop-filter: blur(10px); padding: 2.5rem; border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
    max-width: 800px; margin: 0 auto;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
    font-size: 0.85rem; font-weight: 700; color: var(--fire-red);
    text-transform: uppercase; letter-spacing: 1px;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%; padding: 1rem;
    background: rgba(10, 4, 3, 0.6);
    color: var(--white);
    border: 1px solid rgba(242, 227, 213, 0.1);
    border-radius: 4px; font-family: inherit; font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #8A7A6D; text-transform: none; }

.form-group input:focus, 
.form-group textarea:focus {
    outline: none; border-color: var(--fire-red);
    box-shadow: 0 0 15px rgba(140, 39, 30, 0.2);
    background: var(--bg-dark);
}

/* Autofill styling */
input:-webkit-autofill, input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, textarea:-webkit-autofill,
textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--white);
    -webkit-box-shadow: 0 0 0px 1000px #1A0C08 inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Checkboxes */
.contact-methods { display: flex; gap: 2rem; align-items: center; height: 100%; }
.contact-methods label { 
    color: var(--white); font-weight: normal; text-transform: none; 
    cursor: pointer; display: flex; align-items: center; gap: 0.5rem; 
}
.contact-methods input[type="checkbox"] { 
    width: 18px; height: 18px; accent-color: var(--fire-red); 
    cursor: pointer; background: var(--bg-dark); 
}

/* Social Links */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 2rem; }
.social-card a { color: var(--fire-red); text-decoration: none; font-weight: 700; }
.substack-btn { background: var(--white); color: var(--bg-dark) !important; padding: 0.8rem; border-radius: 4px; display:inline-block; font-weight: 700; }

/* Gifts */
.gifts-content { max-width: 920px; margin: 1.25rem auto; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.75rem; }
.gifts-grid { display: flex; gap: 1rem; justify-content: center; align-items: stretch; flex-wrap: wrap; width: 100%; }
.gift-card { background: var(--bg-light); border: 1px solid rgba(242, 227, 213, 0.08); border-radius: 8px; padding: 1rem; width: 260px; display:flex; flex-direction:column; align-items:center; gap:0.5rem; }
.cashapp-qr, .gift-qr { width: 120px; height: 120px; margin: 0 auto; background: var(--white); border: 1px solid var(--white); padding: 6px; display:flex; align-items:center; justify-content:center; overflow: hidden; border-radius:6px; }
.cashapp-qr img, .gift-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gift-link { display: inline-block; margin-top: 0.25rem; color: var(--white); text-decoration: none; font-weight: 700; }
.gift-note { margin-top: 0.25rem; color: var(--text-muted); font-size: 0.95rem; }
.cashapp-link { display: inline-block; padding: 1rem 2rem; border: 1px solid #00d632; color: #00d632; text-decoration: none; border-radius: 4px; font-weight: 600; margin-top: 1rem; }

@media (max-width: 480px) {
    .gifts-content { max-width: 92%; padding: 0.75rem; }
    .cashapp-qr { width: 100px; height: 100px; }
}

@media (max-width: 768px) {
    .contact-form { grid-template-columns: 1fr; padding: 1.5rem; }
}

@media (max-width: 768px) { .prev { left: 8px; } .next { right: 8px; } }
