/* style/affiliates.css */
.page-affiliates {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0D1117; /* Primary dark background */
}

.page-affiliates__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0D1117 0%, #2a313e 100%); /* Subtle gradient for hero */
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #FFD700;
}

.page-affiliates__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-affiliates__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-affiliates__hero-description {
    font-size: 1.2em;
    color: #C0C0C0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-affiliates__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
}

.page-affiliates__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) blur(5px);
    transform: scale(1.1);
}

.page-affiliates__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.page-affiliates__section--why-partner {
    background-color: #1a1f27;
}

.page-affiliates__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for section titles */
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-affiliates__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-affiliates__section-intro {
    font-size: 1.1em;
    color: #B0B0B0;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.page-affiliates__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-affiliates__feature-item {
    background-color: #1a1f27;
    border: 1px solid #FFD70030;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-affiliates__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.page-affiliates__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-affiliates__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-affiliates__feature-description {
    font-size: 1em;
    color: #C0C0C0;
    line-height: 1.6;
}

.page-affiliates__section--commission, .page-affiliates__section--tools, .page-affiliates__section--how-to-join {
    background-color: #0D1117;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-affiliates__commission-overview, .page-affiliates__tools-grid, .page-affiliates__steps-grid {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.page-affiliates__commission-overview p, .page-affiliates__commission-overview ul {
    font-size: 1.1em;
    color: #C0C0C0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-affiliates__commission-overview ul {
    list-style: none;
    padding-left: 0;
}

.page-affiliates__commission-overview ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.page-affiliates__commission-overview ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFD700;
}

.page-affiliates__section-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    filter: brightness(0.8);
}

.page-affiliates__tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-affiliates__tool-item {
    background-color: #1a1f27;
    border-left: 5px solid #FFD700;
    padding: 25px;
    border-radius: 5px;
    text-align: left;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-affiliates__tool-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-affiliates__tool-description {
    font-size: 1em;
    color: #C0C0C0;
    line-height: 1.6;
}

.page-affiliates__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-affiliates__step-item {
    background-color: #1a1f27;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.page-affiliates__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFD700;
    color: #0D1117;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    border: 3px solid #0D1117;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-affiliates__step-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-affiliates__step-description {
    font-size: 1em;
    color: #C0C0C0;
    line-height: 1.6;
}

.page-affiliates__section--detail-pages {
    background-color: #1a1f27;
    padding-bottom: 80px;
}

.page-affiliates__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-affiliates__detail-item {
    background-color: #0D1117;
    border: 1px solid #FFD70050;
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-affiliates__detail-title {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-affiliates__detail-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-affiliates__detail-title a:hover {
    color: #ffffff;
}

.page-affiliates__detail-description {
    font-size: 0.95em;
    color: #B0B0B0;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-affiliates__section--cta {
    background-color: #0D1117;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Buttons */
.page-affiliates__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-affiliates__btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #0D1117; /* Dark text on gold */
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-affiliates__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-affiliates__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    margin-top: 20px;
}

.page-affiliates__btn--secondary:hover {
    background-color: #FFD700;
    color: #0D1117;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-affiliates__btn--text {
    background: none;
    border: none;
    color: #FFD700;
    padding: 0;
    font-size: 1em;
    font-weight: normal;
    text-decoration: underline;
    margin-top: 15px;
    display: inline-block;
}

.page-affiliates__btn--text:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-affiliates__hero-title {
        font-size: 2.8em;
    }
    .page-affiliates__section-title {
        font-size: 2.2em;
    }
    .page-affiliates__tools-grid, .page-affiliates__steps-grid, .page-affiliates__detail-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-affiliates__hero {
        padding: 60px 15px;
    }
    .page-affiliates__hero-title {
        font-size: 2.2em;
    }
    .page-affiliates__hero-description {
        font-size: 1em;
    }
    .page-affiliates__section {
        padding: 40px 15px;
    }
    .page-affiliates__section-title {
        font-size: 1.8em;
    }
    .page-affiliates__section-intro {
        font-size: 0.95em;
    }
    .page-affiliates__features-grid, .page-affiliates__tools-grid, .page-affiliates__steps-grid, .page-affiliates__detail-list {
        grid-template-columns: 1fr;
    }
    .page-affiliates__feature-item, .page-affiliates__tool-item, .page-affiliates__step-item, .page-affiliates__detail-item {
        padding: 20px;
    }
    .page-affiliates__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-affiliates__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .page-affiliates__hero-title {
        font-size: 1.8em;
    }
    .page-affiliates__section-title {
        font-size: 1.6em;
    }
    .page-affiliates__btn {
        width: 100%;
        box-sizing: border-box;
    }
}