/**
 * Play Social Garden - Garden Bloom Theme
 * Fresh, natural, and optimistic garden-inspired design
 */

/* ===== CSS Variables ===== */
:root {
    --color-primary: #3A7D44;
    --color-secondary: #A7E9AF;
    --color-accent: #FFD166;
    --color-background: #F9FFF8;
    --color-text: #1A202C;
    --color-text-light: #4A5568;
    --color-white: #FFFFFF;
    --color-border: #E2E8F0;
    --color-shadow: rgba(58, 125, 68, 0.1);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px var(--color-shadow);
    --shadow-md: 0 4px 16px var(--color-shadow);
    --shadow-lg: 0 8px 32px var(--color-shadow);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    font-weight: 600;
    color: var(--color-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.875rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* ===== Navigation (vine-nav) ===== */
.vine-nav {
    background: linear-gradient(135deg, #2d6136 0%, var(--color-primary) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
}

.site-logo {
    height: 70px;
    width: auto;
    max-width: none;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    cursor: pointer;
    padding: 0.7rem;
    flex-direction: column;
    gap: 5px;
    grid-column: 3;
    justify-self: end;
}

.menu-icon {
    width: 26px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
}

.nav-menu-left {
    justify-content: flex-end;
    grid-column: 1;
}

.nav-menu-right {
    justify-content: flex-start;
    grid-column: 3;
}

.nav-link {
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-link.active {
    background: var(--color-accent);
    color: var(--color-text);
    border-color: var(--color-accent);
}

/* ===== Buttons (petal-btn) ===== */
.petal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.petal-btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d6136 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.petal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.petal-btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.petal-btn-secondary:hover {
    background-color: #8fd99a;
    transform: translateY(-2px);
}

.petal-btn-accent {
    background-color: var(--color-accent);
    color: var(--color-text);
}

.petal-btn-accent:hover {
    background-color: #ffc233;
    transform: translateY(-2px);
}

.petal-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ===== Hero Section (garden-hero) ===== */
.garden-hero {
    background: linear-gradient(135deg, #F9FFF8 0%, #E8F5E9 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    animation: float 6s ease-in-out infinite;
}

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

/* ===== Bloom Highlights ===== */
.bloom-highlights {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ===== Cards (bloom-card) ===== */
.bloom-card {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.bloom-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 12px;
    padding: 12px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.card-description {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== Nature Guide ===== */
.nature-guide {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F9FFF8 0%, #FFF9E6 100%);
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.guide-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d6136 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--color-text-light);
}

.guide-visual {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.guide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    animation: gentle-pulse 4s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* ===== Newsletter ===== */
.newsletter-bud {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d6136 100%);
    color: var(--color-white);
}

.newsletter-bud .section-title,
.newsletter-bud .section-subtitle {
    color: var(--color-white);
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form-main {
    margin-top: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input-main {
    flex: 1;
    min-width: 280px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: var(--transition);
}

.newsletter-input-main::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input-main:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.2);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Garden Collection (Games) ===== */
.garden-collection {
    padding: 5rem 0;
    background-color: var(--color-background);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.game-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(58, 125, 68, 0.95) 0%, rgba(45, 97, 54, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info {
    padding: 1.5rem 0 0 0;
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.game-description {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Game Play Section ===== */
.game-play-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-background) 0%, #E8F5E9 100%);
    padding: 2rem 0;
}

.game-play-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.game-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    transition: var(--transition);
    width: fit-content;
}

.back-link:hover {
    color: var(--color-text);
    transform: translateX(-4px);
}

.back-link svg {
    width: 24px;
    height: 24px;
}

.game-play-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    margin: 0;
}

.game-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-play-disclaimer {
    margin-top: 2rem;
}

.game-play-disclaimer .disclaimer-box {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.game-play-disclaimer .disclaimer-text {
    color: var(--color-text-light);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.error-content {
    text-align: center;
    padding: 5rem 2rem;
}

.error-content h1 {
    margin-bottom: 1rem;
}

.error-content p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* ===== Disclaimer Section ===== */
.disclaimer-section {
    padding: 3rem 0;
    background-color: #FFF9E6;
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.disclaimer-title {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.disclaimer-text {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ===== Toast (sunray-toast) ===== */
.sunray-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    z-index: 9999;
    border-left: 4px solid var(--color-primary);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0;
}

.toast-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.toast-actions .petal-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* ===== Footer (leaf-footer) ===== */
.leaf-footer {
    background: linear-gradient(135deg, #2d6136 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-heading {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--color-accent);
    padding-left: 0.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.newsletter-input {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 0.875rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.footer-disclaimer {
    margin-bottom: 2rem;
}

.disclaimer-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-accent);
}

.disclaimer-box .disclaimer-text {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 0;
}

/* ===== Content Page ===== */
.content-page {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.page-date {
    text-align: center;
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: 3rem;
}

.content-block {
    margin-bottom: 2.5rem;
}

.content-block h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-block h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.content-block ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-block li {
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cookie-table thead {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d6136 100%);
    color: var(--color-white);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.cookie-table th {
    font-weight: 600;
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table tbody tr:hover {
    background-color: rgba(167, 233, 175, 0.1);
}

/* ===== Error Section ===== */
.error-section {
    padding: 5rem 0;
    text-align: center;
}

.error-section h1 {
    margin-bottom: 1rem;
}

.error-section p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .hero-container,
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-visual,
    .guide-visual {
        height: 300px;
    }
    
    .hero-image,
    .guide-image {
        object-position: center;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .game-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 968px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .vine-nav {
        padding: 0.75rem 0;
    }
    
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .logo-link {
        order: 1;
    }
    
    .site-logo {
        height: 55px;
        max-width: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .nav-menu-left,
    .nav-menu-right {
        order: 3;
        width: 100%;
        background: rgba(45, 97, 54, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
        display: none;
        border-radius: 12px;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .nav-menu-left.active,
    .nav-menu-right.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 8px;
        letter-spacing: 0.5px;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .nav-link.active {
        background: var(--color-accent);
        color: var(--color-text);
        border-color: var(--color-accent);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .petal-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .sunray-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .newsletter-input-main {
        width: 100%;
    }
    
    .toast-actions {
        flex-direction: column;
    }
    
    .toast-actions .petal-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .garden-hero,
    .bloom-highlights,
    .nature-guide,
    .newsletter-bud,
    .content-page,
    .garden-collection {
        padding: 3rem 0;
    }
    
    .hero-visual,
    .guide-visual {
        height: 250px;
    }
    
    .hero-image,
    .guide-image {
        animation: none; /* Disable animations on mobile for performance */
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .site-logo {
        height: 48px;
        max-width: none;
    }
    
    .mobile-menu-toggle {
        padding: 0.5rem;
    }
    
    .menu-icon {
        width: 22px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-image-wrapper {
        height: 220px;
    }
    
    .game-play-section {
        padding: 1rem 0;
    }
    
    .game-play-container {
        padding: 0 1rem;
    }
    
    .game-play-title {
        font-size: 1.75rem;
    }
    
    .game-iframe-wrapper {
        padding-bottom: 75%; /* Adjust for mobile */
    }
    
    .cookie-table {
        font-size: 0.875rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem;
    }
}

/* ===== Accessibility ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #2d6136;
        --color-text: #000000;
    }
    
    .petal-btn {
        border: 2px solid currentColor;
    }
}

