@font-face {
    font-family: 'Azalea';
    src: url('/fonts/Azalea.ttf') format('truetype'), url('/fonts/Azalea.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Masters/Augusta National Color Scheme */
:root {
    --masters-green: #004225;
    --masters-gold: #D4AF37;
    --masters-green-light: #0a5d2e;
    --masters-green-dark: #002d15;
    --masters-gold-light: #e8c547;
    --masters-gold-dark: #b59a30;
    --masters-white: #ffffff;
    --masters-cream: #faf9f6;
    --masters-gray: #f8f8f8;
    --masters-text: #1a1a1a;
    --masters-text-light: #666666;
    --masters-border: #e8e8e8;
}

/* Base Reset and Typography */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #004225 0%, #002d15 100%);
    background-attachment: fixed;
    color: var(--masters-text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Use Azalea font for headings and special elements */
h1, h2, h3, h4, h5, h6,
.navbar-brand,
.hero h1,
.card-title,
.display-font {
    font-family: 'Azalea', 'Georgia', 'Times New Roman', serif;
    font-weight: normal;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Logo Styles */
.logo {
    height: 50px;
    width: auto;
    max-width: 300px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
}

.logo-large {
    height: 120px;
    width: auto;
    max-width: 600px;
    margin: 2rem 0;
}

.logo-splash {
    height: 150px;
    width: auto;
    max-width: 700px;
    margin: 2rem auto;
    display: block;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo {
        height: 40px;
        max-width: 240px;
    }
    
    .logo-large {
        height: 100px;
        max-width: 500px;
    }
    
    .logo-splash {
        height: 120px;
        max-width: 560px;
    }
}

@media (max-width: 576px) {
    .logo {
        height: 35px;
        max-width: 210px;
    }
    
    .logo-large {
        height: 80px;
        max-width: 400px;
    }
    
    .logo-splash {
        height: 100px;
        max-width: 470px;
    }
}

h1 {
    font-size: 2.75rem;
    color: var(--masters-green);
    margin-bottom: 1.5rem;
    text-transform: none;
    font-weight: 400;
}

h2 {
    font-size: 2.25rem;
    color: var(--masters-green);
    margin-bottom: 1.5rem;
    text-transform: none;
    font-weight: 400;
}

h3 {
    font-size: 1.75rem;
    color: var(--masters-green);
    margin-bottom: 1.25rem;
    font-weight: 400;
}

h4 {
    font-size: 1.25rem;
    color: var(--masters-green);
    margin-bottom: 1rem;
    font-weight: 400;
}

p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--masters-text);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--masters-text-light);
}

/* Main Content Container - Elegant white card */
/* Only apply container styling to the main content area, not navbar */
body > .container-fluid[style*="background-color"] > .container {
    background-color: var(--masters-white);
    border-radius: 12px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    min-height: calc(100vh - 250px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

body > .container-fluid[style*="background-color"] > .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--masters-gold) 0%, var(--masters-gold-light) 50%, var(--masters-gold) 100%);
}

/* Hero Section - Refined and Elegant */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: 
        linear-gradient(135deg, rgba(0, 66, 37, 0.92) 0%, rgba(0, 45, 21, 0.95) 100%),
        url('https://golfcentralvalley.com/wp-content/uploads/2014/03/feature_pic4.png') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--masters-gold);
    padding: 4rem 3rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 5rem;
    color: var(--masters-gold);
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(212, 175, 55, 0.2);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.375rem;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.9;
    font-weight: 300;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta a {
    text-decoration: none;
    background: linear-gradient(135deg, var(--masters-gold) 0%, var(--masters-gold-dark) 100%);
    color: var(--masters-green-dark);
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.2);
    display: inline-block;
    text-transform: uppercase;
    border: 2px solid transparent;
}

.cta a:hover {
    background: linear-gradient(135deg, var(--masters-gold-light) 0%, var(--masters-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.3);
    color: var(--masters-green-dark);
}

/* Features Section - Refined */
.features {
    padding: 4rem 3rem;
    background: linear-gradient(to bottom, var(--masters-cream) 0%, var(--masters-white) 100%);
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--masters-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.features h2 {
    color: var(--masters-green);
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--masters-gold), transparent);
}

.features ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.features li {
    margin: 1.75rem 0;
    font-size: 1.125rem;
    line-height: 1.8;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    position: relative;
    background: var(--masters-white);
    border-radius: 8px;
    border-left: 4px solid var(--masters-gold);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.features li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left-color: var(--masters-gold-light);
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    color: var(--masters-gold);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.features li strong {
    color: var(--masters-green);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Contact Section */
.contact {
    padding: 4rem 3rem;
    background: var(--masters-white);
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid var(--masters-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact h2 {
    color: var(--masters-green);
    margin-bottom: 1.5rem;
}

.contact p {
    font-size: 1.125rem;
    color: var(--masters-text-light);
}

.contact a.email {
    color: var(--masters-gold);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--masters-gold);
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.contact a.email:hover {
    color: var(--masters-gold-dark);
    border-bottom-color: var(--masters-gold-dark);
}

/* Cards - Elegant Masters Style */
.card {
    border: 1px solid var(--masters-border);
    border-radius: 10px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    background: var(--masters-white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 3px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, var(--masters-green) 0%, var(--masters-green-light) 100%);
    color: var(--masters-gold) !important;
    padding: 1.25rem 2rem;
    border-bottom: 3px solid var(--masters-gold);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.card-header * {
    color: var(--masters-gold) !important;
}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
    color: var(--masters-gold) !important;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--masters-gold-light), transparent);
}

.card-body {
    padding: 2rem;
}

.card-title {
    margin-bottom: 1rem;
    color: var(--masters-green);
    font-size: 1.5rem;
}

/* Tables - Sophisticated Masters Style */
.table {
    width: 100%;
    margin-bottom: 1.5rem;
    background-color: var(--masters-white);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--masters-border);
}

.table thead {
    background: linear-gradient(135deg, var(--masters-green) 0%, var(--masters-green-light) 100%);
    color: var(--masters-gold);
}

.table thead th {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    border: none;
    color: var(--masters-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-family: 'Segoe UI', sans-serif;
}

.table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--masters-border);
}

.table tbody tr:last-child {
    border-bottom: none;
}

.table tbody tr:nth-child(even) {
    background-color: var(--masters-gray);
}

.table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.08);
    transform: scale(1.01);
}

.table tbody td {
    padding: 1.25rem 1.5rem;
    border-top: none;
    vertical-align: middle;
    color: var(--masters-text);
}

/* Table Success (Winners) */
.table-success {
    background-color: rgba(212, 175, 55, 0.12) !important;
    border-left: 4px solid var(--masters-gold);
}

.table-success:hover {
    background-color: rgba(212, 175, 55, 0.18) !important;
}

/* Forms - Refined Masters Style */
.form-group {
    margin-bottom: 1.75rem;
}

.form-control {
    border: 2px solid var(--masters-border);
    border-radius: 6px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--masters-white);
    color: var(--masters-text);
    width: 100%;
}

.form-control:focus {
    border-color: var(--masters-gold);
    box-shadow: 
        0 0 0 0.2rem rgba(212, 175, 55, 0.25),
        0 2px 8px rgba(212, 175, 55, 0.15);
    outline: none;
}

.form-control:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.form-label {
    font-weight: 600;
    color: var(--masters-green);
    margin-bottom: 0.75rem;
    display: block;
    font-size: 0.9375rem;
    letter-spacing: 0.3px;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23004225' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 3rem;
    cursor: pointer;
}

/* Buttons - Premium Masters Gold Theme */
.btn {
    border-radius: 6px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    line-height: 1.5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--masters-gold) 0%, var(--masters-gold-dark) 100%);
    color: var(--masters-green-dark);
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--masters-gold-light) 0%, var(--masters-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(212, 175, 55, 0.45),
        0 3px 8px rgba(0, 0, 0, 0.2);
    color: var(--masters-green-dark);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(212, 175, 55, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: var(--masters-white);
    color: var(--masters-green);
    border: 2px solid var(--masters-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: var(--masters-green);
    color: var(--masters-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 66, 37, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, var(--masters-green) 0%, var(--masters-green-light) 100%);
    color: var(--masters-gold);
    box-shadow: 0 2px 8px rgba(0, 66, 37, 0.25);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--masters-green-light) 0%, var(--masters-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 66, 37, 0.35);
}

.btn-danger {
    background: #dc3545;
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-link {
    background: none;
    border: none;
    color: var(--masters-green);
    text-decoration: underline;
    padding: 0;
    box-shadow: none;
}

.btn-link:hover {
    color: var(--masters-gold);
    transform: none;
}

/* Badges */
.badge {
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.bg-success {
    background: linear-gradient(135deg, var(--masters-green) 0%, var(--masters-green-light) 100%) !important;
    color: var(--masters-gold) !important;
    box-shadow: 0 2px 6px rgba(0, 66, 37, 0.3);
}

.bg-danger {
    background: #dc3545;
    color: white;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.bg-secondary {
    background: var(--masters-text-light);
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Alerts */
.alert {
    border-radius: 8px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 1.75rem;
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-color: #ffc107;
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1) 0%, rgba(13, 202, 55, 0.05) 100%);
    border-color: #0dcaf0;
    color: #055160;
}

.alert-success {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
    border-color: var(--masters-gold);
    color: var(--masters-green-dark);
    border-left-width: 4px;
}

/* Text Colors */
.text-success {
    color: var(--masters-green) !important;
    font-weight: 600;
}

.text-danger {
    color: #dc3545 !important;
    font-weight: 600;
}

.text-muted {
    color: var(--masters-text-light);
    font-style: italic;
}

/* Definition Lists */
dl.row {
    margin-bottom: 0;
}

dl.row dt {
    font-weight: 600;
    color: var(--masters-green);
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

dl.row dd {
    color: var(--masters-text);
    font-size: 1.0625rem;
    margin-bottom: 0.75rem;
}

/* Horizontal Rules */
hr {
    border: none;
    border-top: 2px solid var(--masters-gold);
    margin: 2.5rem 0;
    opacity: 0.3;
    position: relative;
}

hr::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--masters-gold);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Adjust container padding for mobile */
    body > .container-fluid[style*="background-color"] > .container {
        padding: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    /* Smaller headings on mobile */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    /* Hero section adjustments */
    .hero {
        padding: 2rem 1.5rem;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    /* Navbar adjustments */
    .navbar-custom .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-custom .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9375rem;
    }

    /* Tables - make scrollable on mobile */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        font-size: 0.875rem;
    }

    /* Forms - full width inputs on mobile */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Cards - less padding on mobile */
    .card {
        margin-bottom: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    /* Buttons - easier to tap */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-height: 44px; /* iOS recommended tap target size */
    }

    /* Definition lists - stack on mobile */
    dl.row dt,
    dl.row dd {
        width: 100%;
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }

    /* Features list - less padding */
    .features {
        padding: 2rem 1.5rem;
    }

    .features li {
        padding: 1rem 1rem 1rem 2.5rem;
    }

    /* Contact section */
    .contact {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    body > .container-fluid[style*="background-color"] > .container {
        padding: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .navbar-custom .navbar-brand {
        font-size: 1.25rem;
    }

    /* Stack form elements */
    .row .col-md-6,
    .row .col-md-4 {
        margin-bottom: 1rem;
    }
}

/* Install Prompt Banner Styles */
.install-prompt-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--masters-green) 0%, var(--masters-green-dark) 100%);
    color: var(--masters-gold);
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    border-top: 3px solid var(--masters-gold);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

.install-prompt-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.install-prompt-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.install-prompt-text {
    flex: 1;
    min-width: 200px;
}

.install-prompt-text strong {
    display: block;
    margin-bottom: 0.25rem;
}

.install-prompt-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.install-prompt-banner .btn {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* iOS Instructions Overlay */
.ios-instructions-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ios-instructions-content {
    background: var(--masters-white);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ios-instructions-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--masters-text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.ios-instructions-content h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--masters-green);
}

.ios-instructions-content ol {
    text-align: left;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.ios-instructions-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .install-prompt-content {
        flex-direction: column;
        text-align: center;
    }

    .install-prompt-buttons {
        width: 100%;
        flex-direction: column;
    }

    .install-prompt-banner .btn {
        width: 100%;
    }

    .ios-instructions-content {
        padding: 1.5rem;
    }
}

/* Links */
a {
    color: var(--masters-green);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--masters-gold);
    border-bottom-color: var(--masters-gold);
}

/* Responsive Design - Enhanced for Mobile */
@media (max-width: 768px) {
    /* Adjust container padding for mobile */
    body > .container-fluid[style*="background-color"] > .container {
        padding: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    /* Smaller headings on mobile */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    /* Hero section adjustments */
    .hero {
        padding: 2rem 1.5rem;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    /* Navbar adjustments */
    .navbar-custom .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-custom .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9375rem;
    }

    /* Tables - make scrollable on mobile */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        font-size: 0.875rem;
    }

    .table thead th,
    .table tbody td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }

    /* Forms - full width inputs on mobile */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Cards - less padding on mobile */
    .card {
        margin-bottom: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    /* Buttons - easier to tap */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-height: 44px; /* iOS recommended tap target size */
    }

    /* Definition lists - stack on mobile */
    dl.row dt,
    dl.row dd {
        width: 100%;
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }

    /* Features list - less padding */
    .features {
        padding: 2rem 1.5rem;
    }

    .features li {
        padding: 1rem 1rem 1rem 2.5rem;
    }

    /* Contact section */
    .contact {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    body > .container-fluid[style*="background-color"] > .container {
        padding: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .navbar-custom .navbar-brand {
        font-size: 1.25rem;
    }

    /* Stack form elements */
    .row .col-md-6,
    .row .col-md-4 {
        margin-bottom: 1rem;
    }

    .table thead th,
    .table tbody td {
        padding: 0.5rem 0.375rem;
        font-size: 0.8125rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    .container {
        box-shadow: none;
        padding: 0;
        border: none;
    }

    .btn {
        display: none;
    }
}

/* Utility Classes */
.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
}
