html, body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.main-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 6rem 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
    .main-content { padding: 7rem 2rem 3rem; }
}

.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}
.page-header p {
    font-size: 1rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.info-section {
    margin-bottom: 2.5rem;
}
.info-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #da6f0d;
    display: inline-block;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}
.info-card p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.info-card p:last-child {
    margin-bottom: 0;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .rules-grid { grid-template-columns: repeat(3, 1fr); }
}

.rule-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.rule-card:hover {
    box-shadow: 0 8px 24px rgba(218, 111, 13, 0.14), 0 2px 6px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}
.rule-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #da6f0d;
    margin-bottom: 1rem;
}
.rule-card h3 i {
    margin-right: 0.4rem;
}

.rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rule-list li {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    padding-left: 1.25rem;
    position: relative;
}
.rule-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #da6f0d;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.75rem;
}
.rule-list li:last-child {
    margin-bottom: 0;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .payment-grid { grid-template-columns: repeat(3, 1fr); }
}

.payment-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.payment-card:hover {
    box-shadow: 0 8px 24px rgba(218, 111, 13, 0.14), 0 2px 6px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}
.payment-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #da6f0d;
    margin-bottom: 1rem;
}
.payment-card h3 i {
    margin-right: 0.4rem;
}
.payment-card p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
}

.payment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.payment-list li {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    padding-left: 1.25rem;
    position: relative;
}
.payment-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #da6f0d;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.75rem;
}
.payment-list li:last-child {
    margin-bottom: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.benefit-card:hover {
    box-shadow: 0 8px 24px rgba(218, 111, 13, 0.14), 0 2px 6px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}
.benefit-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #da6f0d;
    margin-bottom: 1rem;
}
.benefit-card h3 i {
    margin-right: 0.4rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.benefit-list li {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    padding-left: 1.25rem;
    position: relative;
}
.benefit-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #da6f0d;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.75rem;
}
.benefit-list li:last-child {
    margin-bottom: 0;
}

.notice-box {
    background: #fff8f3;
    border-left: 4px solid #da6f0d;
    padding: 1rem 1.25rem;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem 0;
}
.notice-box strong {
    color: #da6f0d;
}

.brand-message {
    background-color: #001830;
    color: white;
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 1rem;
}

.groups-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (min-width: 640px) {
    .groups-grid { grid-template-columns: repeat(2, 1fr); }
}

.group-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}
.group-card:hover {
    box-shadow: 0 8px 24px rgba(218, 111, 13, 0.14), 0 2px 6px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}
.group-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #da6f0d;
    margin-bottom: 0.75rem;
}
.group-card h3 i {
    margin-right: 0.4rem;
}
.group-card p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.group-actions {
    margin-top: auto;
}

.group-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s ease, transform 0.15s ease;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
}
.group-btn:hover {
    transform: translateY(-1px);
}
.group-btn i {
    font-size: 1.1rem;
}
.group-btn.whatsapp {
    background: #25D366;
}
.group-btn.whatsapp:hover {
    background: #1da851;
}
.group-btn.telegram {
    background: #0088cc;
}
.group-btn.telegram:hover {
    background: #006da8;
}

footer {
    background-color: #001830;
    color: #9ca3af;
    padding-top: 1rem;
    padding-bottom: 3rem;
    z-index: 1;
    text-align: center;
    border-top: 2px solid #da6f0d;
}
footer p {
    font-size: 0.875rem;
    margin: 0;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.social-link {
    color: #9ca3af;
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.social-link:hover {
    color: #da6f0d;
    transform: scale(1.15);
    background: rgba(218, 111, 13, 0.15);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}
.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: #da6f0d;
}
.footer-text {
    margin-top: 0.5rem;
}

#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #da6f0d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    z-index: 1000;
}
#backToTop:hover {
    background-color: #da6f0d;
    transform: translateY(-2px);
}
#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hidden { display: none !important; }

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 9999px;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.back-btn i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}
.back-btn:hover {
    background: #fff5ee;
    border-color: #da6f0d;
    color: #da6f0d;
    box-shadow: 0 2px 8px rgba(218, 111, 13, 0.15);
}
.back-btn:hover i {
    transform: translateX(-3px);
}
.back-btn:active {
    transform: scale(0.97);
}
@media (max-width: 480px) {
    .back-btn span { display: none; }
    .back-btn { padding: 0.45rem 0.6rem; }
    .back-btn i { font-size: 0.85rem; margin: 0; }
}

html[data-theme-resolved="dark"] .back-btn {
    background: #2d3748;
    border-color: #4a5568;
    color: #cbd5e1;
}
html[data-theme-resolved="dark"] .back-btn:hover {
    background: #1a202c;
    border-color: #da6f0d;
    color: #da6f0d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border-radius: .75rem;
    font-weight: 600;
}
.btn-primary { background: #da6f0d; color: #fff; }
.btn-primary:hover { filter: brightness(.93); }
.btn-dark { background: #001830; color: #fff; }
.btn-dark:hover { filter: brightness(1.15); }
.btn-ghost { background: #fff; border: 1px solid #e5e7eb; color: #111827; }
.btn-ghost:hover { background: #f9fafb; }
