/* -----------------------------
   Global & Body
------------------------------ */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f6fb;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}

/* -----------------------------
   Header
------------------------------ */
header {
    background: black;
    color: white;
    padding: 15px 0;
}

header .logo img {
    height: 200px;
    vertical-align: middle;
}

nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

nav a:hover {
    color: #ffc107;
}

/* -----------------------------
   Page Headings
------------------------------ */
h2 {
    margin-top: 20px;
}

/* -----------------------------
   Lane & Pins (Interactive Page)
------------------------------ */
.lane-container {
    position: relative;
    margin-top: 30px;
    border: 5px solid #333;
    border-radius: 10px;
    background: #e3d2b3;
}
.lane {
    position: relative;
    height: 320px;
    background: #e3d2b3;
}
.kickline {
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 8px;
    background: red;
    cursor: pointer;
}
.foulline {
    position: absolute;
    left: 80px;
    top: 0;
    height: 100%;
    width: 8px;
    background: black;
    cursor: pointer;
}
#ball {
    position: absolute;
    left: 40px;
    top: 140px;
    width: 40px;
    cursor: pointer;
    transition: left 1.2s linear;
}
.pin-deck {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 300px;
    height: 300px;
}
.pin {
    width: 30px;
    height: 30px;
    background: yellow;
    border: 2px solid #333;
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}
.down {
    opacity: 0.5;
    transform: rotate(90deg);
}
.p1 { top:135px; left:60px; }
.p2 { top:105px; left:100px; }
.p3 { top:165px; left:100px; }
.p4 { top:75px; left:140px; }
.p5 { top:135px; left:140px; }
.p6 { top:195px; left:140px; }
.p7 { top:45px; left:180px; }
.p8 { top:105px; left:180px; }
.p9 { top:165px; left:180px; }
.p10{ top:225px; left:180px; }

#rulebox {
    margin-top: 20px;
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

button {
    margin-top: 15px;
    padding: 10px 18px;
    background: #ffc107;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}
button:hover {
    background: #e6ad05;
}

.lane-length-toggle {
    margin-top: 10px;
    font-weight: bold;
}
.lane-length-toggle button {
    margin-right: 10px;
}
.lane-markers {
    position: absolute;
    top: 0;
    left: 100px;
    height: 100%;
    width: 2px;
    background: blue;
}

/* -----------------------------
   Form Styles (Membership/Contact)
------------------------------ */
form input, form select, form textarea {
    width: 100%;
    padding: 8px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form button {
    width: auto;
}

form label {
    font-weight: bold;
}
