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

:root {
    --primary-color: #e63946;
    --secondary-color: #f1faee;
    --accent-color: #457b9d;
    --dark-color: #1d3557;
    --light-color: #a8dadc;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #d4a574;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated bowling pins background */
.bowling-pins {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.nav-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: var(--dark-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-2px);
}

/* Simple Navigation */
.simple-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: transparent;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}

.simple-nav a {
    padding: 8px 18px;
    background: rgba(139, 69, 19, 0.85);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.simple-nav a:hover {
    background: rgba(160, 82, 45, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.simple-nav a:active {
    transform: translateY(0px);
}

@media (max-width: 768px) {
    .simple-nav {
        position: relative;
        justify-content: center;
        padding: 20px;
        flex-direction: row;
        gap: 10px;
    }
    
    .simple-nav a {
        flex: 1;
        text-align: center;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .simple-nav {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
    
    .simple-nav a {
        text-align: center;
        font-size: 14px;
        padding: 10px 20px;
        width: 100%;
        max-width: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding: 6rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-simple {
    min-height: 100vh;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-logo {
    width: 300px;
    height: auto;
    margin-bottom: 3rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.hero-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
    letter-spacing: 3px;
    animation: slideInDown 0.8s ease-out;
    font-weight: 700;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Bowling ball animation */
.bowling-ball {
    position: fixed;
    bottom: 100px;
    left: -120px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: roll 8s ease-in-out infinite;
    z-index: 5;
    opacity: 0;
}

.ball-1 {
    background: radial-gradient(circle at 30% 30%, #e63946, #a8001c);
    animation-delay: 0s;
}

.ball-2 {
    background: radial-gradient(circle at 30% 30%, #3b82f6, #1e40af);
    animation-delay: 2s;
}

.ball-3 {
    background: radial-gradient(circle at 30% 30%, #10b981, #047857);
    animation-delay: 4s;
}

.ball-4 {
    background: radial-gradient(circle at 30% 30%, #8b5cf6, #5b21b6);
    animation-delay: 6s;
}

.bowling-ball::before,
.bowling-ball::after {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.bowling-ball::before {
    width: 12px;
    height: 12px;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 15px 8px 0 rgba(0, 0, 0, 0.3);
}

.bowling-ball::after {
    width: 12px;
    height: 12px;
    top: 50%;
    left: 35%;
}

@keyframes roll {
    0% {
        left: -120px;
        transform: rotate(0deg);
        opacity: 1;
    }
    70% {
        left: calc(100vw + 120px);
        transform: rotate(1440deg);
        opacity: 1;
    }
    70.1% {
        left: calc(100vw + 120px);
        transform: rotate(1440deg);
        opacity: 0;
    }
    70.2% {
        left: -120px;
        transform: rotate(0deg);
        opacity: 0;
    }
    100% {
        left: -120px;
        transform: rotate(0deg);
        opacity: 0;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 87, 108, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--dark-color);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.info-card .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.info-card:nth-child(2) .icon {
    animation-delay: 0.2s;
}

.info-card:nth-child(3) .icon {
    animation-delay: 0.4s;
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

.info-card p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-section h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Page Header (for hat-order page) */
.page-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 4rem 0 3rem;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.page-header h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
}

.page-header-simple {
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
}

.page-header-simple h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    font-weight: 700;
}

.page-header-simple h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Form Section */
.form-section {
    padding: 2rem 0 3rem;
    position: relative;
    z-index: 10;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.form-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.form-intro h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.form-intro p {
    color: #666;
    font-size: 1.1rem;
}

.google-form-wrapper {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
}

.form-note p {
    color: var(--dark-color);
    font-size: 1rem;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-title {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    /* Make bowling ball smaller on tablets */
    .bowling-ball {
        width: 60px;
        height: 60px;
        bottom: 80px;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .page-header-simple {
        padding: 2.5rem 0 1.5rem;
    }
    
    .page-logo {
        width: 160px;
    }
    
    .page-header-simple h1 {
        font-size: 2.2rem;
    }
    
    .page-header-simple h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 180px;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 0px;
    }
    
    .nav-logo {
        height: 40px;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    /* Even smaller bowling ball on mobile */
    .bowling-ball {
        width: 50px;
        height: 50px;
        bottom: 60px;
    }
    
    .bowling-ball::before {
        width: 8px;
        height: 8px;
        box-shadow: 10px 5px 0 rgba(0, 0, 0, 0.3);
    }
    
    .bowling-ball::after {
        width: 8px;
        height: 8px;
    }
    
    .hero {
        padding: 3rem 1rem;
        min-height: 100vh;
    }
    
    .hero-simple {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .page-header {
        padding: 2rem 0 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .page-header-simple {
        padding: 1.5rem 0 1rem;
    }
    
    .page-logo {
        width: 120px;
        margin-bottom: 1rem;
    }
    
    .page-header-simple h1 {
        font-size: 1.5rem;
        letter-spacing: 0px;
    }
    
    .page-header-simple h2 {
        font-size: 1.1rem;
    }
    
    .form-intro h2 {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}
