/* style/promotions.css */

/* Variables for consistency */
:root {
    --pkwin-primary: #1A1A2E;
    --pkwin-accent: #E94560;
    --pkwin-text-light: #F8F8F8;
    --pkwin-text-dark: #1A1A2E;
    --pkwin-bg-light: #FFFFFF;
    --pkwin-bg-dark: #2A2A3E;
    --pkwin-border-color: #3A3A4E;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--pkwin-text-light);
    background-color: var(--pkwin-bg-dark);
    line-height: 1.6;
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-promotions__hero {
    background: linear-gradient(135deg, var(--pkwin-primary) 0%, #2E2E4E 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero::before {
    content: '';
    position: absolute;
    top: -50px; /* Adjust as needed */
    left: -50px; /* Adjust as needed */
    width: 200px;
    height: 200px;
    background-color: rgba(233, 69, 96, 0.1);
    border-radius: 50%;
    animation: page-promotions-pulse 4s infinite ease-in-out;
    z-index: 0;
}

.page-promotions__hero::after {
    content: '';
    position: absolute;
    bottom: -70px; /* Adjust as needed */
    right: -70px; /* Adjust as needed */
    width: 250px;
    height: 250px;
    background-color: rgba(233, 69, 96, 0.15);
    border-radius: 50%;
    animation: page-promotions-pulse 5s infinite reverse ease-in-out;
    z-index: 0;
}

@keyframes page-promotions-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.page-promotions__hero .page-promotions__container {
    position: relative;
    z-index: 1;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    color: var(--pkwin-text-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-promotions__hero-subtitle {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-promotions__hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions__btn--primary {
    background-color: var(--pkwin-accent);
    color: var(--pkwin-text-light);
}

.page-promotions__btn--primary:hover {
    background-color: #C73850;
    transform: translateY(-3px);
}

.page-promotions__btn--secondary {
    background-color: transparent;
    color: var(--pkwin-accent);
    border: 2px solid var(--pkwin-accent);
}

.page-promotions__btn--secondary:hover {
    background-color: var(--pkwin-accent);
    color: var(--pkwin-text-light);
    transform: translateY(-3px);
}

.page-promotions__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-promotions__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* General Section Styling */
.page-promotions__section {
    padding: 80px 0;
    text-align: center;
}

.page-promotions__section-title {
    font-size: 2.8em;
    color: var(--pkwin-text-light);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-promotions__section-description {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
    max-width: 900px;
    margin: 0 auto 60px;
}

/* Why Choose Section */
.page-promotions__why-choose {
    background-color: var(--pkwin-primary);
}

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

.page-promotions__why-choose-item {
    background-color: var(--pkwin-bg-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__why-choose-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) saturate(100%) invert(48%) sepia(85%) saturate(1987%) hue-rotate(320deg) brightness(100%) contrast(100%); /* Colorize to accent */
}

.page-promotions__why-choose-item h3 {
    font-size: 1.5em;
    color: var(--pkwin-accent);
    margin-bottom: 15px;
}

.page-promotions__why-choose-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
}

/* Promotion Types Section */
.page-promotions__promo-types {
    background-color: var(--pkwin-bg-dark);
}

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

.page-promotions__promo-card {
    background-color: var(--pkwin-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--pkwin-accent);
}

.page-promotions__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__promo-content h3 {
    font-size: 1.8em;
    color: var(--pkwin-accent);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__promo-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
    background-color: var(--pkwin-primary);
}

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

.page-promotions__step-item {
    background-color: var(--pkwin-bg-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.page-promotions__step-number {
    width: 60px;
    height: 60px;
    background-color: var(--pkwin-accent);
    color: var(--pkwin-text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2em;
    font-weight: bold;
    margin: 0 auto 25px;
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.5);
}

.page-promotions__step-item h3 {
    font-size: 1.6em;
    color: var(--pkwin-text-light);
    margin-bottom: 15px;
}

.page-promotions__step-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1em;
}

.page-promotions__step-item p a {
    color: var(--pkwin-accent);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-item p a:hover {
    text-decoration: underline;
}

.page-promotions__how-to-claim-cta {
    margin-top: 60px;
}

/* Why PKWIN Overall Section */
.page-promotions__why-pkwin-overall {
    background-color: var(--pkwin-bg-dark);
}

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

.page-promotions__feature-item {
    background-color: var(--pkwin-primary);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-promotions__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(0) saturate(100%) invert(48%) sepia(85%) saturate(1987%) hue-rotate(320deg) brightness(100%) contrast(100%); /* Colorize to accent */
}

.page-promotions__feature-item h3 {
    font-size: 1.6em;
    color: var(--pkwin-accent);
    margin-bottom: 15px;
}

.page-promotions__feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
}

.page-promotions__final-text {
    font-size: 1.2em;
    color: var(--pkwin-text-light);
    margin-top: 60px;
    font-weight: bold;
}

/* Final CTA Section */
.page-promotions__cta-final {
    background: linear-gradient(45deg, var(--pkwin-accent) 0%, #C73850 100%);
    padding: 80px 0;
    color: var(--pkwin-text-light);
}

.page-promotions__cta-content {
    max-width: 900px;
}

.page-promotions__cta-title {
    font-size: 3em;
    color: var(--pkwin-text-light);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-description {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions__cta-buttons .page-promotions__btn--primary {
    background-color: var(--pkwin-primary);
    color: var(--pkwin-text-light);
}

.page-promotions__cta-buttons .page-promotions__btn--primary:hover {
    background-color: #0F0F1A;
}

.page-promotions__cta-buttons .page-promotions__btn--secondary {
    border-color: var(--pkwin-primary);
    color: var(--pkwin-primary);
}

.page-promotions__cta-buttons .page-promotions__btn--secondary:hover {
    background-color: var(--pkwin-primary);
    color: var(--pkwin-text-light);
}

/* Detail Links Section */
.page-promotions__detail-links {
    background-color: var(--pkwin-bg-dark);
}

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

.page-promotions__detail-item {
    background-color: var(--pkwin-primary);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.page-promotions__detail-item h3 {
    font-size: 1.5em;
    color: var(--pkwin-accent);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-promotions__detail-item h3 a {
    color: var(--pkwin-accent);
    text-decoration: none;
}

.page-promotions__detail-item h3 a:hover {
    text-decoration: underline;
}

.page-promotions__detail-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__link-more {
    display: inline-block;
    color: var(--pkwin-accent);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--pkwin-accent);
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-promotions__link-more:hover {
    color: var(--pkwin-text-light);
    border-color: var(--pkwin-text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2.2em;
    }
    .page-promotions__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero {
        padding: 80px 0;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1.1em;
    }
    .page-promotions__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn--large {
        width: 80%;
        margin: 0 auto;
    }
    .page-promotions__section {
        padding: 60px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-promotions__why-choose-grid, .page-promotions__promo-grid, .page-promotions__steps-grid, .page-promotions__features-grid, .page-promotions__detail-list {
        grid-template-columns: 1fr;
    }
    .page-promotions__cta-title {
        font-size: 2em;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero {
        padding: 60px 0;
    }
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-subtitle {
        font-size: 0.9em;
    }
    .page-promotions__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__cta-title {
        font-size: 1.8em;
    }
}