/**
 * FURION RULES - MODERN CSS
 * Design System: Dark Theme, Mobile-First
 * Version: 2.0
 */

/* CSS Variables - Design System */
:root {
    --primary-bg: #0f141a;
    --secondary-bg: #1a2332;
    --border-color: #2a3440;
    --accent-cyan: #00ffaa;
    --text-light: #e6f8ff;
    --text-muted: #a8b3c2;
    --error-red: #ff4444;
    --success-green: #00ffaa;
    --warning-yellow: #ffaa00;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Container Principal */
.rules-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
    background: linear-gradient(135deg, var(--primary-bg) 0%, #0a0f15 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    min-height: auto;
}

/* Rules Sections */
.rules-section {
    margin-bottom: var(--space-xl);
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header usando createaccount pattern */
.createaccount-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) var(--space-md);
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    animation: fadeInScale 0.6s ease-out;
}

.createaccount-logo {
    font-size: 4rem;
    margin-bottom: var(--space-sm);
    filter: drop-shadow(0 4px 8px rgba(0, 255, 170, 0.3));
}

.createaccount-title {
    font-size: 2.5rem;
    margin: 0 0 var(--space-sm) 0;
    background: linear-gradient(135deg, var(--accent-cyan), #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.createaccount-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}

/* Cards das Regras */
.createaccount-card {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.createaccount-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 255, 170, 0.3);
}

/* Form Sections */
.form-section-create {
    padding: var(--space-lg);
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-color);
}

.form-section-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0, 255, 170, 0.3));
}

/* Form Groups */
.form-group-create {
    margin-bottom: var(--space-lg);
}

.form-label-create {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    cursor: default;
}

.label-icon-create {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Rules Content */
.rules-content {
    margin-left: var(--space-lg);
    padding: var(--space-md);
    background: rgba(15, 20, 26, 0.5);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-cyan);
}

.rules-content p {
    margin: 0 0 var(--space-sm) 0;
    color: var(--text-light);
}

.rules-sublist {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0;
}

.rules-sublist li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-xs);
    color: var(--text-muted);
    line-height: 1.5;
}

.rules-sublist li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Code styling */
code {
    background: rgba(0, 255, 170, 0.1);
    color: var(--accent-cyan);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

/* Success/Error Text */
.success-text {
    color: var(--success-green);
    font-weight: 600;
}

.error-text {
    color: var(--error-red);
    font-weight: 600;
}

/* Error Container (para avisos importantes) */
.error-container-create {
    display: flex;
    gap: var(--space-md);
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.1) 0%, rgba(255, 68, 68, 0.05) 100%);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    animation: fadeInScale 0.6s ease-out;
}

.error-icon-create {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(255, 68, 68, 0.3));
}

.error-content-create {
    flex: 1;
}

.error-title-create {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--error-red);
    margin: 0 0 var(--space-sm) 0;
}

/* Success Container */
.success-container-create {
    display: flex;
    gap: var(--space-md);
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.1) 0%, rgba(0, 255, 170, 0.05) 100%);
    border: 1px solid rgba(0, 255, 170, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    animation: fadeInScale 0.6s ease-out;
}

.success-icon-create {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 255, 170, 0.3));
}

.success-content-create {
    flex: 1;
}

.success-title-create {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--success-green);
    margin: 0 0 var(--space-sm) 0;
}

/* Form Hints */
.form-hint {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
    font-style: italic;
}

/* Notice Text Styling */
.rules-notice-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.rules-notice-text:last-child {
    margin-bottom: 0;
}

/* Navigation */
.rules-navigation {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Language Selection Buttons */
.button-container-language {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.language-button {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    min-width: 250px;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.language-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
}

.language-text strong {
    font-size: 1.2rem;
    font-weight: 600;
}

.language-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Button Styles */
.button-primary-create {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #4ecdc4 100%);
    color: var(--primary-bg);
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.button-primary-create:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.1);
}

.button-secondary-create {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--border-color) 100%);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    font-size: 0.9rem;
}

.button-secondary-create:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.button-icon-create {
    font-size: 1.2rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Rules List */
.rules-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.rules-list-item {
	padding: 15px;
	margin-bottom: 12px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid #2a3342;
	border-left: 3px solid #ff4444;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.rules-list-item:hover {
	background: rgba(255, 68, 68, 0.05);
	border-left-color: #ff6666;
	transform: translateX(5px);
}

.rules-list-item:last-child {
	margin-bottom: 0;
}

.rules-item-label {
	display: inline-block;
	font-weight: 700;
	color: #ff6666;
	margin-right: 8px;
	font-size: 15px;
}

.rules-item-text {
	color: #aabbcc;
	line-height: 1.6;
	font-size: 14px;
}

.rules-item-example {
	color: #8899aa;
	font-style: italic;
	margin-left: 5px;
}

/* Consequences Section */
.rules-consequences {
	background: linear-gradient(135deg, #1a0f0f 0%, #2a1a1a 100%);
	border: 2px solid #442222;
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 25px;
}

.rules-consequences-title {
	font-size: 22px;
	font-weight: 700;
	color: #ff6666;
	margin: 0 0 20px 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.rules-consequences-icon {
	font-size: 26px;
}

.rules-consequences-text {
	color: #ccaaaa;
	line-height: 1.8;
	font-size: 15px;
	margin: 0 0 15px 0;
}

.rules-consequences-text:last-child {
	margin-bottom: 0;
}

.rules-consequences-highlight {
	color: #ff8888;
	font-weight: 600;
}

/* Footer Note */
.rules-footer {
	text-align: center;
	padding: 20px;
	background: rgba(0, 255, 170, 0.05);
	border: 2px solid rgba(0, 255, 170, 0.2);
	border-radius: 8px;
	margin-top: 30px;
}

.rules-footer-text {
	font-size: 14px;
	color: #8899aa;
	margin: 0;
	line-height: 1.6;
}

.rules-footer-highlight {
	color: #00ffaa;
	font-weight: 600;
}

/* Divider */
.rules-divider {
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, #2a3342 50%, transparent 100%);
	margin: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
	.rules-container {
		padding: 15px;
	}

	.rules-header {
		padding: 30px 15px;
	}

	.rules-title {
		font-size: 28px;
	}

	.rules-title-icon {
		font-size: 32px;
	}

	.rules-section {
		padding: 20px;
	}

	.rules-section-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.rules-section-number {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.rules-section-title {
		font-size: 20px;
	}

	.rules-notice {
		flex-direction: column;
		padding: 15px;
	}

	.rules-list-item {
		padding: 12px;
	}
}

@media (max-width: 480px) {
	.rules-title {
		font-size: 24px;
	}

	.rules-section-title {
		font-size: 18px;
	}

	.rules-list-item {
		padding: 10px;
		font-size: 13px;
	}

	.rules-consequences {
		padding: 20px;
	}
}
