:root {
    /* Prusa Inspired Colors */
    --prusa-orange: #fa6831;
    --prusa-grey: #333333;
    --prusa-light-grey: #f4f4f4;

    /* Little Maker Lady Colors */
    --primary-purple: #9b59b6;
    --primary-purple-dark: #8e44ad;
    --purple-light-bg: #f8eafc;

    /* Text */
    --text-color: #2c3e50;
    --text-light: #ffffff;

    /* Fonts */
    --font-main: 'Rubik', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.4;
    overflow-x: hidden;
    background-color: var(--purple-light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background-pattern.png');
    background-size: 600px;
    opacity: 0.15;
    z-index: -1;
    animation: backgroundScroll 60s linear infinite;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

/* Header */
.top-header {
    text-align: center;
    margin-bottom: 30px;
}

.main-title {
    font-size: 4rem;
    color: var(--primary-purple);
    margin-bottom: 5px;
    text-shadow: 3px 3px 0px var(--prusa-orange);
    line-height: 1.1;
    white-space: nowrap;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--prusa-grey);
    font-weight: 500;
}

/* BENTO GRID LAYOUT */
.bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
    align-items: start;
}

.bento-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Glass Cards Generic */
.glass-card {
    background: white;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Stronger shadow for "grounded" feel */
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

/* LEFT COLUMN */
.hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fcf6ff 100%);
}

.hero-image-wrapper {
    margin-bottom: 20px;
}

.hero-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.01);
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.badge {
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-purple-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--prusa-orange);
    white-space: nowrap;
}

/* Tip Card (Horizontal Redesign) */
.tip-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    /* Pill shape */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* Space out elements */
    gap: 15px;
    padding: 25px;
    /* Standard padding */
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 20px 0 rgba(31, 38, 135, 0.1);
    margin-top: 5px;
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px 0 rgba(31, 38, 135, 0.15);
    background: rgba(255, 255, 255, 0.8);
}

.tip-icon-wrapper {
    width: 45px;
    height: 45px;
    background: #fffbeb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f1c40f;
    flex-shrink: 0;
}

.tip-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(241, 196, 15, 0.5));
    animation: wiggle 3s infinite;
}

.tip-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    /* Take remaining space */
}

.tip-content h3 {
    color: var(--primary-purple);
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 800;
    line-height: 1.1;
}

.tip-content p {
    font-size: 0.85rem;
    color: var(--text-color);
    margin: 0;
}

.tip-action-btn {
    padding: 10px 20px;
    width: auto;
    height: auto;
    border-radius: 50px;
    background-color: var(--prusa-orange);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 3px 0 #d35400;
    transition: all 0.1s;
    flex-shrink: 0;
}

.tip-action-btn:hover {
    background-color: #e67e22;
}

.tip-action-btn:active {
    transform: translateY(3px);
    box-shadow: 0 0 0 #d35400;
}

.quality-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff8f5;
    /* Light orange tint */
    border: 2px dashed var(--prusa-orange);
    /* Sticker feel */
}

.quality-badge-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

.quality-text h3 {
    color: var(--prusa-orange);
    font-size: 1.5rem;
    margin-bottom: 8px;
    line-height: 1.1;
    font-weight: 800;
}

.quality-text p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.4;
}

/* RIGHT COLUMN - SOCIAL HUB */
.social-card-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 1.8rem;
    color: var(--prusa-grey);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.social-item:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.8rem;
    margin-right: 15px;
    color: white;
    flex-shrink: 0;
}

.label {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 600;
}

.arrow {
    font-size: 1rem;
    color: #ccc;
    transition: color 0.2s;
}

.social-item:hover .arrow {
    color: var(--prusa-orange);
}

/* Specific Colors */
.youtube .icon-box {
    background: #ff0000;
}

.social-item.youtube:hover {
    border-color: #ff0000;
}

.instagram .icon-box {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-item.instagram:hover {
    border-color: #e1306c;
}

.tiktok .icon-box {
    background: #000000;
}

.social-item.tiktok:hover {
    border-color: #000000;
}

.x-twitter .icon-box {
    background: #14171a;
}

.social-item.x-twitter:hover {
    border-color: #14171a;
}

.facebook .icon-box {
    background: #1877f2;
}

.social-item.facebook:hover {
    border-color: #1877f2;
}


footer {
    text-align: center;
    padding: 20px;
    color: var(--prusa-grey);
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 20px;
}

/* Animations */
@keyframes backgroundScroll {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100% 100%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.bounce-in {
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-right {
    animation: slideIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bouncing {
    animation: simpleBounce 2s infinite ease-in-out;
}

@keyframes simpleBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.tip-content p {
    font-size: 0.95rem;
    color: var(--text-color);
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(10deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(5deg);
    }

    40% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

/* Mobile Responsive */
@media (max-width: 850px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .main-title {
        font-size: 3rem;
        white-space: normal;
    }

    .hero-image {
        max-width: 100%;
    }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(44, 62, 80, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    position: relative;
    /* Glass card override/addition */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    border: 2px solid white;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--prusa-orange);
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

/* Form Styling */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--prusa-grey);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-purple);
    outline: none;
}

/* Buttons */
.cta-button {
    background-color: var(--prusa-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 0 #d35400;
    transition: transform 0.1s, box-shadow 0.1s;
    font-size: 0.9rem;
}

.cta-button:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #d35400;
}

.submit-button {
    width: 100%;
    background-color: var(--primary-purple);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-button:hover {
    background-color: var(--primary-purple-dark);
}
/* Modal Feedback Styles */
.modal-feedback {
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
}

.modal-feedback h3 {
    color: var(--prusa-orange);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.modal-feedback p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.modal-feedback .feedback-icon {
    font-size: 3rem;
    color: var(--prusa-orange);
    margin-bottom: 15px;
    display: block;
}

.countdown-timer {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}
