1481 lines
27 KiB
CSS
1481 lines
27 KiB
CSS
/* ⚡ Hogwarts Theme ⚡ */
|
|
:root {
|
|
--night: #0B0720;
|
|
--night-light: #151030;
|
|
--parchment: #F4E4C1;
|
|
--parchment-dark: #E8D5A8;
|
|
--gold: #C9A84C;
|
|
--gold-light: #E8D48B;
|
|
--gold-dark: #A8862E;
|
|
--burgundy: #7B1818;
|
|
--burgundy-light: #B22222;
|
|
--emerald: #1A6B4F;
|
|
--emerald-light: #2E8B67;
|
|
--ink: #2C1810;
|
|
--ink-light: #5C3A28;
|
|
--white: #FFFFFF;
|
|
--cream: #FAF3E0;
|
|
--shadow: 0 4px 20px rgba(11, 7, 32, 0.2);
|
|
--shadow-hover: 0 8px 35px rgba(11, 7, 32, 0.3);
|
|
--glow: 0 0 20px rgba(201, 168, 76, 0.3);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font: 17px/1.8 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
|
|
color: var(--ink);
|
|
background: var(--night);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--gold);
|
|
color: var(--night);
|
|
}
|
|
|
|
/* ===== TWINKLING STARS ===== */
|
|
@keyframes twinkle {
|
|
0%, 100% { opacity: 0.3; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
.stars-bg {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.star {
|
|
position: absolute;
|
|
width: 3px;
|
|
height: 3px;
|
|
background: var(--gold-light);
|
|
border-radius: 50%;
|
|
animation: twinkle 3s ease-in-out infinite;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1140px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* ===== HEADER ===== */
|
|
header {
|
|
background: rgba(11, 7, 32, 0.95);
|
|
backdrop-filter: blur(12px);
|
|
border-bottom: 2px solid var(--gold-dark);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.header-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 24px;
|
|
max-width: 1140px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.logo {
|
|
font-family: 'Cinzel', 'Georgia', serif;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: var(--gold);
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.logo-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: linear-gradient(135deg, var(--gold), var(--gold-dark));
|
|
color: var(--night);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
font-family: 'Cinzel', serif;
|
|
box-shadow: var(--glow);
|
|
}
|
|
|
|
.logo span {
|
|
color: var(--gold-light);
|
|
}
|
|
|
|
.nav-list {
|
|
display: flex;
|
|
list-style: none;
|
|
gap: 2px;
|
|
}
|
|
|
|
.nav-list a {
|
|
text-decoration: none;
|
|
color: var(--parchment-dark);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
font-family: 'Cinzel', 'Georgia', serif;
|
|
padding: 8px 14px;
|
|
border-radius: 4px;
|
|
transition: all 0.3s;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.nav-list a:hover {
|
|
color: var(--gold);
|
|
background: rgba(201, 168, 76, 0.1);
|
|
text-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
|
|
}
|
|
|
|
.nav-list a.active {
|
|
color: var(--night);
|
|
background: var(--gold);
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
font-size: 28px;
|
|
cursor: pointer;
|
|
color: var(--gold);
|
|
padding: 4px;
|
|
}
|
|
|
|
/* ===== FOOTER ===== */
|
|
footer {
|
|
background: var(--night-light);
|
|
border-top: 2px solid var(--gold-dark);
|
|
color: var(--parchment-dark);
|
|
text-align: center;
|
|
padding: 36px 24px;
|
|
margin-top: auto;
|
|
font-size: 15px;
|
|
}
|
|
|
|
footer a {
|
|
color: var(--gold);
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: var(--gold-light);
|
|
text-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
|
|
}
|
|
|
|
/* ===== HERO ===== */
|
|
.hero {
|
|
background: linear-gradient(135deg, var(--night) 0%, var(--night-light) 50%, var(--night) 100%);
|
|
color: var(--parchment);
|
|
padding: 100px 24px;
|
|
text-align: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
background:
|
|
radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 50%),
|
|
radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.04) 0%, transparent 50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hero .container {
|
|
position: relative;
|
|
}
|
|
|
|
.hero-badge {
|
|
display: inline-block;
|
|
border: 1px solid var(--gold);
|
|
color: var(--gold);
|
|
padding: 6px 22px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
font-family: 'Cinzel', serif;
|
|
text-transform: uppercase;
|
|
letter-spacing: 3px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-family: 'Cinzel', 'Georgia', serif;
|
|
font-size: 52px;
|
|
font-weight: 700;
|
|
line-height: 1.15;
|
|
margin-bottom: 20px;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hero h1 span {
|
|
color: var(--gold);
|
|
}
|
|
|
|
.hero .highlight {
|
|
color: var(--gold-light);
|
|
text-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 19px;
|
|
color: var(--parchment-dark);
|
|
max-width: 600px;
|
|
margin: 0 auto 36px;
|
|
line-height: 1.7;
|
|
font-style: italic;
|
|
}
|
|
|
|
.hero-buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* ===== BUTTONS ===== */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: var(--gold);
|
|
color: var(--night);
|
|
padding: 14px 32px;
|
|
font-family: 'Cinzel', 'Georgia', serif;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
letter-spacing: 1px;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
transition: all 0.3s;
|
|
border: none;
|
|
cursor: pointer;
|
|
box-shadow: var(--glow);
|
|
clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 0 35px rgba(201, 168, 76, 0.5);
|
|
background: var(--gold-light);
|
|
}
|
|
|
|
.btn:active {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--gold);
|
|
border: 1px solid var(--gold);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: var(--gold);
|
|
color: var(--night);
|
|
box-shadow: var(--glow);
|
|
}
|
|
|
|
.btn-emerald {
|
|
background: var(--emerald);
|
|
color: var(--cream);
|
|
box-shadow: 0 4px 14px rgba(26, 107, 79, 0.4);
|
|
}
|
|
|
|
.btn-emerald:hover {
|
|
background: var(--emerald-light);
|
|
box-shadow: 0 8px 25px rgba(26, 107, 79, 0.5);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
/* ===== SECTIONS ===== */
|
|
.section {
|
|
padding: 80px 24px;
|
|
position: relative;
|
|
}
|
|
|
|
.section::before {
|
|
content: '✦';
|
|
display: block;
|
|
text-align: center;
|
|
color: var(--gold);
|
|
font-size: 18px;
|
|
letter-spacing: 20px;
|
|
margin-bottom: -50px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.section-alt {
|
|
background: var(--cream);
|
|
}
|
|
|
|
.section-alt::before {
|
|
color: var(--gold-dark);
|
|
}
|
|
|
|
.section-title {
|
|
font-family: 'Cinzel', 'Georgia', serif;
|
|
font-size: 34px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
margin-bottom: 12px;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
color: var(--parchment);
|
|
}
|
|
|
|
.section-alt .section-title {
|
|
color: var(--ink);
|
|
}
|
|
|
|
.section-title span {
|
|
color: var(--gold);
|
|
}
|
|
|
|
.section-subtitle {
|
|
font-size: 18px;
|
|
color: var(--parchment-dark);
|
|
text-align: center;
|
|
margin-bottom: 48px;
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
font-style: italic;
|
|
}
|
|
|
|
.section-alt .section-subtitle {
|
|
color: var(--ink-light);
|
|
}
|
|
|
|
/* ===== CARDS ===== */
|
|
.cards-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.card {
|
|
background: var(--cream);
|
|
border: 1px solid var(--parchment-dark);
|
|
border-radius: 0;
|
|
padding: 36px 32px;
|
|
transition: all 0.3s;
|
|
box-shadow: var(--shadow);
|
|
position: relative;
|
|
clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
|
|
}
|
|
|
|
.card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
|
|
opacity: 0;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
.card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: var(--shadow-hover);
|
|
border-color: var(--gold);
|
|
}
|
|
|
|
.card-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
background: linear-gradient(135deg, var(--gold), var(--gold-dark));
|
|
color: var(--night);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 26px;
|
|
margin-bottom: 20px;
|
|
transition: transform 0.3s;
|
|
box-shadow: var(--glow);
|
|
}
|
|
|
|
.card:hover .card-icon {
|
|
transform: scale(1.1) rotate(5deg);
|
|
}
|
|
|
|
.card h3 {
|
|
font-family: 'Cinzel', 'Georgia', serif;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin-bottom: 12px;
|
|
color: var(--ink);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.card p {
|
|
color: var(--ink-light);
|
|
margin-bottom: 20px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.card .btn {
|
|
font-size: 12px;
|
|
padding: 10px 22px;
|
|
}
|
|
|
|
/* ===== HOUSE CARDS (how it works) ===== */
|
|
.houses-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.house-card {
|
|
padding: 32px 24px;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
.house-card .house-crest {
|
|
font-size: 52px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.house-card h3 {
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.house-card p {
|
|
color: var(--ink-light);
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.house-gryffindor { border-top: 4px solid var(--burgundy); }
|
|
.house-gryffindor h3 { color: var(--burgundy); }
|
|
|
|
.house-slytherin { border-top: 4px solid var(--emerald); }
|
|
.house-slytherin h3 { color: var(--emerald); }
|
|
|
|
.house-ravenclaw { border-top: 4px solid #2A4B7C; }
|
|
.house-ravenclaw h3 { color: #2A4B7C; }
|
|
|
|
.house-hufflepuff { border-top: 4px solid #D4A017; }
|
|
.house-hufflepuff h3 { color: #B8860B; }
|
|
|
|
/* ===== PAGE HEADER ===== */
|
|
.page-header {
|
|
background: linear-gradient(135deg, var(--night) 0%, var(--night-light) 100%);
|
|
border-bottom: 2px solid var(--gold-dark);
|
|
color: var(--parchment);
|
|
padding: 64px 24px;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
.page-header::after {
|
|
content: '⚡';
|
|
position: absolute;
|
|
bottom: -16px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 28px;
|
|
color: var(--gold);
|
|
background: var(--night);
|
|
padding: 4px 16px;
|
|
border: 1px solid var(--gold-dark);
|
|
}
|
|
|
|
.page-header h1 {
|
|
font-family: 'Cinzel', 'Georgia', serif;
|
|
font-size: 40px;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.page-header p {
|
|
font-size: 18px;
|
|
color: var(--parchment-dark);
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* ===== VOCABULARY ===== */
|
|
.vocab-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: var(--cream);
|
|
border: 1px solid var(--parchment-dark);
|
|
}
|
|
|
|
.vocab-table th {
|
|
background: var(--night-light);
|
|
color: var(--gold);
|
|
padding: 16px 20px;
|
|
text-align: left;
|
|
font-weight: 700;
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 14px;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
border-bottom: 2px solid var(--gold);
|
|
}
|
|
|
|
.vocab-table td {
|
|
padding: 14px 20px;
|
|
border-bottom: 1px solid var(--parchment-dark);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.vocab-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.vocab-table tr:hover td {
|
|
background: rgba(201, 168, 76, 0.08);
|
|
}
|
|
|
|
.vocab-table td:first-child {
|
|
font-weight: 700;
|
|
font-family: 'Cinzel', serif;
|
|
}
|
|
|
|
.vocab-categories {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.category-btn {
|
|
padding: 8px 20px;
|
|
border: 1px solid var(--gold-dark);
|
|
background: transparent;
|
|
color: var(--parchment);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
font-family: 'Cinzel', serif;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.category-btn:hover {
|
|
background: rgba(201, 168, 76, 0.1);
|
|
color: var(--gold);
|
|
box-shadow: var(--glow);
|
|
}
|
|
|
|
.category-btn.active {
|
|
background: var(--gold);
|
|
color: var(--night);
|
|
}
|
|
|
|
/* ===== GRAMMAR ===== */
|
|
.grammar-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.grammar-card {
|
|
background: var(--cream);
|
|
border: 1px solid var(--parchment-dark);
|
|
padding: 32px;
|
|
box-shadow: var(--shadow);
|
|
transition: all 0.3s;
|
|
clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
|
|
}
|
|
|
|
.grammar-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--shadow-hover);
|
|
border-color: var(--gold);
|
|
}
|
|
|
|
.grammar-card h3 {
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin-bottom: 12px;
|
|
color: var(--burgundy);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.grammar-card .formula {
|
|
background: var(--cream);
|
|
border: 1px solid var(--gold-dark);
|
|
border-left: 4px solid var(--gold);
|
|
padding: 14px 18px;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 15px;
|
|
margin: 16px 0;
|
|
line-height: 1.5;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.grammar-card .examples {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.grammar-card .examples li {
|
|
list-style: none;
|
|
padding: 8px 0;
|
|
color: var(--ink-light);
|
|
border-bottom: 1px solid var(--parchment-dark);
|
|
}
|
|
|
|
.grammar-card .examples li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.grammar-card .examples li::before {
|
|
content: "➜ ";
|
|
color: var(--emerald);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* ===== EXERCISES ===== */
|
|
.exercise {
|
|
background: var(--cream);
|
|
border: 1px solid var(--parchment-dark);
|
|
padding: 32px;
|
|
margin-bottom: 24px;
|
|
box-shadow: var(--shadow);
|
|
transition: all 0.3s;
|
|
clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
|
|
}
|
|
|
|
.exercise:hover {
|
|
box-shadow: var(--shadow-hover);
|
|
border-color: var(--gold);
|
|
}
|
|
|
|
.exercise h3 {
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
color: var(--burgundy);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.exercise .question {
|
|
font-size: 17px;
|
|
margin-bottom: 16px;
|
|
padding: 12px 16px;
|
|
background: var(--cream);
|
|
border: 1px solid var(--gold-dark);
|
|
font-weight: 500;
|
|
font-style: italic;
|
|
}
|
|
|
|
.exercise .options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.exercise .option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 18px;
|
|
border: 1px solid var(--parchment-dark);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
background: var(--cream);
|
|
}
|
|
|
|
.exercise .option:hover {
|
|
border-color: var(--gold);
|
|
background: rgba(201, 168, 76, 0.08);
|
|
}
|
|
|
|
.exercise .option input[type="radio"] {
|
|
accent-color: var(--gold);
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.exercise .option.correct {
|
|
border-color: var(--emerald);
|
|
background: rgba(26, 107, 79, 0.08);
|
|
}
|
|
|
|
.exercise .option.wrong {
|
|
border-color: var(--burgundy-light);
|
|
background: rgba(178, 34, 34, 0.08);
|
|
}
|
|
|
|
.exercise .feedback {
|
|
margin-top: 14px;
|
|
padding: 12px 18px;
|
|
font-weight: 700;
|
|
display: none;
|
|
font-size: 15px;
|
|
border: 1px solid;
|
|
}
|
|
|
|
.exercise .feedback.correct {
|
|
display: block;
|
|
background: rgba(26, 107, 79, 0.08);
|
|
color: var(--emerald);
|
|
border-color: var(--emerald);
|
|
}
|
|
|
|
.exercise .feedback.wrong {
|
|
display: block;
|
|
background: rgba(178, 34, 34, 0.08);
|
|
color: var(--burgundy-light);
|
|
border-color: var(--burgundy-light);
|
|
}
|
|
|
|
.fill-input {
|
|
padding: 10px 16px;
|
|
border: 1px solid var(--parchment-dark);
|
|
background: var(--cream);
|
|
font-size: 16px;
|
|
width: 220px;
|
|
transition: border-color 0.2s;
|
|
font-family: 'Cormorant Garamond', serif;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.fill-input:focus {
|
|
outline: none;
|
|
border-color: var(--gold);
|
|
box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
|
|
}
|
|
|
|
.fill-input.correct {
|
|
border-color: var(--emerald);
|
|
background: rgba(26, 107, 79, 0.05);
|
|
}
|
|
|
|
.fill-input.wrong {
|
|
border-color: var(--burgundy-light);
|
|
background: rgba(178, 34, 34, 0.05);
|
|
}
|
|
|
|
/* ===== TESTS ===== */
|
|
.test-question {
|
|
background: var(--cream);
|
|
border: 1px solid var(--parchment-dark);
|
|
padding: 24px;
|
|
margin-bottom: 16px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.test-question h4 {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
margin-bottom: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.test-question h4 .q-number {
|
|
display: inline-flex;
|
|
width: 28px;
|
|
height: 28px;
|
|
background: var(--gold);
|
|
color: var(--night);
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
font-family: 'Cinzel', serif;
|
|
}
|
|
|
|
.test-question .options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.test-question .option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 16px;
|
|
border: 1px solid var(--parchment-dark);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
background: var(--cream);
|
|
}
|
|
|
|
.test-question .option:hover {
|
|
border-color: var(--gold);
|
|
background: rgba(201, 168, 76, 0.08);
|
|
}
|
|
|
|
.test-question .option input[type="radio"] {
|
|
accent-color: var(--gold);
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.result-box {
|
|
text-align: center;
|
|
padding: 40px;
|
|
background: var(--cream);
|
|
border: 2px solid var(--gold);
|
|
margin-top: 32px;
|
|
display: none;
|
|
}
|
|
|
|
.result-box.show {
|
|
display: block;
|
|
}
|
|
|
|
.result-box .score {
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 52px;
|
|
font-weight: 700;
|
|
color: var(--burgundy);
|
|
}
|
|
|
|
.result-box p {
|
|
font-size: 18px;
|
|
color: var(--ink-light);
|
|
margin-top: 8px;
|
|
}
|
|
|
|
/* ===== READING ===== */
|
|
.reading-text {
|
|
background: var(--cream);
|
|
border: 1px solid var(--parchment-dark);
|
|
padding: 32px;
|
|
margin-bottom: 24px;
|
|
box-shadow: var(--shadow);
|
|
transition: all 0.3s;
|
|
clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
|
|
}
|
|
|
|
.reading-text:hover {
|
|
box-shadow: var(--shadow-hover);
|
|
border-color: var(--gold);
|
|
}
|
|
|
|
.reading-text h3 {
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
color: var(--burgundy);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.reading-text .text-content {
|
|
line-height: 2;
|
|
margin-bottom: 24px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.reading-text .text-content p {
|
|
margin-bottom: 12px;
|
|
text-indent: 20px;
|
|
}
|
|
|
|
.reading-text .questions {
|
|
background: var(--cream);
|
|
border: 1px solid var(--gold-dark);
|
|
padding: 20px 24px;
|
|
}
|
|
|
|
.reading-text .questions h4 {
|
|
font-weight: 700;
|
|
font-family: 'Cinzel', serif;
|
|
margin-bottom: 12px;
|
|
font-size: 15px;
|
|
color: var(--burgundy);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.reading-text .questions ol {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.reading-text .questions li {
|
|
margin-bottom: 8px;
|
|
color: var(--ink-light);
|
|
}
|
|
|
|
/* ===== CONTACT ===== */
|
|
.contact-form {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
background: var(--cream);
|
|
border: 1px solid var(--parchment-dark);
|
|
padding: 44px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
font-weight: 700;
|
|
font-family: 'Cinzel', serif;
|
|
margin-bottom: 8px;
|
|
font-size: 14px;
|
|
color: var(--ink);
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea {
|
|
width: 100%;
|
|
padding: 14px 18px;
|
|
border: 1px solid var(--parchment-dark);
|
|
background: var(--cream);
|
|
font-size: 16px;
|
|
font-family: 'Cormorant Garamond', serif;
|
|
transition: all 0.2s;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group textarea:focus {
|
|
outline: none;
|
|
border-color: var(--gold);
|
|
box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
|
|
}
|
|
|
|
.form-group textarea {
|
|
min-height: 130px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.contact-form .btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.form-message {
|
|
text-align: center;
|
|
padding: 24px;
|
|
background: rgba(26, 107, 79, 0.08);
|
|
color: var(--emerald);
|
|
border: 1px solid var(--emerald);
|
|
margin-top: 20px;
|
|
font-weight: 700;
|
|
display: none;
|
|
font-size: 16px;
|
|
font-family: 'Cinzel', serif;
|
|
}
|
|
|
|
.form-message.show {
|
|
display: block;
|
|
}
|
|
|
|
/* ===== MOTIVATION BANNER ===== */
|
|
.motivation-banner {
|
|
background: linear-gradient(135deg, var(--night-light), var(--night));
|
|
border: 1px solid var(--gold-dark);
|
|
color: var(--parchment);
|
|
padding: 40px 24px;
|
|
text-align: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.motivation-banner h3 {
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
color: var(--gold);
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.motivation-banner p {
|
|
font-size: 16px;
|
|
color: var(--parchment-dark);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* ===== DAILY REMINDER TOAST ===== */
|
|
.daily-toast {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
right: 24px;
|
|
max-width: 380px;
|
|
background: var(--cream);
|
|
border: 1px solid var(--gold);
|
|
padding: 24px;
|
|
box-shadow: 0 8px 40px rgba(11, 7, 32, 0.4);
|
|
z-index: 200;
|
|
transform: translateY(120%);
|
|
opacity: 0;
|
|
transition: all 0.4s ease;
|
|
}
|
|
|
|
.daily-toast.show {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
.daily-toast .toast-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.daily-toast .toast-title {
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--burgundy);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.daily-toast .toast-close {
|
|
background: none;
|
|
border: none;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
color: var(--parchment-dark);
|
|
padding: 4px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.daily-toast .toast-close:hover {
|
|
color: var(--ink);
|
|
}
|
|
|
|
.daily-toast p {
|
|
font-size: 14px;
|
|
color: var(--ink-light);
|
|
margin-bottom: 16px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.daily-toast .toast-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.daily-toast .toast-actions .btn {
|
|
font-size: 11px;
|
|
padding: 10px 18px;
|
|
}
|
|
|
|
.daily-toast .streak {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--burgundy-light);
|
|
margin-bottom: 12px;
|
|
font-family: 'Cinzel', serif;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.daily-toast {
|
|
left: 12px;
|
|
right: 12px;
|
|
bottom: 12px;
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
/* ===== PROGRESS PAGE ===== */
|
|
.level-hero {
|
|
text-align: center;
|
|
padding: 48px 32px;
|
|
background: var(--cream);
|
|
border: 2px solid var(--gold);
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.level-hero .level-icon {
|
|
font-size: 56px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.level-hero .level-title {
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 34px;
|
|
font-weight: 700;
|
|
color: var(--burgundy);
|
|
margin-bottom: 4px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.level-hero .level-desc {
|
|
font-size: 16px;
|
|
color: var(--ink-light);
|
|
margin-bottom: 20px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.level-hero .level-xp-total {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: var(--ink);
|
|
font-family: 'Cinzel', serif;
|
|
}
|
|
|
|
.level-bar {
|
|
height: 12px;
|
|
background: var(--parchment-dark);
|
|
overflow: hidden;
|
|
max-width: 400px;
|
|
margin: 12px auto 0;
|
|
}
|
|
|
|
.level-bar-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--gold), var(--gold-dark));
|
|
transition: width 0.6s ease;
|
|
width: 0%;
|
|
}
|
|
|
|
.stat-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 16px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--cream);
|
|
border: 1px solid var(--parchment-dark);
|
|
padding: 24px;
|
|
text-align: center;
|
|
box-shadow: var(--shadow);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.stat-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: var(--shadow-hover);
|
|
border-color: var(--gold);
|
|
}
|
|
|
|
.stat-card .stat-icon {
|
|
font-size: 28px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.stat-card .stat-value {
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: var(--burgundy);
|
|
}
|
|
|
|
.stat-card .stat-label {
|
|
font-size: 13px;
|
|
color: var(--ink-light);
|
|
margin-top: 4px;
|
|
font-family: 'Cinzel', serif;
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.activity-list {
|
|
background: var(--cream);
|
|
border: 1px solid var(--parchment-dark);
|
|
padding: 28px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.activity-list h3 {
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--burgundy);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.activity-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--parchment-dark);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.activity-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.activity-item .act-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
background: var(--gold);
|
|
color: var(--night);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.activity-item .act-text {
|
|
flex: 1;
|
|
color: var(--ink-light);
|
|
}
|
|
|
|
.activity-item .act-xp {
|
|
font-weight: 700;
|
|
color: var(--emerald);
|
|
font-size: 14px;
|
|
font-family: 'Cinzel', serif;
|
|
}
|
|
|
|
.level-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: rgba(201, 168, 76, 0.15);
|
|
border: 1px solid var(--gold-dark);
|
|
padding: 6px 16px 6px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.level-badge .level-label {
|
|
font-weight: 700;
|
|
color: var(--gold);
|
|
font-family: 'Cinzel', serif;
|
|
}
|
|
|
|
.level-badge .level-xp {
|
|
color: var(--parchment-dark);
|
|
}
|
|
|
|
/* ===== ANIMATIONS ===== */
|
|
@keyframes fadeInUp {
|
|
from { opacity: 0; transform: translateY(20px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-8px); }
|
|
}
|
|
|
|
.card, .step, .grammar-card, .exercise, .reading-text, .test-question {
|
|
animation: fadeInUp 0.5s ease both;
|
|
}
|
|
|
|
.card:nth-child(1) { animation-delay: 0.05s; }
|
|
.card:nth-child(2) { animation-delay: 0.1s; }
|
|
.card:nth-child(3) { animation-delay: 0.15s; }
|
|
.card:nth-child(4) { animation-delay: 0.2s; }
|
|
.card:nth-child(5) { animation-delay: 0.25s; }
|
|
|
|
/* ===== MOBILE ===== */
|
|
@media (max-width: 768px) {
|
|
.lang-switcher {
|
|
display: flex;
|
|
gap: 2px;
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.lang-btn {
|
|
background: none;
|
|
border: 1px solid var(--gold-dark);
|
|
color: var(--parchment-dark);
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
padding: 4px 8px;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.lang-btn:hover {
|
|
color: var(--gold);
|
|
background: rgba(201, 168, 76, 0.1);
|
|
}
|
|
|
|
.lang-btn.active {
|
|
background: var(--gold);
|
|
color: var(--night);
|
|
border-color: var(--gold);
|
|
}
|
|
|
|
.menu-toggle {
|
|
display: block;
|
|
}
|
|
|
|
.nav-list {
|
|
display: none;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--night-light);
|
|
border-bottom: 2px solid var(--gold-dark);
|
|
padding: 8px;
|
|
gap: 2px;
|
|
box-shadow: 0 8px 20px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.nav-list.open {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-list a {
|
|
padding: 12px 16px;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.hero {
|
|
padding: 60px 20px;
|
|
}
|
|
|
|
.section {
|
|
padding: 48px 20px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.page-header h1 {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.page-header {
|
|
padding: 44px 20px;
|
|
}
|
|
|
|
.cards-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.grammar-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.houses-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.vocab-table {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.vocab-table th,
|
|
.vocab-table td {
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.contact-form {
|
|
padding: 24px;
|
|
}
|
|
|
|
.fill-input {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.header-inner {
|
|
padding: 10px 16px;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.hero {
|
|
padding: 48px 16px;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.hero-buttons {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.card {
|
|
padding: 24px;
|
|
}
|
|
}
|