/* Poker Agents Page Styles */

/* Header Section */
.agents-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('poker-agents-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: #121212;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    margin-top: 0;
    padding: 0;
    margin-top: 60px; /* Add this line to account for the navbar */
}

.agents-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.8) 0%, rgba(139, 0, 0, 0.8) 100%);
    opacity: 0.7;
}

.agents-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.agents-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.agents-header p {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Common Section Styles */
.agents-container {
    width: 100%;
    margin: 0;
    padding: 0 150px;
}

/* Agent Info Section */
.agent-info-section {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000000;
    color: white;
    width: 100%;
}

.agent-image {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px; /* Fixed height for the container */
}

.centered-image {
    height: 100%;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.agent-description {
    width: 100%;
    text-align: center;
    padding: 0 40px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.agent-description h2 {
    color: white;
    margin-top: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.agent-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.agents-benefits-section,
.commission-structure-section,
.agent-steps-section,
.agent-testimonials-section,
.agent-cta-section {
    padding: 40px 0;
    text-align: center;
}

.agents-benefits-section .agents-container,
.commission-structure-section .agents-container,
.agent-steps-section .agents-container,
.agent-testimonials-section .agents-container,
.agent-cta-section .agents-container {
    padding: 0 200px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.agents-benefits-section p,
.commission-structure-section p,
.agent-steps-section p,
.agent-testimonials-section p,
.agent-cta-section p {
    text-align: center;
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    padding: 0 5px;
}

.agents-benefits-section {
    background-color: #000000;
    color: white;
}

.commission-structure-section {
    background-color: #000000;
    color: white;
}

.agent-steps-section {
    background: #000000;
    color: white;
}

.agent-testimonials-section {
    background-color: #000000;
    color: white;
}

.agent-cta-section {
    background-color: #000000;
    color: white;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.agent-steps-section h2,
.agent-cta-section h2 {
    color: white;
}

.agents-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.agent-steps-section .agents-subtitle,
.agent-cta-section .agents-subtitle {
    color: #ccc;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: #000000;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.benefit-card p {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
}

/* Commission Structure */
.commission-table-container {
    overflow-x: auto;
    margin-top: 40px;
}

.commission-table {
    width: 100%;
    border-collapse: collapse;
    background: #000000;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    color: white;
    text-align: center;
}

.commission-table th,
.commission-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.commission-table th {
    background-color: #c81e1e;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.commission-table tr:last-child td {
    border-bottom: none;
}

.commission-table tr:nth-child(even) {
    background-color: #000000;
}

.commission-table tr:hover {
    background-color: #1a1a1a;
}

/* Agent Steps */
.agent-steps {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 40px auto 0;
    gap: 30px;
}

.agent-step {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.agent-step:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.step-number {
    background: #c81e1e;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-content {
    text-align: left;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.step-content p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #000000;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.8;
    font-style: italic;
    text-align: center;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: #333;
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: serif;
    z-index: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #c81e1e;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px;
    color: white;
}

.author-info p {
    font-size: 0.9rem;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

/* CTA Section */
.agent-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.agent-cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 200px;
    text-align: center;
}

.agent-cta-button.primary {
    background: #c81e1e;
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(200, 30, 30, 0.3);
}

.agent-cta-button.primary:hover {
    background: #a51818;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(200, 30, 30, 0.4);
}

.agent-cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.agent-cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.agent-contact-info {
    margin-top: 50px;
    color: #ddd;
}

.agent-contact-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.agent-contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding: 10px;
}

.contact-method:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-icon.telegram {
    background: linear-gradient(45deg, #0088cc, #00a8ff);
}

.contact-icon.email {
    background: linear-gradient(45deg, #d14836, #ea4335);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .agents-header h1 {
        font-size: 2.2rem;
    }
    
    .agents-header p {
        font-size: 1.1rem;
    }
    
    .agent-image {
        height: 250px; /* Even smaller height on mobile */
    }
    
    .agent-info-section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .agent-description {
        padding: 0 20px;
    }
    
    .agents-benefits-section .agents-container,
    .commission-structure-section .agents-container,
    .agent-steps-section .agents-container,
    .agent-testimonials-section .agents-container,
    .agent-cta-section .agents-container {
        padding: 0 20px;
    }

    .agents-container {
    padding: 0 20px;
}
    
    .agent-description p,
    .agents-benefits-section p,
    .commission-structure-section p,
    .agent-steps-section p,
    .agent-testimonials-section p,
    .agent-cta-section p {
        font-size: 1rem;
    }
    
    .agents-subtitle {
        font-size: 1rem;
    }
    
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card,
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .agent-step {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .step-number {
        margin: 0 0 20px 0;
    }
    
    .step-content {
        text-align: center;
    }
    
    .agent-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .agent-cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .agents-header h1 {
        font-size: 1.6rem;
        padding: 0 10px;
    }
    
    h2 {
        font-size: 1.4rem;
        padding: 0 10px;
        margin-top: 20px;
        margin-bottom: 15px;
    }
    
    .agent-description p,
    .agents-benefits-section p,
    .commission-structure-section p,
    .agent-steps-section p,
    .agent-testimonials-section p,
    .agent-cta-section p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 10px;
        margin-bottom: 15px;
    }
    
    .agent-image {
        height: 180px;
    }
    
    .agents-benefits-section,
    .commission-structure-section,
    .agent-steps-section,
    .agent-testimonials-section,
    .agent-cta-section {
        padding: 25px 0;
    }
    
    .agent-description {
        padding: 0 15px;
    }
    
    .agents-benefits-section .agents-container,
    .commission-structure-section .agents-container,
    .agent-steps-section .agents-container,
    .agent-testimonials-section .agents-container,
    .agent-cta-section .agents-container {
        padding: 0 15px;
    }
}

@media (max-width: 360px) {
    .agents-header h1 {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .agent-description p,
    .agents-benefits-section p,
    .commission-structure-section p,
    .agent-steps-section p,
    .agent-testimonials-section p,
    .agent-cta-section p {
        font-size: 0.85rem;
    }
    
    .agent-image {
        height: 150px;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}
