:root {
    --snapchat-yellow: #FFFC00;
    --black: #000000;
    --white: #FFFFFF;
    --gray: #888888;
    --light-gray: #EEEEEE;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 80px;
}

.ghost-icon {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    animation: float 3s ease-in-out infinite;
}

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

.ghost-icon img {
    width: 100%;
    height: 100%;
}

.container {
    max-width: 500px;
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.section {
    display: none;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

h1 {
    text-align: center;
    color: var(--black);
    margin-bottom: 30px;
    font-size: 2.5em;
}

.form-group {
    margin-bottom: 20px;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--snapchat-yellow);
}

.age-range {
    label {
        display: block;
        margin-bottom: 10px;
        color: var(--gray);
    }
}

.range-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.range-inputs input {
    width: calc(50% - 20px);
}

.range-inputs span {
    color: var(--gray);
}

.primary-button {
    width: 100%;
    padding: 15px;
    background-color: var(--snapchat-yellow);
    border: none;
    border-radius: 10px;
    color: var(--black);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 252, 0, 0.3);
}

/* Matchmaking Section Styles */
.card-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

.card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card.swiped {
    transform: translateX(-120%) rotate(-20deg);
    opacity: 0;
}

.card-image {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    margin: 0;
    color: var(--black);
    font-size: 1.5em;
}

.card-info p {
    color: var(--gray);
    margin: 5px 0;
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.action-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-button:hover {
    transform: scale(1.1);
}

.action-button.skip {
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--gray);
}

.action-button.like {
    background-color: var(--snapchat-yellow);
    color: var(--black);
}

/* No Matches Section */
.message {
    text-align: center;
}

.message h2 {
    color: var(--black);
    margin-bottom: 10px;
}

.message p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Info Bar */
.info-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--snapchat-yellow);
    color: var(--black);
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    z-index: 1100;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    letter-spacing: -0.01em;
}

.info-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 15px 20px;
    text-align: center;
    border-top: 2px solid rgba(255, 252, 0, 0.3);
    z-index: 1500;
    height: 60px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1501;
}

.social-link {
    color: var(--black);
    font-size: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    color: var(--snapchat-yellow);
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        border-radius: 0;
        box-shadow: none;
        height: 100vh;
    }

    .ghost-icon {
        width: 40px;
        height: 40px;
        top: 70px;
    }

    .card-container {
        height: 350px;
    }

    .action-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .info-bar {
        font-size: 13px;
        padding: 10px 15px;
    }

    body {
        padding: 50px 15px 70px;
    }

    #notification-container {
        bottom: 120px;
        left: 20px;
        right: 20px;
        max-height: calc(100vh - 180px);
    }

    .notification {
        max-width: none;
    }
}

#notification-container {
    position: fixed;
    bottom: 140px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-height: calc(100vh - 200px);
    overflow: hidden;
}

.notification {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    color: #333333;
    padding: 12px 16px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    max-width: 320px;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 252, 0, 0.3);
    pointer-events: all;
    cursor: pointer;
    position: relative;
    z-index: 9999;
}

.notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-text {
    flex: 1;
    line-height: 1.4;
    font-size: 14px;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #FFFC00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon img {
    width: 16px;
    height: 16px;
} 