
/* General Styles */
body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    background-color: #f4f4f9;
    color: #333;
    direction: rtl;
}

.container {
    width: 90%;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e52d27;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e52d27;
}

.lang-switcher button {
    background: none;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin-left: 0.5rem;
    border-radius: 5px;
}

.lang-switcher button.active {
    background-color: #e52d27;
    color: #fff;
    border-color: #e52d27;
}

/* Hero Section */
#hero {
    background: linear-gradient(to right, #e52d27, #b31217);
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: #fff;
    color: #e52d27;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary:hover {
    background-color: #f4f4f9;
    color: #b31217;
}

/* Ad Placeholders */
.ad-placeholder {
    background-color: #e9ecef;
    text-align: center;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px dashed #ccc;
    color: #666;
}

/* Features Section */
#features {
    padding: 3rem 0;
    text-align: center;
}

#features h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    max-width: 400px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* RTL & LTR Support */
[dir="ltr"] body {
    direction: ltr;
}

[dir="ltr"] nav ul li {
    margin-right: 0;
    margin-left: 1.5rem;
}

[dir="ltr"] .lang-switcher button {
    margin-left: 0;
    margin-right: 0.5rem;
}




/* Auth Forms */
#auth-forms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 0;
    flex-wrap: wrap;
}

.form-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.form-container h2 {
    margin-bottom: 1.5rem;
    color: #e52d27;
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="password"] {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-container .btn-primary {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
}

.form-container p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.form-container a {
    color: #e52d27;
    text-decoration: none;
}

.form-container a:hover {
    text-decoration: underline;
}



/* Watch Page Styles */
.user-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-weight: bold;
}

#user-balance {
    background-color: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

nav ul li a.active {
    color: #e52d27;
    font-weight: bold;
}

#watch-section {
    padding: 2rem 0;
}

.watch-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #e52d27;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.video-tabs {
    display: flex;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #ddd;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-button.active {
    color: #e52d27;
    border-bottom-color: #e52d27;
}

.tab-button:hover {
    color: #e52d27;
}

.video-container {
    position: relative;
    margin: 2rem 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

.sidebar-ad {
    margin: 2rem auto;
    max-width: 300px;
}

.earning-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.earning-info h3 {
    color: #e52d27;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .watch-stats {
        grid-template-columns: 1fr;
    }
    
    .tab-content iframe {
        height: 250px;
    }
    
    .tab-button {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
}


/* Profile Page Styles */
#profile-section {
    padding: 2rem 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.profile-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-card h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.profile-info .info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.info-item .label {
    font-weight: bold;
    color: #666;
}

.info-item .value {
    color: #333;
}

.earnings-stats,
.watch-stats-profile {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.stat-box {
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #e52d27;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #28a745;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.action-btn {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
}

.action-btn.primary {
    background-color: #e52d27;
    color: white;
}

.action-btn.primary:hover {
    background-color: #b31217;
}

.action-btn.secondary {
    background-color: #28a745;
    color: white;
}

.action-btn.secondary:hover {
    background-color: #1e7e34;
}

.action-btn.tertiary {
    background-color: #007bff;
    color: white;
}

.action-btn.tertiary:hover {
    background-color: #0056b3;
}

.action-btn.danger {
    background-color: #dc3545;
    color: white;
}

.action-btn.danger:hover {
    background-color: #c82333;
}

/* Responsive Design for Profile */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .earnings-stats,
    .watch-stats-profile {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}


/* Offers Page Styles */
#offers-section {
    padding: 2rem 0;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.offer-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.offer-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.offer-card h3 {
    color: #e52d27;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.offer-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.offer-reward {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.offer-btn {
    background-color: #e52d27;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.offer-btn:hover {
    background-color: #b31217;
}

.offer-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.offers-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.offers-info h3 {
    color: #e52d27;
    margin-bottom: 1rem;
}

.offers-info ul {
    list-style-type: none;
    padding: 0;
}

.offers-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 1.5rem;
}

.offers-info li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    right: 0;
}

.offers-info li:last-child {
    border-bottom: none;
}

/* Responsive Design for Offers */
@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-card {
        padding: 1.5rem;
    }
}


/* Withdraw Page Styles */
#withdraw-section {
    padding: 2rem 0;
}

.withdraw-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin: 2rem 0;
}

.balance-card,
.withdraw-form-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.balance-card h3,
.withdraw-form-card h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #28a745;
    text-align: center;
    margin: 1rem 0;
}

.balance-card p {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e52d27;
}

.currency {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
    display: block;
}

.withdraw-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.withdraw-btn:hover {
    background-color: #1e7e34;
}

.withdraw-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.withdraw-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.withdraw-info h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.info-item h4 {
    color: #e52d27;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.recent-withdrawals {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recent-withdrawals h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
}

.withdrawals-list {
    min-height: 100px;
}

.no-withdrawals {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

.withdrawal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.withdrawal-item:last-child {
    border-bottom: none;
}

.withdrawal-amount {
    font-weight: bold;
    color: #28a745;
}

.withdrawal-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-pending {
    background-color: #ffc107;
    color: #856404;
}

.status-completed {
    background-color: #28a745;
    color: white;
}

.status-rejected {
    background-color: #dc3545;
    color: white;
}

/* Responsive Design for Withdraw */
@media (max-width: 768px) {
    .withdraw-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .withdrawal-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}


/* Referral Page Styles */
#referral-section {
    padding: 2rem 0;
}

.referral-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.referral-stats,
.referral-link-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.referral-stats h3,
.referral-link-card h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.link-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.link-container input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f8f9fa;
}

.copy-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background-color: #0056b3;
}

.link-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.whatsapp {
    background-color: #25d366;
    color: white;
}

.share-btn.facebook {
    background-color: #1877f2;
    color: white;
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-btn.telegram {
    background-color: #0088cc;
    color: white;
}

.referral-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.referral-info h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.step-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #e52d27;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem auto;
}

.step-item h4 {
    color: #e52d27;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.referrals-list {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.referrals-list h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
}

.referrals-table {
    width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.no-referrals {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-style: italic;
}

/* Responsive Design for Referral */
@media (max-width: 768px) {
    .referral-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .table-header span,
    .table-row span {
        padding: 0.25rem 0;
    }
    
    .link-container {
        flex-direction: column;
    }
}


/* FAQ Page Styles */
#faq-section {
    padding: 2rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e52d27;
    transition: transform 0.3s;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0 0 1rem 0;
    color: #666;
    line-height: 1.6;
}

.faq-answer ul {
    margin: 0;
    padding-right: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-cta {
    text-align: center;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-cta h3 {
    color: #e52d27;
    margin-bottom: 1rem;
}

/* Contact Page Styles */
#contact-section {
    padding: 2rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-info,
.contact-form-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-info h3,
.contact-form-card h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-icon {
    font-size: 2rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.contact-details p {
    margin: 0 0 0.5rem 0;
    color: #666;
}

.contact-link {
    color: #e52d27;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.quick-help {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quick-help h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
    text-align: center;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.help-item {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.help-item h4 {
    color: #e52d27;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.help-item p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.help-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.help-link:hover {
    text-decoration: underline;
}

.social-links {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.social-links h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

.social-btn:hover {
    opacity: 0.8;
}

.social-btn.facebook {
    background-color: #1877f2;
    color: white;
}

.social-btn.twitter {
    background-color: #1da1f2;
    color: white;
}

.social-btn.telegram {
    background-color: #0088cc;
    color: white;
}

.social-btn.youtube {
    background-color: #ff0000;
    color: white;
}

/* Responsive Design for FAQ and Contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
}


/* Top Earners Page Styles */
#top-earners-section {
    padding: 2rem 0;
}

.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: #fff;
    border: 2px solid #e52d27;
    color: #e52d27;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background-color: #e52d27;
    color: white;
}

.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.podium-item {
    text-align: center;
    position: relative;
}

.podium-rank {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.podium-user {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    min-width: 150px;
}

.user-avatar {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.user-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.user-earnings {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

.podium-base {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
}

.first-place {
    background-color: #ffd700;
    height: 80px;
}

.second-place {
    background-color: #c0c0c0;
    height: 70px;
}

.third-place {
    background-color: #cd7f32;
    height: 60px;
}

.leaderboard-table {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 2rem 0;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 100px 150px;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 100px 150px;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.rank-number {
    font-weight: bold;
    color: #e52d27;
}

.your-rank {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.your-rank h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
}

.rank-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.rank-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rank-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e52d27;
}

.rank-username {
    font-weight: bold;
    color: #333;
}

.rank-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.rank-earnings {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

.rank-referrals {
    font-size: 0.9rem;
    color: #666;
}

.rank-motivation {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

.achievement-badges {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.achievement-badges h3 {
    color: #e52d27;
    margin-bottom: 1.5rem;
    text-align: center;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.badge-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.badge-item:hover {
    transform: translateY(-5px);
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.badge-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.badge-description {
    font-size: 0.9rem;
    color: #666;
}

/* Coming Soon Page Styles */
#coming-soon-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e52d27, #b31217);
    color: white;
    min-height: 80vh;
}

.coming-soon-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.coming-soon-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.coming-soon-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    min-width: 100px;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.upcoming-features {
    margin: 4rem 0;
}

.upcoming-features h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-preview {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-preview h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-preview p {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.feature-status {
    background-color: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}

.newsletter-signup {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.newsletter-signup h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.newsletter-signup p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.newsletter-input {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-input button {
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #e52d27;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.social-follow {
    margin: 3rem 0;
}

.social-follow h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Responsive Design for Top Earners and Coming Soon */
@media (max-width: 768px) {
    .podium {
        flex-direction: column;
        align-items: center;
    }
    
    .table-header,
    .leaderboard-row {
        grid-template-columns: 60px 1fr 80px;
        font-size: 0.9rem;
    }
    
    .table-header span:nth-child(4),
    .table-header span:nth-child(5),
    .leaderboard-row span:nth-child(4),
    .leaderboard-row span:nth-child(5) {
        display: none;
    }
    
    .rank-card {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .rank-stats {
        align-items: center;
    }
    
    .coming-soon-content h1 {
        font-size: 2rem;
    }
    
    .countdown-timer {
        gap: 1rem;
    }
    
    .countdown-item {
        padding: 1rem;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .newsletter-input {
        flex-direction: column;
    }
}

