/* =========================================
   07 Gender Reveal Split (Boy or Girl?)
   ========================================= */

:root {
    --boy-blue: #4A90E2;
    --girl-pink: #FF69B4;
    --dark-text: #2D3748;
    --white: #FFFFFF;
    
    --font-heading: 'Baloo 2', cursive;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.split-wrapper {
    position: relative;
    width: 100%;
}

/* Hero Section */
.split-hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

.side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: flex 0.5s ease;
}
.side:hover {
    flex: 1.2;
}

.boy-side {
    background-color: var(--boy-blue);
    color: var(--white);
}
.girl-side {
    background-color: var(--girl-pink);
    color: var(--white);
}

.icon-huge {
    font-size: 8rem;
    opacity: 0.2;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.side h2 {
    font-family: var(--font-heading);
    font-size: 8vw;
    font-weight: 700;
    opacity: 0.8;
    z-index: 2;
    letter-spacing: 5px;
}

.center-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    max-width: 500px;
}

.center-content {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 4px solid var(--white);
    background-clip: padding-box;
}

.question-mark {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--boy-blue) 50%, var(--girl-pink) 50%);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -100px auto 20px;
    border: 5px solid var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1); }
}

.names {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1rem;
    font-weight: 600;
    color: #718096;
}

/* Details Section */
.split-details {
    position: relative;
    z-index: 5;
    padding: 100px 5%;
    background-color: var(--white);
}

.details-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.split-card {
    flex: 1;
    min-width: 280px;
    background-color: #F7FAFC;
    border-radius: 30px;
    padding: 50px 30px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px dashed #E2E8F0;
}
.split-card:hover {
    transform: translateY(-5px);
    border-color: #CBD5E0;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--boy-blue) 50%, var(--girl-pink) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.split-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #A0AEC0;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.highlight {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.split-card p {
    font-weight: 600;
    color: #718096;
}

.btn-split {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--dark-text);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    border-radius: 20px;
    margin-top: 20px;
    transition: all 0.3s ease;
}
.btn-split:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* RSVP Section */
.split-rsvp {
    position: relative;
    z-index: 5;
    padding: 80px 5% 100px;
    background-color: #EDF2F7;
    display: flex;
    justify-content: center;
}

.rsvp-content {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.rsvp-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 15px;
}
.rsvp-content p {
    font-weight: 600;
    margin-bottom: 30px;
    color: #718096;
}

.split-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.split-form input[type="text"],
.split-form select {
    padding: 15px;
    background-color: #F7FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 15px;
    color: var(--dark-text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.3s ease;
}
.split-form input[type="text"]:focus,
.split-form select:focus {
    border-color: var(--dark-text);
}

.team-selection {
    display: flex;
    gap: 15px;
    margin: 10px 0;
}
.team-option {
    flex: 1;
    position: relative;
    cursor: pointer;
}
.team-option input {
    display: none;
}
.team-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 15px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}
.boy-option span { background-color: rgba(74, 144, 226, 0.1); color: var(--boy-blue); }
.girl-option span { background-color: rgba(255, 105, 180, 0.1); color: var(--girl-pink); }

.boy-option input:checked + span {
    background-color: var(--boy-blue);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}
.girl-option input:checked + span {
    background-color: var(--girl-pink);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.3);
}

.btn-split-solid {
    padding: 18px;
    background: linear-gradient(90deg, var(--boy-blue) 0%, var(--girl-pink) 100%);
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-top: 15px;
}
.btn-split-solid:hover {
    opacity: 0.9;
}

.form-message {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark-text);
}

.split-footer {
    position: relative;
    z-index: 5;
    background-color: var(--white);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #CBD5E0;
}
.split-footer a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .split-hero { flex-direction: column; }
    .side h2 { font-size: 15vw; }
    .center-content { padding: 40px 20px; }
}
