/* APV Specific Styles */

/* Header */
.apv-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 3px solid #345adb;
}

.apv-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #345adb;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.apv-header .subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    color: #345adb;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid #345adb;
    border-radius: 5px;
}

.back-link:hover {
    background: #345adb;
    color: #0a0a0a;
    transform: translateX(-5px);
}

/* Main Content */
.apv-content {
    background: #0a0a0a;
    padding: 3rem 0;
    min-height: 100vh;
}

/* Important Notice */
.important-notice {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    border-left: 5px solid #ff0000;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.important-notice p {
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Rule Articles */
.rule-article {
    background: #1a1a1a;
    margin-bottom: 2rem;
    border-radius: 10px;
    border-left: 5px solid #345adb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.rule-article:hover {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

/* Toggle Button */
.rule-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.rule-toggle:hover {
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}

.rule-toggle h2 {
    color: #345adb;
    font-size: 1.8rem;
    margin: 0;
    padding: 0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #345adb;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: right;
}

/* Collapsed content */
.rule-content {
    max-height: 10000px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2.5rem 2.5rem 2.5rem;
}

.rule-article.collapsed .rule-content {
    max-height: 0;
    padding: 0 2.5rem;
}

.rule-article.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.rule-article h2 {
    color: #345adb;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rule-article h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.rule-article p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.rule-article ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.rule-article ul li {
    color: #cccccc;
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    line-height: 1.6;
}

.rule-article ul li:before {
    content: "▸";
    color: #345adb;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* Punishment Section */
.punishment {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border: 2px solid #ff4444;
}

.punishment strong {
    color: #ff4444;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.punishment ul {
    margin-top: 0.5rem;
}

.punishment ul li {
    color: #ffcccc;
    padding: 0.4rem 0 0.4rem 2rem;
}

.punishment ul li:before {
    content: "⚠";
    color: #ff4444;
    font-size: 1.1rem;
}

/* Note Section */
.note {
    background: #2a2a2a;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffaa00;
    margin: 1rem 0;
    font-style: italic;
}

.note strong {
    color: #ffaa00;
}

/* Footer Adjustments */
footer {
    background: #0a0a0a;
    border-top: 3px solid #345adb;
}

.footer-link {
    display: inline-block;
    color: #345adb;
    text-decoration: none;
    margin-left: 2rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .apv-header {
        padding: 3rem 0 2rem;
    }

    .apv-header h1 {
        font-size: 2rem;
    }

    .apv-header .subtitle {
        font-size: 1rem;
    }

    .rule-article {
        padding: 1.5rem;
    }

    .rule-article h2 {
        font-size: 1.4rem;
    }

    .rule-article h3 {
        font-size: 1.1rem;
    }

    .rule-article p,
    .rule-article ul li {
        font-size: 0.95rem;
    }

    .punishment {
        padding: 1rem;
    }

    .footer-link {
        display: block;
        margin: 1rem 0 0 0;
    }
}

@media (max-width: 480px) {
    .apv-header h1 {
        font-size: 1.5rem;
    }

    .rule-article {
        padding: 1rem;
    }

    .rule-article h2 {
        font-size: 1.2rem;
    }

    .back-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #345adb;
    color: #0a0a0a;
}

::-moz-selection {
    background: #345adb;
    color: #0a0a0a;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #345adb;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00a8cc;
}