/* Дизайн для Vibe Miner&Match - темная готическая тема с золотыми акцентами */
:root {
    --primary-color: #ff8c00;
    --secondary-color: #ffa500;
    --accent-color: #ffd700;
    --highlight-color: #ff6b35;
    --text-color: #ffffff;
    --light-text: #cccccc;
    --background-color: #1a0d0d;
    --section-bg: #2d1b1b;
    --dark-red: #8b0000;
    --dark-brown: #3d1f1f;
    --header-gradient: linear-gradient(135deg, #ff8c00, #ffa500, #ffd700);
    --shadow-color: rgba(255, 140, 0, 0.3);
}

@keyframes glow-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.4),
                    0 0 40px rgba(255, 215, 0, 0.2),
                    0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 140, 0, 0.6),
                    0 0 60px rgba(255, 215, 0, 0.4),
                    0 4px 20px rgba(0, 0, 0, 0.4);
    }
}

@keyframes float-gothic {
    0% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-15px) rotate(5deg);
        opacity: 0.9;
    }
    100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
}

@keyframes candle-flicker {
    0%, 100% { 
        opacity: 0.8;
        filter: brightness(1);
    }
    50% { 
        opacity: 1;
        filter: brightness(1.2);
    }
}

@keyframes shimmer-gold {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes fade-in-up {
    0% { 
        opacity: 0;
        transform: translateY(30px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

.gothic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(61, 31, 31, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 140, 0, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #1a0d0d 0%, #2d1b1b 50%, #1a0d0d 100%);
}

.gothic-background::before,
.gothic-background::after {
    content: '🕯️';
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.3;
    animation: candle-flicker 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.5));
}

.gothic-background::before {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.gothic-background::after {
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 40px;
    background: var(--header-gradient);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 
        0 15px 50px var(--shadow-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 140, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.5);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer-gold 6s ease-in-out infinite;
}

.logo-container {
    margin-bottom: 20px;
    animation: float-gothic 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.logo {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--dark-brown), var(--dark-red));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glow-pulse 3s ease-in-out infinite;
    border: 4px solid var(--accent-color);
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(255, 140, 0, 0.2);
}

.app-icon {
    font-size: 4rem;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.6));
}

h1 {
    color: white;
    font-size: 2.6rem;
    margin: 15px 0 10px 0;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(255, 140, 0, 0.3);
    position: relative;
    z-index: 1;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.app-name {
    color: white;
    font-size: 1.3rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 215, 0, 0.3);
    letter-spacing: 1px;
}

h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
    border-bottom: 2px solid var(--highlight-color);
    display: block;
    animation: fade-in-up 0.6s ease-out;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.policy-section {
    background-color: var(--section-bg);
    padding: 32px;
    margin-bottom: 22px;
    border-radius: 12px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 8px 25px rgba(255, 140, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    border-left: 4px solid var(--primary-color);
    animation: fade-in-up 0.8s ease-out;
    position: relative;
}

.policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--accent-color),
        var(--primary-color)
    );
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),
        0 15px 40px rgba(255, 140, 0, 0.25);
    border-left-width: 6px;
    border-color: rgba(255, 215, 0, 0.4);
}

.policy-section:hover::before {
    opacity: 1;
}

.policy-section.intro {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(139, 0, 0, 0.15));
    border-left-color: var(--accent-color);
    border-left-width: 5px;
}

.policy-section.effective-date {
    background: linear-gradient(135deg, var(--dark-brown), var(--dark-red));
    border-left-color: var(--accent-color);
    text-align: center;
    border-right: 3px solid var(--accent-color);
}

.policy-section.contact {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.12), rgba(255, 215, 0, 0.08));
    text-align: center;
}

p {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.05rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin: 20px 0;
}

ul li {
    margin-bottom: 12px;
    padding-left: 40px;
    position: relative;
    color: var(--text-color);
    font-size: 1.05rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

ul li:before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

strong {
    color: var(--accent-color);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.email {
    color: var(--accent-color);
    font-weight: 600;
    background-color: rgba(255, 140, 0, 0.2);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
}

.contact-email {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 215, 0, 0.15));
    border-radius: 12px;
    margin: 20px 0;
    border: 3px solid var(--primary-color);
    box-shadow: 
        0 6px 20px rgba(255, 140, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.2);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 25px 0;
    border-top: 2px solid rgba(255, 140, 0, 0.3);
    color: var(--light-text);
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header {
        padding: 40px 30px;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .app-name {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .policy-section {
        padding: 25px;
        margin-bottom: 18px;
        border-radius: 10px;
    }
    
    .logo {
        width: 85px;
        height: 85px;
    }
    
    .app-icon {
        font-size: 3.2rem;
    }
    
    p, ul li {
        font-size: 1rem;
    }
    
    .contact-email {
        font-size: 1.1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .app-name {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    .policy-section {
        padding: 20px;
        border-radius: 8px;
    }
    
    .logo {
        width: 75px;
        height: 75px;
    }
    
    .app-icon {
        font-size: 2.8rem;
    }
    
    .contact-email {
        font-size: 1em;
        padding: 12px;
    }
}

