.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    font-family: 'Poppins', sans-serif;
}

.auth-box {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-header {
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 350px;
}

.auth-header h2 {
    color: #69439b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'League Spartan', sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
}

.auth-header p {
    color: #6b7280;
    font-size: 1rem;
}

.auth-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
    border: 5px solid #69439b;
    width: 100%;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.form-group input:not([type="checkbox"]) {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f9fafb;
}

.form-group input:not([type="checkbox"]):focus,
.form-group input:not([type="checkbox"]):not(:placeholder-shown) {
    outline: none;
    border-color: #69439b;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(105, 67, 155, 0.15);
}

.form-group input::placeholder {
    color: #9ca3af;
    opacity: 0.7;
    font-style: italic;
}

.form-group input:focus::placeholder {
    opacity: 0.4;
}

.form-group input.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: block;
}

.terms-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.2rem;
    border-radius: 0.25rem;
    border: 2px solid #d1d5db;
    accent-color: #69439b;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked {
    background-image: linear-gradient(90deg, #69439b, #24154a);
    border-color: #69439b;
}

.checkbox-label .link {
    color: #69439b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.checkbox-label .link:hover {
    color: #4b2d6e;
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    background: linear-gradient(to right, #69439b, #4b2d6e);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(105, 67, 155, 0.3);
}

.submit-button:hover {
    background: linear-gradient(to right, #5a3784, #3d2459);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(105, 67, 155, 0.4);
}

.submit-button:active {
    transform: translateY(1px);
}

.submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(105, 67, 155, 0.3);
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.register-link {
    font-size: 0.95rem;
    color: #6b7280;
}

.register-link a {
    color: #69439b;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.register-link a:hover {
    color: #4b2d6e;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-form-container {
        padding: 1.5rem;
    }

    .auth-header h2 {
        font-size: 1.75rem;
    }
}

/* How It Works Styles */
.how-it-works-container {
    font-family: 'Inter', sans-serif;
    position: relative;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #69439b 0%, #316678 50%, #41c35e 100%);
    margin-top: -110px;
    padding-top: 160px;
    padding-bottom: 100px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right top, #69439b, #316678, #41c35e);
    opacity: 0.9;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-text {
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
}

.main-content {
    max-width: 1200px;
    margin: -5rem auto 3rem;
    padding: 0 1rem;
}

/* Steps Section */
.steps-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-0.5rem) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(to right, var(--step-color), #41c35e);
}

.step-number span {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-title {
    color: var(--step-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.step-description {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.6;
    text-align: center;
}

/* Packages Section */
.packages-section {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 4rem;
}

.section-title {
    color: #69439b;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    text-align: center;
}

.packages-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .packages-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.package-card {
    border: 2px solid var(--package-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.package-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.package-popular {
    transform: scale(1.05);
}

.package-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.popular-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: linear-gradient(to right, #316678, #41c35e);
    color: white;
    font-size: 0.875rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.package-title {
    color: var(--package-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.package-subtitle {
    color: #4b5563;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.package-price {
    color: #41c35e;
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.package-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #41c55f, #216f33);
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.package-button:hover {
    transform: scale(1.05);
}

/* Tips Section */
.tips-section {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 4rem;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .tips-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.tip-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(to right, var(--tip-color), #41c35e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
}

.tip-content {
    flex: 1;
}

.tip-title {
    color: var(--tip-color);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.tip-description {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* About Page Styles */
.about-container {
    min-height: 100vh;
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
    font-family: 'Inter', sans-serif;
}

.about-hero {
    position: relative;
    height: 50vh;
    overflow: hidden;
    background: linear-gradient(to right, #69439b, #316678);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: black;
    opacity: 0.1;
}

.about-hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.about-hero-text {
    color: white;
    max-width: 32rem;
}

.about-hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .about-hero-title {
        font-size: 3rem;
    }
}

.about-hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .about-hero-subtitle {
        font-size: 1.25rem;
    }
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.story-chapter {
    margin-bottom: 5rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

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

    .story-order-first {
        order: 2;
    }

    .story-order-second {
        order: 1;
    }
}

.story-text {
    display: flex;
    flex-direction: column;
}

.chapter-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.chapter-content {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}

.image-container {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(0) scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container:hover {
    transform: translateY(-0.5rem) scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.image-container img {
    width: 100%;
    display: block;
}

.principles-section {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .principles-section {
        padding: 2rem;
    }
}

.principles-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .principles-title {
        font-size: 1.875rem;
    }
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .principles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.principle-card {
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

@media (min-width: 768px) {
    .principle-card {
        padding: 1.5rem;
    }
}

.principle-card:hover {
    background-color: white;
    border-color: attr(data-color);
    transform: translateY(-5px);
}

.principle-card.active {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.principle-card[data-color="#69439b"]:hover {
    border-color: #69439b;
}

.principle-card[data-color="#316678"]:hover {
    border-color: #316678;
}

.principle-card[data-color="#41c35e"]:hover {
    border-color: #41c35e;
}

.principle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.principle-icon .icon {
    width: 2rem;
    height: 2rem;
}

.principle-title {
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .principle-title {
        font-size: 1.25rem;
    }
}

.principle-description {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
}

@media (min-width: 768px) {
    .principle-description {
        font-size: 1rem;
    }
}

.cta-container {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #69439b, #316678);
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(to right, #316678, #41c35e);
    transform: translateY(-2px);
}

/* Piri Logo-Style Images */
.piri-logo-image {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.piri-logo-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.piri-logo-image:hover {
    transform: scale(1.05) rotate(-3deg);
}

.piri-logo-bg {
    position: absolute;
    inset: -15%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.15;
    background: radial-gradient(circle, var(--logo-primary-color) 0%, var(--logo-secondary-color) 100%);
}

.piri-young-bg {
    --logo-primary-color: #69439b;
    --logo-secondary-color: #9a7bc0;
}

.piri-idea-bg {
    --logo-primary-color: #316678;
    --logo-secondary-color: #5799b3;
}

.piri-king-bg {
    --logo-primary-color: #41c35e;
    --logo-secondary-color: #7de395;
}

.piri-logo-outline {
    position: absolute;
    inset: -10px;
    border: 3px solid var(--logo-primary-color);
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
}

/* Animated scales for Piri fish */
.piri-scales {
    position: absolute;
    width: 35%;
    height: 35%;
    background-color: var(--logo-primary-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    animation: float 3s infinite ease-in-out;
}

.piri-scale-1 {
    top: 20%;
    left: -10%;
}

.piri-scale-2 {
    bottom: 15%;
    right: -5%;
}

.piri-scale-3 {
    top: 10%;
    right: 20%;
}

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

/* FAQ page: spacing between each accordion and the next section heading */
.faq-page .accordion {
    margin-bottom: 30px !important;
}

.faq-section-title {
    margin-bottom: 10px !important;
}

/* Anchor offset for FAQ headings so links like #heading-auktionen-9 are not hidden behind fixed header */
.accordion-header {
    scroll-margin-top: 120px;
}

/* Glow Background Elements */
.glow-bg {
    position: absolute;
    pointer-events: none;
    opacity: 0.4;
}

.glow-bg img {
    width: 600px;
    height: auto;
    opacity: 0.7;
    z-index: 1000;
    max-width: none;
}

.glow-bg-1 {
    top: 200px;
    left: -20px;
}

.glow-bg-2 {
    top: 700px;
    right: -20px;
}

.glow-bg-3 {
    top: 1200px;
    left: -20px;
}

.glow-bg-4 {
    top: 1700px;
    right: -20px;
}

.glow-bg-5 {
    top: 2200px;
    left: -20px;
}

.glow-bg-6 {
    top: 2700px;
    right: -20px;
}

.glow-bg-7 {
    top: 3200px;
    left: -20px;
}

.glow-bg-8 {
    top: 3700px;
    right: -20px;
}

.glow-bg-9 {
    top: 4200px;
    left: -20px;
}

.glow-bg-10 {
    top: 4700px;
    right: -20px;
}

.glow-bg-11 {
    top: 5200px;
    left: -20px;
}

.glow-bg-12 {
    top: 5700px;
    right: -20px;
}

.glow-bg-13 {
    top: 6200px;
    left: -20px;
}

.glow-bg-14 {
    top: 6700px;
    right: -20px;
}

.glow-bg-15 {
    top: 7200px;
    left: -20px;
}

.glow-bg-16 {
    top: 7700px;
    right: -20px;
}

.glow-bg-17 {
    top: 8200px;
    left: -20px;
}

.glow-bg-18 {
    top: 8700px;
    right: -20px;
}

.glow-bg-19 {
    top: 9200px;
    left: -20px;
}

.glow-bg-20 {
    top: 9700px;
    right: -20px;
}

.glow-bg-21 {
    top: 10200px;
    left: -20px;
}

.glow-bg-22 {
    top: 10700px;
    right: -20px;
}

.glow-bg-23 {
    top: 11200px;
    left: -20px;
}

.glow-bg-24 {
    top: 11700px;
    right: -20px;
}

.glow-bg-25 {
    top: 12200px;
    left: -20px;
}

.glow-bg-26 {
    top: 12700px;
    right: -20px;
}

.glow-bg-27 {
    top: 13200px;
    left: -20px;
}

.glow-bg-28 {
    top: 13700px;
    right: -20px;
}

.glow-bg-29 {
    top: 14200px;
    left: -20px;
}

.glow-bg-30 {
    top: 14700px;
    right: -20px;
}

.glow-bg-31 {
    top: 15200px;
    left: -20px;
}

.glow-bg-32 {
    top: 15700px;
    right: -20px;
}

.glow-bg-33 {
    top: 16200px;
    left: -20px;
}

.glow-bg-34 {
    top: 16700px;
    right: -20px;
}

.glow-bg-35 {
    top: 17200px;
    left: -20px;
}

.glow-bg-36 {
    top: 17700px;
    right: -20px;
}

.glow-bg-37 {
    top: 18200px;
    left: -20px;
}

.glow-bg-38 {
    top: 18700px;
    right: -20px;
}

.glow-bg-39 {
    top: 19200px;
    left: -20px;
}

.glow-bg-40 {
    top: 19700px;
    right: -20px;
}

.glow-bg-41 {
    top: 20200px;
    left: -20px;
}

.glow-bg-42 {
    top: 20700px;
    right: -20px;
}

.glow-bg-43 {
    top: 21200px;
    left: -20px;
}

.glow-bg-44 {
    top: 21700px;
    right: -20px;
}

.glow-bg-45 {
    top: 22200px;
    left: -20px;
}

.glow-bg-46 {
    top: 22700px;
    right: -20px;
}

.glow-bg-47 {
    top: 23200px;
    left: -20px;
}

.glow-bg-48 {
    top: 23700px;
    right: -20px;
}

.glow-bg-49 {
    top: 24200px;
    left: -20px;
}

.glow-bg-50 {
    top: 24700px;
    right: -20px;
}

.glow-bg-51 {
    top: 25200px;
    left: -20px;
}

/* Green glow elements with higher opacity */
.glow-bg-1 img,
.glow-bg-3 img,
.glow-bg-5 img,
.glow-bg-7 img,
.glow-bg-9 img,
.glow-bg-11 img,
.glow-bg-13 img,
.glow-bg-15 img,
.glow-bg-17 img,
.glow-bg-19 img,
.glow-bg-21 img,
.glow-bg-23 img,
.glow-bg-25 img,
.glow-bg-27 img,
.glow-bg-29 img,
.glow-bg-31 img,
.glow-bg-33 img,
.glow-bg-35 img,
.glow-bg-37 img,
.glow-bg-39 img,
.glow-bg-41 img,
.glow-bg-43 img,
.glow-bg-45 img,
.glow-bg-47 img,
.glow-bg-48 img,
.glow-bg-49 img,
.glow-bg-50 img,
.glow-bg-51 img {
    opacity: 1.0 !important;
}

/* Mobile: Hide glow backgrounds */
@media (max-width: 768px) {
    .glow-bg {
        display: none;
    }
}

/* Tablet: Smaller glow backgrounds */
@media (min-width: 769px) and (max-width: 1024px) {
    .glow-bg img {
        width: 300px;
    }

    .glow-bg-1, .glow-bg-3, .glow-bg-5, .glow-bg-7, .glow-bg-9, .glow-bg-11, .glow-bg-13, .glow-bg-15,
    .glow-bg-17, .glow-bg-19, .glow-bg-21, .glow-bg-23, .glow-bg-25, .glow-bg-27, .glow-bg-29,
    .glow-bg-31, .glow-bg-33, .glow-bg-35, .glow-bg-37, .glow-bg-39, .glow-bg-41, .glow-bg-43,
    .glow-bg-45, .glow-bg-47, .glow-bg-48, .glow-bg-49, .glow-bg-50, .glow-bg-51 {
        left: -40px;
    }

    .glow-bg-2, .glow-bg-4, .glow-bg-6, .glow-bg-8, .glow-bg-10, .glow-bg-12, .glow-bg-14, .glow-bg-16,
    .glow-bg-18, .glow-bg-20, .glow-bg-22, .glow-bg-24, .glow-bg-26, .glow-bg-28, .glow-bg-30,
    .glow-bg-32, .glow-bg-34, .glow-bg-36, .glow-bg-38, .glow-bg-40, .glow-bg-42, .glow-bg-44,
    .glow-bg-46, .glow-bg-48, .glow-bg-49, .glow-bg-50, .glow-bg-51 {
        right: -40px;
    }
}
