
body {
background: #f5f7fa;
color: #2c2c2c;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
}

.header_top {
background: #111111;
padding: 0.5rem 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header_top_content {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
display: flex;
align-items: center;
text-decoration: none;
padding: 0 2rem;
background: #ffffff;
height: 100%;
position: relative;
margin: -0.5rem 0;
}

.logo img {
height: 80px;
width: auto;
display: block;
}

/* Main Navigation */
.main-nav {
margin-left: 2rem;
}

.main-menu {
list-style: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
}

.main-menu > li {
position: relative;
margin-left: 1rem;
}

.main-menu > li > a {
color: #fff;
text-decoration: none;
padding: 0.5rem 0.75rem;
display: block;
font-size: 1.1rem;
}

.main-menu > li > a:hover {
color: rgba(255,255,255,0.8);
}

/* Dropdown Menu */
.dropdown {
position: relative;
}

.dropdown-content {
display: none;
position: absolute;
top: 100%;
left: 0;
background: #111111;
min-width: 200px;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
border-radius: 4px;
overflow: hidden;
border: 1px solid rgba(255,255,255,0.1);
}

.dropdown:hover .dropdown-content {
display: block;
}

.dropdown-content a {
color: #ffffff;
padding: 0.75rem 1rem;
text-decoration: none;
display: block;
font-size: 0.9rem;
}

.dropdown-content a:hover {
background: rgba(255,255,255,0.1);
}

/* Mobile Menu Button */
.mobile-menu-button {
display: none;
background: none;
border: none;
color: #fff;
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
}

#wrapper {
max-width: 1200px;
margin: 80px auto 0;
padding: 20px;
background: #ffffff;
box-shadow: 0 2px 12px rgba(40, 40, 100, 0.08);
border-radius: 12px;
}

.module {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 8px;
margin-bottom: 2rem;
overflow: hidden;
box-shadow: 0 2px 8px rgba(40, 40, 100, 0.08);
}

.module h3 {
background: #282864;
color: #ffffff;
margin: 0;
padding: 1rem;
font-size: 1.2rem;
border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.module-content {
padding: 1.5rem;
}

.content_inside {
padding: 2rem;
background: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1, h2, h3, h4, h5, h6 {
color: #282864;
}

a {
color: #3b3b96;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

footer {
text-align: center;
padding: 2rem;
margin-top: 2rem;
background: #111111;
color: #ffffff;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
.main-nav {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: #111111;
padding: 1rem;
}

.main-nav.active {
display: block;
}

.mobile-menu-button {
display: block;
z-index: 1001;
}

.main-menu {
flex-direction: column;
width: 100%;
}

.main-menu > li {
margin: 0;
width: 100%;
}

.main-menu > li > a {
padding: 1rem;
border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-content {
position: static;
box-shadow: none;
background: rgba(255,255,255,0.1);
display: none;
padding-left: 1rem;
}

.dropdown.active .dropdown-content {
display: block;
}

.dropdown-content a {
color: #fff;
padding: 0.75rem 1rem;
border-bottom: 1px solid rgba(255,255,255,0.1);
}

#wrapper {
margin-top: 60px;
padding: 10px;
}

.logo img {
height: 60px;
}

.header_top {
padding: 0.25rem 0;
}

.logo {
padding: 0 1rem;
margin: -0.25rem 0;
}
}

.main-menu > li > a i {
margin-right: 0.5rem;
font-size: 1.1rem;
}

.main-menu > li > a:hover i {
transform: rotate(15deg);
transition: transform 0.3s ease;
}

.module h3 i {
margin-right: 0.75rem;
font-size: 1.2rem;
vertical-align: middle;
}

.module h3:hover i {
transform: rotate(15deg);
transition: transform 0.3s ease;
}

.dropdown-content {
background: #111111;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 12px rgba(40, 40, 100, 0.2);
}

.dropdown-content a:hover {
background: rgba(255, 255, 255, 0.08);
}

.main-menu > li > a:hover {
color: rgba(255, 255, 255, 0.9);
background: rgba(255, 255, 255, 0.08);
border-radius: 4px;
}

.welcome-section {
text-align: center;
margin-bottom: 3rem;
}

.welcome-section h1 {
font-size: 2.5rem;
color: #282864;
margin-bottom: 1rem;
}

.welcome-section p {
font-size: 1.1rem;
max-width: 800px;
margin: 0 auto;
color: #2c2c2c;
}

/* Stats Grid */
.stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.5rem;
margin-bottom: 4rem;
}

.stat-card {
background: #ffffff;
padding: 1.5rem;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(40, 40, 100, 0.08);
text-align: center;
transition: transform 0.2s;
}

.stat-card:hover {
transform: translateY(-5px);
}

.stat-card i {
font-size: 2.5rem;
color: #282864;
margin-bottom: 1rem;
}

.stat-number {
font-size: 2rem;
font-weight: bold;
color: #282864;
margin-bottom: 0.5rem;
}

.stat-label {
color: #2c2c2c;
font-size: 0.9rem;
}

/* Tournaments Section */
.section-header {
margin-bottom: 2rem;
text-align: center;
}

.section-header h2 {
font-size: 2rem;
color: #282864;
}

.tournament-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}

.tournament-card {
background: #ffffff;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(40, 40, 100, 0.08);
overflow: hidden;
transition: transform 0.2s;
position: relative;
}

.tournament-card:hover {
transform: translateY(-5px);
}

.tournament-status {
position: absolute;
top: 1rem;
right: 1rem;
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 500;
}

.tournament-status.upcoming {
background: #3b82f6;
color: white;
}

.tournament-status.active {
background: #10b981;
color: white;
}

.tournament-status.completed {
background: #6b7280;
color: white;
}

.tournament-date {
padding: 1rem;
color: #2c2c2c;
font-size: 0.9rem;
}

.tournament-card h3 {
padding: 0 1rem;
margin: 0 0 1rem 0;
color: #282864;
font-size: 1.2rem;
}

.tournament-details {
padding: 1rem;
border-top: 1px solid #e2e8f0;
}

.detail-item {
display: flex;
align-items: center;
margin-bottom: 0.5rem;
}

.detail-item i {
width: 20px;
margin-right: 0.5rem;
color: #282864;
}

.tournament-footer {
padding: 1rem;
border-top: 1px solid #e2e8f0;
display: flex;
justify-content: space-between;
align-items: center;
}

.spots-left {
font-size: 0.9rem;
color: #2c2c2c;
}

.register-btn, .view-btn {
padding: 0.5rem 1rem;
border-radius: 5px;
font-size: 0.9rem;
font-weight: 500;
text-decoration: none;
transition: background-color 0.2s;
}

.register-btn {
background: #282864;
color: white;
}

.register-btn:hover {
background: #323280;
text-decoration: none;
}

.view-btn {
background: #f3f4f6;
color: #2c2c2c;
}

.view-btn:hover {
background: #e5e7eb;
text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}

.welcome-section h1 {
font-size: 2rem;
}

.stat-card {
padding: 1rem;
}

.stat-number {
font-size: 1.5rem;
}

.tournament-grid {
grid-template-columns: 1fr;
}
}

@media (max-width: 480px) {
.stats-grid {
grid-template-columns: 1fr;
}
}