:root {
    --vfl-bg-gradient: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    --vfl-primary: #16a34a; /* Green 600 */
    --vfl-primary-glow: #22c55e; /* Green 500 */
    --vfl-accent: #39ff14; /* Neon */
    --vfl-text: #052e16; /* Dark Green */
    --vfl-text-muted: #14532d;
    --vfl-glass-bg: rgba(255, 255, 255, 0.7);
    --vfl-glass-border: rgba(255, 255, 255, 0.8);
    --vfl-glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --vfl-card-hover-transform: translateY(-5px);
}

body {
    background: var(--vfl-bg-gradient);
    background-attachment: fixed;
    color: var(--vfl-text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--vfl-text);
    font-weight: 800;
    letter-spacing: -0.5px;
}

a {
    color: var(--vfl-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--vfl-primary-glow);
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--vfl-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--vfl-glass-border);
    box-shadow: var(--vfl-glass-shadow);
    border-radius: 16px;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(22, 163, 74, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    color: var(--vfl-primary) !important;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.nav-link {
    color: var(--vfl-text) !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    background: rgba(22, 163, 74, 0.1);
    color: var(--vfl-primary) !important;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(22, 163, 74, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.dropdown-item:hover {
    background: rgba(22, 163, 74, 0.1);
    color: var(--vfl-primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--vfl-primary), var(--vfl-primary-glow));
    border: none;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.4);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 2rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.5);
    background: linear-gradient(135deg, var(--vfl-primary-glow), var(--vfl-primary));
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--vfl-primary);
    color: var(--vfl-primary);
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--vfl-primary);
    color: white;
    box-shadow: 0 0 15px rgba(22, 163, 74, 0.3);
}

/* Cards */
.card {
    background: var(--vfl-glass-bg) !important;
    backdrop-filter: blur(10px);
    border: 1px solid white !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--vfl-primary-glow) !important;
}

.card-title {
    color: var(--vfl-primary);
    font-weight: 700;
}

.offer-card .card-title,
.offer-card .card-title a {
    font-size: 1.15rem;
    line-height: 1.3;
    word-break: break-word;
    color: #000 !important;
}

.offer-card .offer-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem;
    font-size: 1.05rem;
    hyphens: auto;
    overflow-wrap: anywhere;
}

.offer-card .offer-title a {
    font-size: 1.05rem;
}

@media (max-width: 576px) {
    .offer-card .offer-title,
    .offer-card .offer-title a {
        font-size: 1rem;
    }
}
.offer-card .offer-image {
    width: 100%;
    height: 240px;
    object-fit: contain;
}

.text-muted {
    color: var(--vfl-text-muted) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(220,252,231,0.5) 100%);
    position: relative;
    padding: 8rem 0 6rem 0;
}

.hero h1 {
    background: -webkit-linear-gradient(135deg, var(--vfl-text), var(--vfl-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* Footer */
footer.bg-dark {
    background: white !important;
    color: var(--vfl-text) !important;
    border-top: 1px solid rgba(0,0,0,0.05);
}

footer h5 {
    color: var(--vfl-primary);
    margin-bottom: 1.5rem;
}

footer a.text-white {
    color: var(--vfl-text-muted) !important;
}

footer a.text-white:hover {
    color: var(--vfl-primary) !important;
}

/* Board Cards */
.board-card {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.board-card:hover {
    transform: scale(1.02);
}

.privacy-page .content h2 {
    font-weight: 800;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding-bottom: 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}

.board-image-wrapper {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.board-frame {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.board-photo {
    position: absolute;
    /* Adjusted position for the frame window (below logo) */
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    
    /* Adjusted size to fit the window better */
    width: 68%; 
    height: 52%; 
    object-fit: cover;
    
    /* Rounded corners to match frame style */
    border-radius: 12px;
}

.board-photo-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 68%;
    height: 52%;
    background-color: #dcfce7;
    border-radius: 12px;
}

.board-info h3 {
    margin-top: -20px;
    font-size: 1.25rem;
    color: var(--vfl-text);
}

.board-info p {
    color: var(--vfl-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
