/*
Theme Name: Flower Fantasy Core
Theme URI: https://flower-casino.net
Author: Flower Dev Team
Author URI: https://flower-casino.net
Description: High-performance, Anti-Footprint theme for Flower Casino.
Version: 1.0.0
License: Proprietary
*/

:root {
    --flw_primary: #ff007f;
    --flw_secondary: #7928ca;
    --flw_accent: #00dfd8;
    --flw_dark: #0f0c29;
    --flw_light: #ffffff;
    --flw_grad: linear-gradient(135deg, #302b63 0%, #24243e 100%);
    --flw_fantasy: linear-gradient(to right, #ff0099, #493240);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--flw_dark);
    color: var(--flw_light);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Anti-Footprint Layout */
.flw_wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.flw_header {
    background: rgba(15, 12, 41, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flw_logo svg {
    height: 40px;
    width: auto;
    fill: var(--flw_primary);
}

.flw_nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.flw_nav a {
    color: var(--flw_light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.flw_nav a:hover {
    color: var(--flw_accent);
}

.flw_hero {
    margin-top: 80px;
    padding: 100px 5%;
    text-align: center;
    background: var(--flw_grad);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.flw_hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.1) 0%, transparent 70%);
    animation: flw_spin 20s linear infinite;
    z-index: 0;
}

@keyframes flw_spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flw_hero_content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.flw_title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--flw_fantasy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.flw_btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--flw_primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.5);
}

.flw_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.8);
}

.flw_main {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.flw_article {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.flw_article h2 {
    color: var(--flw_accent);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--flw_primary);
    display: inline-block;
    padding-bottom: 5px;
}

.flw_article p {
    margin-bottom: 15px;
    text-align: justify;
    color: #d1d1d1;
}

.flw_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.flw_card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 200px; /* Zero layout shift */
}

.flw_icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    fill: var(--flw_secondary);
}

#secure-gate {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to top, var(--flw_dark), #2a0845);
}

.flw_footer {
    background: #050505;
    padding: 50px 5% 100px; /* Extra padding for mobile dock */
    border-top: 1px solid #333;
}

.flw_footer_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.flw_footer_item h4 {
    color: var(--flw_light);
    margin-bottom: 15px;
}

.flw_mobile_dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 12, 41, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--flw_primary);
    z-index: 9999;
    padding: 10px 0;
    justify-content: space-around;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.flw_dock_btn {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
}

.flw_dock_btn svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    fill: var(--flw_accent);
}

/* Sub-page Specifics */
.flw_sub_header {
    text-align: center;
}

@media (max-width: 768px) {
    .flw_nav { display: none; }
    .flw_title { font-size: 2rem; }
    .flw_footer_grid { grid-template-columns: 1fr 1fr; }
    .flw_mobile_dock { display: flex; }
}