/* 
   ==========================================================================
   POSTER STYLE (pendaftaran_individu.php)
   Theme: Professional Dark Blue (Run For Peace)
   ========================================================================== 
*/

/* --- GLOBAL RESET & VARIABLES --- */
:root {
    --primary-color: #003366;   /* Dark Navy Blue */
    --secondary-color: #0056b3; /* Medium Blue */
    --accent-color: #ffcc00;    /* Gold for highlights */
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #e6f0fa 0%, #cce0f5 100%);
    --card-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
    --hover-shadow: 0 20px 40px rgba(0, 51, 102, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 204, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* --- MAIN CONTAINER --- */
.poster-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    animation: fadeInUp 1s ease-out;
}

/* --- HEADER LOGOS --- */
.poster-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.logos-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.header-logo {
    height: 80px;
    width: auto;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.header-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.header-text p {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 2px;
    font-weight: 600;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--card-shadow);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
}

/* LEFT SIDE: Image */
.hero-image {
    position: relative;
    height: 600px;
    background: #002244;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,51,102,0.9), transparent);
}

/* RIGHT SIDE: Details */
.hero-details {
    padding: 3rem;
    position: relative;
}

/* EVENT LOGO HEADER */
.event-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.event-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.event-title h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--primary-color);
    text-transform: uppercase;
}

.event-title .subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 2px;
}

/* CATEGORY CARD */
.category-card {
    background: #f0f7ff;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 6px solid var(--accent-color);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.category-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 56, 179, 0.1);
    transform: scale(1.02);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.distance {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.distance span {
    font-size: 1.5rem;
    font-weight: 600;
}

.category-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-info i {
    color: var(--secondary-color);
    width: 25px;
}

/* PRICE BURST */
.price-burst {
    position: absolute;
    top: 5%;
    right: 15%;
    background: #ffcc00; /* Yellow */
    color: #6d1f1f; /* Dark Reddish Brown Text */
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bangers', cursive;
    font-size: 2.2rem;
    transform: rotate(15deg);
    z-index: 10;
    animation: pop 2s infinite ease-in-out;
    border-radius: 50%; /* Perfect Circle */
    border: 4px solid #fff; /* White border like a sticker */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.price-burst:hover {
    animation: none;
    transform: rotate(0deg) scale(1.2);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.5);
}

.price-content {
    text-align: center;
    line-height: 1;
}

.currency {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 2px;
}

.amount {
    font-size: 2.8rem;
    font-weight: bold;
}

@keyframes pop {
    0%, 100% { transform: rotate(15deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.1); }
}

/* GROUP REGISTRATION SPECIFIC */
.hero-title-section {
    position: relative;
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
    background: #f0f7ff;
    border-radius: 30px;
    border: 2px dashed var(--primary-color);
    overflow: hidden;
}

.script-title {
    font-family: 'Dancing Script', cursive;
    font-size: 5rem;
    color: var(--primary-color);
    line-height: 1;
    transform: rotate(-5deg);
    text-shadow: 3px 3px 0px rgba(0,0,0,0.1);
    margin-bottom: 0;
}

.poster-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.poster-column {
    position: relative;
}

/* INFO BOXES (Entitlements) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.info-box {
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 51, 102, 0.2);
    background: rgba(255, 255, 255, 0.85);
}

.info-box::before {
    display: none;
}

.info-header {
    background: var(--primary-color);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: none;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.benefit-list li .icon {
    font-size: 1.4rem;
    width: 35px;
    height: 35px;
    background: #e6f0fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

/* MERCHANDISE GRID */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.merch-item {
    text-align: center;
}

.merch-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.merch-item:hover img {
    transform: scale(1.1);
}

.merch-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

/* INFO BANNER (Date & Location) */
.info-banner {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 51, 102, 0.2);
    animation: fadeInUp 1s ease-out 1s backwards;
    transition: transform 0.3s ease;
}

.info-banner:hover {
    transform: scale(1.01);
}

.info-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.info-item {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.divider {
    width: 2px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    margin: 0 2rem;
}

.highlight-text {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.sub-text {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* BOTTOM SECTION */
.bottom-action-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.extra-details {
    padding: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-list i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.cta-container {
    background: #e6f0fa;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px dashed var(--secondary-color);
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.register-btn-large {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    margin-bottom: 1.5rem;
    animation: pulse-glow 2s infinite;
    position: relative;
    overflow: hidden;
}

.register-btn-large:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 204, 0, 0.5);
    background: #ffd633;
}

.register-btn-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.register-btn-large:hover::after {
    left: 100%;
}

.contact-box {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    display: inline-block;
    width: 100%;
}

.contact-box .label {
    background: #000;
    color: #fff;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-dark);
}

.contact-name {
    font-weight: bold;
    font-size: 1rem !important;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .hero-details {
        padding: 2rem;
    }
    
    .price-burst {
        top: -20px;
        right: 20px;
        width: 100px;
        height: 100px;
        font-size: 1.8rem;
    }
    
    .info-banner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .divider {
        width: 60px;
        height: 2px;
        margin: 0;
    }
    
    .bottom-action-section {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    
    .extra-details {
        text-align: center;
    }
    
    .feature-list li {
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .poster-content-grid {
        grid-template-columns: 1fr;
    }

    .script-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .event-title h1 {
        font-size: 1.8rem;
    }
    
    .merch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .distance {
        font-size: 2.5rem;
    }
}

/* Size Chart Styles */
.size-charts-wrapper {
    margin-top: 2.5rem;
    text-align: center;
    animation: fadeInUp 1s ease-out 1.2s backwards;
}

.size-charts-wrapper .section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.size-charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .size-charts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.size-chart-card {
    background: #fff;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.size-chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.chart-badge {
    display: block;
    background: var(--secondary-color);
    color: #fff;
    padding: 8px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* BACK LINK */
.back-link-container {
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1.4s backwards;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.back-link:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.back-link i {
    transition: transform 0.3s ease;
}

.back-link:hover i {
    transform: translateX(-5px);
}
