/* Custom Styles for Planktonia */

/* Alpine.js cloak */
[x-cloak] { display: none !important; }

/* Image protection - prevent saving */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    -webkit-touch-callout: none;
}

/* Allow clicks on interactive images */
.cursor-pointer img,
.cursor-pointer,
button img,
a img,
img.cursor-pointer,
[x-data] img.cursor-pointer {
    pointer-events: auto;
}

/* Disable drag */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Base body styles */
body {
    font-size: 16px;
    line-height: 1.6;
}

/* Image rendering optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.object-cover, .object-contain {
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Brand gradients and backgrounds */
.bg-brand-gradient {
    background: linear-gradient(135deg, #3fafc5 0%, #217c95 50%, #18566a 100%);
}

.bg-brand-dark {
    background-color: #0a2530;
}

.bg-brand-light {
    background-color: #f0f9fb;
}

/* Marketplace buttons */
.btn-ozon {
    background: #005bff;
}

.btn-ozon:hover {
    background: #0041b8;
}

.btn-wb {
    background: #cb11ab;
}

.btn-wb:hover {
    background: #9a0d82;
}

/* Fish Pond Animation */
.pond {
    background-color: transparent;
}

.fish {
    position: absolute;
    margin: -15px 0 0 -30px;
    opacity: 0;
    transition: transform 12s ease-in-out;
    animation: fish-spawn .8s forwards;
}

@keyframes fish-spawn {
    100% { opacity: 1; }
}

.fish-bob {
    position: relative;
    margin-top: -20px;
    animation: fish-bob 6s infinite ease-in-out;
}

@keyframes fish-bob {
    50% { transform: translateY(30px); }
}

.fish-direction {
    position: relative;
    transition: transform .5s;
}

.fish-body {
    position: relative;
    margin-left: 6px;
    width: 20px;
    height: 12px;
    border-radius: 50%;
    background-color: #2a8a9e;
    border-bottom: solid 1px #237d90;
    transition: transform 2s ease-out;
}

.fish-body::before {
    content: '';
    display: block;
    position: absolute;
    left: -5px;
    width: 0;
    height: 0;
    border-left: solid 10px #2a8a9e;
    border-top: solid 6px transparent;
    border-bottom: solid 6px transparent;
}

.fish-body::after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 14px;
    width: 2px;
    height: 2px;
    background-color: #4fc4d9;
    border-radius: 50%;
}

.fish-flip .fish-direction { 
    transform: scaleX(-1); 
}

.bubble {
    position: absolute;
    width: 4px;
    height: 4px;
    border: solid 1px #3a9db0;
    border-radius: 50%;
    margin: -15px 0 0 15px;
    transform-origin: center top;
    animation: bubble-rise 5s linear forwards;
}

@keyframes bubble-rise {
    100% {
        transform: translateY(-150px) rotate(-720deg);
        opacity: 0;
    }
}

.bubble-flip {
    margin-left: -22px;
    animation-name: bubble-rise-flip;
}

@keyframes bubble-rise-flip {
    100% {
        transform: translateY(-150px) rotate(720deg);
        opacity: 0;
    }
}

/* SEO Content Styles */
.seo-content h2, .seo-content h3, .seo-content h4 {
    color: #123a48;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.seo-content h2 {
    font-size: 1.5rem;
}

.seo-content h3 {
    font-size: 1.25rem;
}

.seo-content p {
    margin-bottom: 1.25em;
}

.seo-content strong {
    color: #18566a;
    font-weight: 600;
}

.seo-content ul, .seo-content ol {
    margin: 1em 0;
    padding-left: 0;
    list-style: none;
}

.seo-content li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.seo-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #217c95;
    font-weight: bold;
}

/* Prose стили для блога Planktonia */
.prose {
    color: #374151;
    line-height: 1.75;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d9488;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose p {
    color: #4b5563;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.prose ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: #4b5563;
}

.prose ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.prose li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.prose li::marker {
    color: #0d9488;
}

.prose strong {
    color: #1f2937;
    font-weight: 600;
}

.prose a {
    color: #0d9488;
    text-decoration: underline;
}

.prose a:hover {
    color: #0f766e;
}

.prose blockquote {
    border-left: 4px solid #0d9488;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #6b7280;
    font-style: italic;
}