/* 50s Advertising Theme for Grommesmade */

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

:root {
    --cream: #FDF5E6;
    --red: #C41E3A;
    --teal: #008080;
    --mustard: #FFDB58;
    --brown: #5C4033;
    --dark-red: #8B0000;
}

body {
    font-family: 'Oswald', sans-serif;
    background: var(--cream);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 219, 88, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 128, 128, 0.2) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(196, 30, 58, 0.03) 35px,
            rgba(196, 30, 58, 0.03) 70px
        );
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow-x: hidden;
    position: relative;
}

.container {
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Title Styling */
.header {
    margin-bottom: 3rem;
}

.title {
    font-family: 'Lobster', cursive;
    font-size: clamp(3.5rem, 12vw, 6rem);
    color: var(--red);
    text-shadow: 
        4px 4px 0 var(--mustard),
        6px 6px 0 var(--brown);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    transform: rotate(-2deg);
    animation: gentle-sway 4s ease-in-out infinite;
}

@keyframes gentle-sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(1deg); }
}

/* Subtitle Banner */
.subtitle-banner {
    background: var(--teal);
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
    transform: rotate(1deg);
    box-shadow: 
        4px 4px 0 var(--brown),
        inset 0 -3px 0 rgba(0, 0, 0, 0.2);
    border: 3px solid var(--brown);
}

.subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--cream);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* Site Cards */
.sites-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.site-card {
    background: linear-gradient(180deg, var(--mustard) 0%, #E5C34E 100%);
    border: 4px solid var(--brown);
    border-radius: 50px;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--brown);
    box-shadow: 
        5px 5px 0 var(--red),
        inset 0 -4px 0 rgba(0, 0, 0, 0.15),
        inset 0 4px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

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

.site-card:hover::before {
    left: 100%;
}

.site-card:hover {
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 
        7px 7px 0 var(--red),
        inset 0 -4px 0 rgba(0, 0, 0, 0.15),
        inset 0 4px 0 rgba(255, 255, 255, 0.3);
}

.site-card:active {
    transform: translateY(2px);
    box-shadow: 
        2px 2px 0 var(--red),
        inset 0 -4px 0 rgba(0, 0, 0, 0.15),
        inset 0 4px 0 rgba(255, 255, 255, 0.3);
}

.site-name {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.arrow {
    font-size: 1.8rem;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.site-card:hover .arrow {
    transform: translateX(5px);
}

/* Decorative Badge */
.badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--red);
    border-radius: 50%;
    border: 4px solid var(--mustard);
    box-shadow: 
        3px 3px 0 var(--brown),
        inset 0 0 20px rgba(0, 0, 0, 0.2);
    color: var(--cream);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.badge span:first-child {
    font-size: 0.8rem;
}

.badge .year {
    font-size: 1.4rem;
}

/* Decorative Starbursts */
.starburst {
    position: fixed;
    width: 150px;
    height: 150px;
    background: var(--mustard);
    opacity: 0.3;
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 
        50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
    );
    z-index: 0;
}

.starburst.top-left {
    top: 5%;
    left: 5%;
    transform: rotate(15deg);
}

.starburst.top-right {
    top: 10%;
    right: 5%;
    transform: rotate(-10deg);
    background: var(--teal);
    opacity: 0.2;
}

.starburst.bottom-left {
    bottom: 10%;
    left: 8%;
    transform: rotate(25deg);
    background: var(--red);
    opacity: 0.15;
    width: 100px;
    height: 100px;
}

.starburst.bottom-right {
    bottom: 5%;
    right: 10%;
    transform: rotate(-20deg);
    width: 120px;
    height: 120px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    body {
        padding: 1rem;
    }
    
    .site-card {
        padding: 1rem 1.5rem;
        border-radius: 30px;
    }
    
    .subtitle-banner {
        padding: 0.75rem 1.25rem;
    }
    
    .starburst {
        display: none;
    }
    
    .badge {
        width: 80px;
        height: 80px;
    }
    
    .badge .year {
        font-size: 1.2rem;
    }
}
