/* Banner Section */
        .aff-banner-section {
            position: relative;
            height: 300px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .aff-banner-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
        }

        .aff-banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            z-index: 2;
        }

        .aff-banner-content {
            position: relative;
            z-index: 3;
            text-align: center;
            color: var(--white);
            padding: 0 20px;
        }

        .aff-banner-title {
            font-size: 42px;
            font-weight: 800;
            margin-bottom: 15px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .aff-banner-subtitle {
            font-size: 18px;
            font-weight: 400;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Main Content Section */
        .aff-main-content {
            padding: 40px 20px;
            background-color: var(--white);
        }

        .aff-content-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            gap: 30px;
        }

        /* Sidebar Menu */
        .aff-sidebar {
            width: 280px;
            flex-shrink: 0;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .aff-sidebar-menu {
            background-color: var(--white);
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            padding: 20px;
        }

        .aff-sidebar-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--text-dark);
            padding-bottom: 10px;
            border-bottom: 2px solid var(--border-color);
        }

        .aff-menu-list {
            list-style: none;
        }

        .aff-menu-item {
            margin-bottom: 5px;
        }

        .aff-menu-link {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            color: var(--text-dark);
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .aff-menu-link:hover {
            background-color: rgba(36, 92, 61, 0.1);
            color: var(--secondary-color);
            transform: translateX(5px);
        }

        .aff-menu-link.active {
            background: var(--secondary-color);
            color: var(--white);
        }

        .aff-menu-icon {
            width: 20px;
            height: 20px;
            margin-right: 12px;
            flex-shrink: 0;
        }

        /* Content Container */
        .aff-content-container {
            flex: 1;
            background-color: var(--white);
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            padding: 30px;
            scroll-behavior: smooth;
        }

        /* Section Styles */
        .aff-section {
            margin-bottom: 60px;
            padding-bottom: 40px;
            border-bottom: 1px solid var(--border-color);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .aff-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .aff-section:nth-child(1) { animation-delay: 0.1s; }
        .aff-section:nth-child(2) { animation-delay: 0.2s; }
        .aff-section:nth-child(3) { animation-delay: 0.3s; }
        .aff-section:nth-child(4) { animation-delay: 0.4s; }
        .aff-section:nth-child(5) { animation-delay: 0.5s; }

        .aff-section-header {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }

        .aff-section-title {
            font-size: 22px;
            font-weight: 700;
            color: var(--secondary-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .aff-section-title i {
            color: var(--secondary-color);
        }

        .aff-section-subtitle {
            color: var(--text-dark);
            margin-top: 10px;
            padding-left: 11px;
        }

        /* Logo Cards Grid */
        .aff-logo-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }

        .aff-logo-card {
            background-color: var(--white);
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            border: 2px solid var(--border-color);
            text-align: center;
            min-height: 200px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: visible;
        }

        .aff-logo-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-color: var(--primary-color);
        }

        .aff-logo-image-container {
            width: 100%;
            max-width: 120px;
            height: 100%;
            max-height: 120px;
            margin-bottom: 15px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            aspect-ratio: 1/1;
            overflow: hidden;
            border-radius: 10%;
            background-color: var(--bg-light);
            padding: 5px;
        }

        .aff-logo-image {
            max-width: calc(100% - 20px);
            max-height: calc(100% - 20px);
            object-fit: fill;
            transition: transform 0.3s ease;
            border-radius: 10%;
        }

        .aff-logo-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            padding: 4px 10px;
            background: var(--secondary-color);
            color: var(--white);
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .aff-logo-card:hover .aff-logo-image {
            transform: scale(1.1);
        }

        .aff-logo-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.7);
        }

        .aff-overlay-icon {
            width: 40px;
            height: 40px;
            color: var(--white);
        }

        .aff-logo-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .aff-logo-subtitle {
            font-size: 14px;
            color: var(--text-light);
            line-height: 1.4;
        }

        /* Modal Styles */
        .aff-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s ease;
        }

        .aff-modal.active {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .aff-modal-content {
            background-color: var(--white);
            border-radius: 16px;
            padding: 30px;
            max-width: 600px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            animation: slideUp 0.3s ease;
        }

        @keyframes slideUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .aff-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: var(--bg-light);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 18px;
        }

        .aff-modal-close:hover {
            background-color: var(--secondary-color);
            color: var(--white);
        }

        .aff-modal-header {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 2px solid var(--border-color);
        }

        .aff-modal-logo {
            width: 100px;
            height: 100px;
            margin-right: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--bg-light);
            border-radius: 10px;
            padding: 10px;
        }

        .aff-modal-logo img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .aff-modal-info h2 {
            font-size: 24px;
            margin-bottom: 5px;
            color: var(--text-dark);
        }

        .aff-modal-info p {
            color: var(--text-light);
            font-size: 16px;
        }

        .aff-modal-badge {
            display: inline-block;
            padding: 5px 12px;
            background: var(--secondary-color);
            color: var(--white);
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-top: 10px;
        }

        .aff-modal-details {
            margin-top: 25px;
        }

        .aff-modal-details h3 {
            font-size: 18px;
            margin-bottom: 15px;
            color: var(--text-dark);
        }

        .aff-detail-item {
            display: flex;
            margin-bottom: 12px;
        }

        .aff-detail-label {
            font-weight: 600;
            color: var(--text-dark);
            width: 120px;
            flex-shrink: 0;
        }

        .aff-detail-value {
            color: var(--text-light);
        }

        .aff-modal-description {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
        }

        .aff-modal-description h3 {
            font-size: 18px;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        .aff-modal-description p {
            color: var(--text-light);
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .aff-modal-links {
            margin-top: 20px;
            display: flex;
            gap: 10px;
        }

        .aff-modal-link {
            padding: 8px 16px;
            background: var(--secondary-color);
            color: var(--white);
            text-decoration: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .aff-modal-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

        /* No results message */
        .no-results {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-light);
        }

        .no-results i {
            font-size: 48px;
            color: var(--border-color);
            margin-bottom: 15px;
        }

        .no-results h3 {
            font-size: 22px;
            color: var(--text-dark);
            margin-bottom: 10px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .aff-banner-title {
                font-size: 32px;
            }

            .aff-banner-subtitle {
                font-size: 16px;
            }

            .aff-content-wrapper {
                flex-direction: column;
            }

            .aff-sidebar {
                width: 100%;
                position: static;
                margin-bottom: 20px;
            }

            .aff-sidebar-menu {
                position: static;
            }

            .aff-content-container {
                padding: 20px;
            }

            .aff-logo-cards-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 20px;
            }

            .aff-modal-content {
                padding: 20px;
            }

            .aff-modal-header {
                flex-direction: column;
                text-align: center;
            }

            .aff-modal-logo {
                margin-right: 0;
                margin-bottom: 15px;
            }

            .aff-logo-image-container {
                max-width: 100px;
                max-height: 100px;
                padding: 8px;
            }
            
            .aff-logo-image {
                max-width: calc(100% - 16px);
                max-height: calc(100% - 16px);
            }
            
            .aff-logo-badge {
                top: 10px;
                right: 10px;
                padding: 3px 8px;
                font-size: 10px;
            }
        }

        @media (max-width: 576px) {
            .aff-banner-title {
                font-size: 24px;
            }

            .aff-content-title {
                font-size: 24px;
            }

            .aff-sidebar {
                margin-bottom: 20px;
            }

            .aff-logo-cards-grid {
                grid-template-columns: 1fr;
            }

            .aff-logo-image-container {
                max-width: 80px;
                max-height: 80px;
                padding: 6px;
            }
            
            .aff-logo-image {
                max-width: calc(100% - 12px);
                max-height: calc(100% - 12px);
            }
            
            .aff-logo-badge {
                top: 8px;
                right: 8px;
                padding: 2px 6px;
                font-size: 9px;
            }
        }