* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(192, 192, 192, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 206, 209, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(2, 182, 92, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 40px;
    background: rgba(20, 20, 20, 0.85);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(192, 192, 192, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(192, 192, 192, 0.15);
}

h1 {
    font-size: 2.8em;
    color: #E8E8E8;
    background: linear-gradient(135deg, #E8E8E8 0%, #FFFFFF 50%, #00ced1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
    font-weight: 700;
}

.subtitle {
    color: #E8E8E8;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
}

.countdown {
    font-size: 1.1em;
    color: #02b65c;
    font-weight: bold;
    margin-top: 10px;
}

.athkar-box {
    background: rgba(20, 20, 20, 0.85);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 206, 209, 0.45);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 206, 209, 0.25);
    text-align: center;
    transition: all 0.4s ease;
}

.athkar-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 206, 209, 0.4), 0 0 50px rgba(192, 192, 192, 0.3);
}

.athkar-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.athkar-text {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 2;
    font-weight: 700;
}

.athkar-translation {
    font-size: 1em;
    color: #00ced1;
    font-style: italic;
    margin-bottom: 15px;
}

.athkar-button {
    margin-top: 15px;
    padding: 10px 25px;
    background: rgba(192, 192, 192, 0.2);
    border: 1px solid rgba(192, 192, 192, 0.4);
    border-radius: 30px;
    color: #E8E8E8;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1em;
    font-weight: 600;
}

.athkar-button:hover {
    background: rgba(192, 192, 192, 0.25);
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.4);
}

.motivation-banner {
    background: rgba(20, 20, 20, 0.85);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 206, 209, 0.45);
    overflow: hidden;
}

.motivation-text {
    font-size: 1.3em;
    color: #E8E8E8;
    text-align: center;
    font-weight: 700;
    animation: slideText 25s linear infinite;
    white-space: nowrap;
}

@keyframes slideText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(20, 20, 20, 0.85);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(192, 192, 192, 0.35);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.3), 0 0 40px rgba(0, 206, 209, 0.2);
}

.stat-number {
    font-size: 3em;
    font-weight: 800;
    color: #E8E8E8;
    background: linear-gradient(135deg, #E8E8E8 0%, #00ced1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    color: #02b65c;
    font-size: 1em;
}

.progress-section {
    background: rgba(20, 20, 20, 0.85);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(192, 192, 192, 0.35);
}

.section-title {
    font-size: 2em;
    color: #FFFFFF;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(192, 192, 192, 0.15);
    border-radius: 15px;
    border-right: 5px solid #02b65c;
    font-weight: 700;
}

.progress-item {
    margin-bottom: 25px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.subject-name {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
}

.progress-percentage {
    color: #00ced1;
    font-weight: bold;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #02b65c 0%, #00ced1 100%);
    border-radius: 15px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(2, 182, 92, 0.5);
}

.calendar-section {
    background: rgba(20, 20, 20, 0.85);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(192, 192, 192, 0.35);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.add-event-btn {
    background: linear-gradient(135deg, #02b65c 0%, #00ced1 100%);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s;
}

.add-event-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(2, 182, 92, 0.6), 0 0 30px rgba(0, 206, 209, 0.4);
}

.events-list {
    margin-top: 20px;
}

.event-item {
    background: rgba(20, 20, 20, 0.85);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    border-right: 5px solid #02b65c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.event-item:hover {
    background: rgba(30, 30, 30, 0.4);
    transform: translateX(-8px);
    box-shadow: 0 0 20px rgba(0, 206, 209, 0.3);
}

.event-date {
    color: #02b65c;
    font-weight: bold;
}

.event-title {
    color: #ffffff;
    font-size: 1.1em;
    margin-top: 5px;
}

.delete-event {
    background: rgba(255, 107, 107, 0.2);
    border: none;
    color: #ff6b6b;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.delete-event:hover {
    background: rgba(255, 107, 107, 0.4);
}

.week-section {
    margin-bottom: 40px;
}

.week-header {
    background: rgba(20, 20, 20, 0.85);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    backdrop-filter: blur(15px) saturate(180%);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(192, 192, 192, 0.35);
    cursor: pointer;
    transition: all 0.3s;
}

.week-header:hover {
    background: rgba(30, 30, 30, 0.4);
    transform: translateX(-5px);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
}

.week-title {
    font-size: 1.6em;
    color: #E8E8E8;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-weight: 700;
}

.week-summary {
    color: #02b65c;
    font-size: 1em;
    margin-top: 10px;
}

.week-content {
    display: none;
    padding: 20px;
    background: rgba(29, 209, 161, 0.02);
    border-radius: 15px;
    margin-top: 15px;
}

.week-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.day-card {
    background: rgba(20, 20, 20, 0.85);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    backdrop-filter: blur(10px) saturate(180%);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    border-right: 4px solid #C0C0C0;
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.day-name {
    font-size: 1.3em;
    color: #00ced1;
    font-weight: bold;
    margin-bottom: 15px;
}

.study-session {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    padding: 15px;
    background: rgba(20, 20, 20, 0.85);
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.study-session:hover {
    background: rgba(30, 30, 30, 0.4);
    transform: translateX(-5px);
    box-shadow: 0 0 15px rgba(0, 206, 209, 0.3);
}

.session-icon {
    font-size: 1.8em;
    min-width: 40px;
}

.session-details {
    flex: 1;
}

.session-subject {
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.05em;
}

.session-topic {
    color: #D8D8D8;
    font-size: 0.95em;
}

.session-duration {
    background: rgba(2, 182, 92, 0.3);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    white-space: nowrap;
    font-weight: 600;
    border: 1px solid rgba(2, 182, 92, 0.5);
}

.session-checkbox {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #02b65c;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    backdrop-filter: blur(25px) saturate(180%);
    padding: 40px;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(192, 192, 192, 0.4);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 206, 209, 0.2);
}

.modal-header {
    font-size: 1.8em;
    color: #E8E8E8;
    margin-bottom: 25px;
    font-weight: 700;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #02b65c;
    margin-bottom: 10px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1em;
}

.input-group input:focus {
    outline: none;
    border-color: #C0C0C0;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.4);
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.modal-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-save {
    background: linear-gradient(135deg, #02b65c 0%, #00ced1 100%);
    color: #ffffff;
}

.btn-cancel {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.modal-btn:hover {
    transform: translateY(-2px);
}

.alert-box {
    background: rgba(192, 192, 192, 0.08);
    backdrop-filter: blur(15px) saturate(180%);
    border: 2px solid rgba(192, 192, 192, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.1);
}

.alert-title {
    color: #02b65c;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
}

.alert-content {
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.05em;
}

footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    color: #C0C0C0;
    background: rgba(30, 30, 30, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-description {
    font-size: 1.1em;
    color: #F5F5F5;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 500;
}

.designer-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(192, 192, 192, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(192, 192, 192, 0.15);
}

.designer-title {
    font-size: 1.3em;
    color: #00ced1;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 206, 209, 0.3);
}

.designer-name {
    font-size: 1.8em;
    color: #C0C0C0;
    background: linear-gradient(135deg, #C0C0C0 0%, #00ced1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    display: block;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: #C0C0C0;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    backdrop-filter: blur(10px) saturate(180%);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 206, 209, 0.3), 0 0 20px rgba(192, 192, 192, 0.2);
    border-color: rgba(0, 206, 209, 0.5);
}

.social-link i {
    font-size: 1.3em;
    transition: all 0.3s ease;
}

.social-link:hover i {
    transform: rotate(15deg) scale(1.2);
}

.instagram-personal:hover,
.instagram-personal:hover i {
    color: #E1306C;
    text-shadow: 0 0 15px rgba(225, 48, 108, 0.5);
}

.instagram-btec:hover,
.instagram-btec:hover i {
    color: #E1306C;
    text-shadow: 0 0 15px rgba(225, 48, 108, 0.5);
}

.snapchat:hover,
.snapchat:hover i {
    color: #FFFC00;
    text-shadow: 0 0 15px rgba(255, 252, 0, 0.5);
}

.website:hover,
.website:hover i {
    color: #02b65c;
    text-shadow: 0 0 15px rgba(2, 182, 92, 0.5);
}

.footer-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.5), transparent);
    margin: 25px auto;
}

.footer-bottom {
    font-size: 0.95em;
    color: #C0C0C0;
    margin-top: 20px;
    line-height: 1.6;
}

.footer-bottom p {
    margin: 8px 0;
}

.heart-icon {
    color: #E1306C;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.3); }
    40% { transform: scale(1); }
}

@media (max-width: 768px) {
    h1 { font-size: 2em; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .study-session { flex-direction: column; align-items: flex-start; }
}

.toggle-icon {
    transition: transform 0.3s;
}

.toggle-icon.active {
    transform: rotate(180deg);
}